From patchwork Tue Apr 28 08:11:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rayagonda Kokatanur X-Patchwork-Id: 1278341 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=broadcom.com header.i=@broadcom.com header.a=rsa-sha256 header.s=google header.b=OxU3OqsM; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49BDrW4dfpz9sSb for ; Tue, 28 Apr 2020 18:11:48 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A9F1C81F15; Tue, 28 Apr 2020 10:11:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=broadcom.com header.i=@broadcom.com header.b="OxU3OqsM"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2898181F18; Tue, 28 Apr 2020 10:11:37 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0FA5B81EE8 for ; Tue, 28 Apr 2020 10:11:32 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rayagonda.kokatanur@broadcom.com Received: by mail-pj1-x102c.google.com with SMTP id hi11so797967pjb.3 for ; Tue, 28 Apr 2020 01:11:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=oqKS/TwkUHDVa25tgPtfp58KHdzO1qmG6gzSQ38pELs=; b=OxU3OqsMfvEOuNkGH5Wmb54Nt8xY1QZ3o95Ask6IEsBNFWq6GoN4dMm+mvZOnui/K6 q+BwciDbAjDJEZZAtkyAgzIM5Dcy20p7/S7mvyrfblp1X4aiNi+XlnKHk96Ixb7nJSq8 lcebrpJWF9SYmSDvbj8aabPqbABu8CkkSkfZE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=oqKS/TwkUHDVa25tgPtfp58KHdzO1qmG6gzSQ38pELs=; b=qSjdlht+vgAAMmYhehgOOEME3FEUbZTxnfZfJEL0O87++99CWUUsOtQiJagE0pUoiK c/UEmFzgTrDvjdogxaR04u/tJhry4fHP2kBuLtd3dnc5a54uBDxr39wOqF/vgDY9GAcX Xo73ohVn2cCdlA9oyfXqKM/v3rMCsdQHvWH/KecLQL1ZjlQxyHVIdj6B5TaLvMgWpZQa 3H3zSRoaandoq8+mt4I5PPFiM2nIblFPeWDQ8IZ8LmiSz6ER7C7LtOcrzlZl1oWtqSZz lXI6TXfcEFvryMkS3N43jEPiue0+HFBnkcnOYnvFWK/sYsA4wbkLWUUtYBd+uO9s0UeG fK8Q== X-Gm-Message-State: AGi0PuaQAHKBbanKyUulk7GYGj47aMajtfipZ5JWncJBvK8+RW9JdL1G mybeKdNjx+N6iapYlrg6JIbeBLfq9ov1b1mH0tTtZycIlkJTuZosLVjQCakSWA2lUiDGf2UojMo kWePudxzf7zc75WlhGHaoUY7T7YXNz5YKuxyximO8AlMTRf1W8oaq26bz2Ldamjzj0xPiAh4KAU e00Vr3dA== X-Google-Smtp-Source: APiQypKU40no1u9RnqQAvHymgCE71dmc181kXxwoyOMb6Z0WkEA7iKrKAIiLRnufBKDXAYmOkeT0rA== X-Received: by 2002:a17:902:b7cc:: with SMTP id v12mr27998307plz.39.1588061484901; Tue, 28 Apr 2020 01:11:24 -0700 (PDT) Received: from rayagonda.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id y186sm14168380pfy.66.2020.04.28.01.11.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Apr 2020 01:11:23 -0700 (PDT) From: Rayagonda Kokatanur To: u-boot@lists.denx.de Cc: Sheetal Tigadoli , Simon Glass , hs@denx.de, Rayagonda Kokatanur Subject: [PATCH v1 0/2] add brcm iproc gpio driver Date: Tue, 28 Apr 2020 13:41:11 +0530 Message-Id: <20200428081113.3948-1-rayagonda.kokatanur@broadcom.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean Add support for broadcom iproc gpio driver. Rayagonda Kokatanur (2): drivers: gpio: add broadcom iproc gpio driver support gpio: do not include on TARGET_BCMNS3 arch/arm/include/asm/gpio.h | 2 +- drivers/gpio/Kconfig | 10 ++ drivers/gpio/Makefile | 1 + drivers/gpio/iproc_gpio.c | 260 ++++++++++++++++++++++++++++++++++++ 4 files changed, 272 insertions(+), 1 deletion(-) create mode 100644 drivers/gpio/iproc_gpio.c