From patchwork Mon Aug 3 14:20:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 11698211 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 331B514DD for ; Mon, 3 Aug 2020 14:22:52 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0AF29206D4 for ; Mon, 3 Aug 2020 14:22:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ZgZUGD8d"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Ygz3a3qn" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0AF29206D4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=uFpGDnQy/U7gABVekjaHFd/lcMUCwiILwhKcm79WUp4=; b=ZgZUGD8drXYnH1ruWOjEicohVw 5vEq5M9P7ho6UEUQsar26M+SmU5Kz650atsiQNSNXa3fAnWYoUVkP92oUr6mOht7ycEi0JmZ2Nhi6 YTuaChigtM98H9yJNgwVWMsr60HAtQt0WIZAEvcgAWQFQW2uEMHdBDtcqNuoQ6DxILuw7BRsR/Ots 5ivUMXqFGFMKZR/SnIQR5Y2VhRVVqwcbWAjjKwaMfTuglAZwRKI6qyZAuHZ51XRz+9JRSm/CxGlaG p/T94txTizOTrfWhriF/hwsL5SOO5+uwzQ4MiJ0rWVUABXJCvJcoSX2fbSxN9PP8QRNCSVpP3De/w JSs8/m+g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2bKr-0000uc-BE; Mon, 03 Aug 2020 14:21:05 +0000 Received: from mail-ej1-x644.google.com ([2a00:1450:4864:20::644]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2bKo-0000sw-AW; Mon, 03 Aug 2020 14:21:03 +0000 Received: by mail-ej1-x644.google.com with SMTP id d6so24963910ejr.5; Mon, 03 Aug 2020 07:21:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=l4JGanD/pW6UD3jQR56CF7ASLdVGtCCuUbSXWF5HYQw=; b=Ygz3a3qnAKkYch2/zr6cBwVXYilIRFfVorb1udYyl7PL/X4xF/xeiui2wdLIVv8s5q 1DkNQWmFH1BKAyOdoZzVC2389PVP4BS9W2fwDH+E5NXzYkS+Y5zoe6UT6UGqQAZHmt2Z zvipM6bawgFRe9vn4KCtj3YbGcR2MIqyX4JJWyQE0s8YmXZA5kJa8VBdFPR3SSUXXhuq vEeMSJYB92m7NsKh2M5vmc8hYCB7qATy3DeezL6G123YIIjYSETixU1StrKofGmuHnKg CjgexocKUy206wyl7i+vh11OLSEw5YNZubAEP+lC7o/9+RsC2V6ox0vkBTOj7rWLxsd+ cxtw== 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:mime-version :content-transfer-encoding; bh=l4JGanD/pW6UD3jQR56CF7ASLdVGtCCuUbSXWF5HYQw=; b=t0u5VoYOvxGfmUqcK8BSm41zcxO4PrxqfYWQPI+nw/4AxesBlzdy+d5jy3g6BgERmJ 1oX/AJ8JP12z/OLbMQbJJn6KTjVTVA62PHgftWcjW3pOUUGN/8U222yTaarmwaJU22tl CqSosQto8YHwUeLV18eC4bSEgI1i1NlygJbH2XBt9ejaB4KAx/P8V7iXYPVPwHu5/J0W /FnTe/0uZJw4Dkb+jHAYCQo/qDUPwsBsQy8wIZh8dmvfr1AuDadHfKVEfzZem/j/ablM 0OmEVTbjf+LIELs5uiYq2vzpJfv3KJcxRbo8Md/jR1LOkYYgpOYN9htVp5dJAIYKOLnc WLhw== X-Gm-Message-State: AOAM5331gpA0yz4o7qUkSeQPPLJ5RF4GP5bQ5/iEwNiJmWOGs6LfERGf hNrHT5dv9CrAxsB/uRsCpPs= X-Google-Smtp-Source: ABdhPJzI0nkGIfncrdAXqQp6WyKC3qlSJLVSoeH6iy2jkHamZLNShm17dVZ1nl2jvuGpmWwxeuEsQw== X-Received: by 2002:a17:906:1392:: with SMTP id f18mr16394990ejc.521.1596464459760; Mon, 03 Aug 2020 07:20:59 -0700 (PDT) Received: from localhost.localdomain ([86.121.43.21]) by smtp.gmail.com with ESMTPSA id p3sm15608432edx.75.2020.08.03.07.20.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Aug 2020 07:20:58 -0700 (PDT) From: Cristian Ciocaltea To: =?utf-8?q?Andreas_F=C3=A4rber?= , Manivannan Sadhasivam , Linus Walleij , Rob Herring Subject: [PATCH v2 0/3] Add Actions Semi S500 pinctrl support Date: Mon, 3 Aug 2020 17:20:53 +0300 Message-Id: X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200803_102102_409627_2AC16457 X-CRM114-Status: GOOD ( 14.53 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:644 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [cristian.ciocaltea[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-gpio@vger.kernel.org, linux-actions@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This patchset adds pinctrl support for Actions Semi S500 SoC. Pinmux functions are only accessible for pin groups while pinconf parameters are available for both pin groups and individual pins. The pinctrl driver has been verified using RoseapplePi, the SBC for which an initial support has been provided via: https://lore.kernel.org/lkml/cover.1592123160.git.cristian.ciocaltea@gmail.com/ The DTS related changes, including the required clock support, will be available in the upcoming patch series. Thanks, Cristi Changes in v2: - Updated the pinctrl bindings according to Rob's feedback - Set the pinctrl entry in MAINTAINERS according to Mani's suggestion - Rebased patches on v5.8 Cristian Ciocaltea (3): dt-bindings: pinctrl: Add bindings for Actions S500 SoC pinctrl: actions: Add Actions S500 pinctrl driver MAINTAINERS: Set pinctrl binding entry for all Actions Semi Owl SoCs .../pinctrl/actions,s500-pinctrl.yaml | 240 +++ MAINTAINERS | 2 +- drivers/pinctrl/actions/Kconfig | 6 + drivers/pinctrl/actions/Makefile | 1 + drivers/pinctrl/actions/pinctrl-s500.c | 1727 +++++++++++++++++ 5 files changed, 1975 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml create mode 100644 drivers/pinctrl/actions/pinctrl-s500.c