From patchwork Thu May 20 17:13:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Kettenis X-Patchwork-Id: 12271047 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 677B7C433ED for ; Thu, 20 May 2021 17:15:31 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 23A306101E for ; Thu, 20 May 2021 17:15:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 23A306101E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xs4all.nl Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc: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=DSbZcb0gJY/LdvBWIW9pOF4K00roP02Vh5wC74yaVQs=; b=TFnU6BRrIfpDKq8u5/rJ3fDIAd /afw0rbZFw24hqJZJTDR6rirbovgRIzlWRe4mrnx3U0JaJtAKD1emIY9gh35UpkztkhH6/u44MpVb Q1bdNB9trcBcyzUzWLJ6TG/XwLT2yXiUsm11lljXtXkm5x9acLjouIqZBFyl+thV8ccOLIx7T8XHF Q7klzLg30t3ROUm2gDhJNBI7vpHJepELGw4050PtfjHTGh1S+63+ZChnt3JQwGD/OwvCC6KCpzLWx luydtVW8kfLUaY9MmI2KNzOha9TikC/YPJ4QDo3JT3M8k52XuyczkZjccAje39lEzCSOZPnNqbaGG 0bjYZpDA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljmEl-00242c-PY; Thu, 20 May 2021 17:13:31 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljmEk-00242U-13 for linux-arm-kernel@desiato.infradead.org; Thu, 20 May 2021 17:13:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=WjpDZrKkDBV5L77ReKKWoyRdT7dzQ2/hsXfXJDi4a+Y=; b=QZf49a7xxsUP5kU9AOUcxYinPG QO9z9sMDg5NwaHLLRh3VwzqZGEIib5Qs/06M8B9EiTwKzoH3/FG1rwY/RfIvjC9zGYtinECddFk41 3umRJapjiQFB0CWAY4yk5wZLf61JYIBROZgHUeR9dMjrF9hfQoRgdnKnJuhrUwqpRGNcn7EHFDGV7 pCtR6y3DvjCCfgDeCMfmkRrs082xDFGoHL0tfvlaXgHpTXT9AAAn07j46znGXsGS6UsEhUD2YEZot tLJVCoJx9Rf89zeEcQZ3whab0ryb6CJPhSSb+IMIh40prWsbMOPsa6vh8k+HPk1k5grJai5SeLixB b4LEFHXQ==; Received: from lb2-smtp-cloud9.xs4all.net ([194.109.24.26]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljmEh-00GXG7-7d for linux-arm-kernel@lists.infradead.org; Thu, 20 May 2021 17:13:28 +0000 Received: from copland.sibelius.xs4all.nl ([83.163.83.176]) by smtp-cloud9.xs4all.net with ESMTP id jmEWllugRVN4kjmEXlB7at; Thu, 20 May 2021 19:13:21 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=s2; t=1621530801; bh=WjpDZrKkDBV5L77ReKKWoyRdT7dzQ2/hsXfXJDi4a+Y=; h=From:To:Subject:Date:Message-Id:MIME-Version:From:Subject; b=KbjgNmR1BoCNt84sppLQ0Cz3hsLlboSUOafsMhjA5rqu70Ld9xJsHk1qF7dmI3rRn FsOmH7Jdey8zMajAHTUfhLz99HwWQ4+R/P/rfzVO3aYs7NUUaFlpvd+iRvHSt3QJEV MwmracWwONDSdqDnJLo/eBA/a1oX+arjhie5PSxIhnS5tErVKmxUvdL9Fg6fDGPCKN siIU32UcpRJDprCl5KZcJnRcnFYhJAFW4VR9pHAzBxkOEoDcoEipnHi6+gKEdtKKxx 3VmmvzkqcuflL0Ih5Kzxz8O4Lxm3jJkIRj8xg1kUO6/tu51dDsf8mMg2KzMi4zhoCf kfZj0aucq4dMQ== From: Mark Kettenis To: devicetree@vger.kernel.org Cc: Mark Kettenis , Hector Martin , Linus Walleij , Rob Herring , linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/2] Apple M1 pinctrl DT bindings Date: Thu, 20 May 2021 19:13:05 +0200 Message-Id: <20210520171310.772-1-mark.kettenis@xs4all.nl> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CMAE-Envelope: MS4xfCqXz/k0b8/lGMVGcgYoRJLw0qtn4re3p3yr+MmSkj2BDUTt5nltCu2PEVnwxd2a6H7DbPpBRIpWYqaNK9C/6djCrwDheppzbOy6Hx0Beq439qg5YOnr IFVnt1tVcquGCbusf2njdUpkLYnJkw7YTcVYro99i+JuPg6qYE5UxZejmI4yCXrQx0bn7AY3yJ7Aoc/jAY/nlylimUwRHt2jT41afY+iw8IP9FLQA2ER6Rbh EvQM91mLLwNdHRzyqKbfj5UbtMPjiNDdiE/Gwjb/KP8sKkOIHCJmRKNHWGnVoNAuGUTyBSfowD1jYwyIRsxAV0X7v8ZLg2ell40OxFlGFAh3HvblRCQ9wLPP eB25tkRKmNMF3EMvDKk6+7YJAKE0p36xn8CJdZebY8WYnHdImP3SCwWEylZwbVOAJpB7MkV8LbbhQWKqFrrVcvngUwDYrt9Uy+B6P/QwNWui4KQsrOqs6WyD tfaLW17PgWu/QYes X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210520_101327_435691_5737FE15 X-CRM114-Status: GOOD ( 11.99 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Mark Kettenis This small series adds bindings for the pin and GPIO controller found on the Apple M1 SoC. At this point, the primary consumer for these bindings is U-Boot. With the help of these bindings U-Boot can bring up the PCIe root complex into a state where the OS use it without having to deal with the GPIO pins. A Linux driver may be implemented later to support power management and/or other devices that need GPIO control. Since the binding is based on standard pinmux node bindings this should be relatively easy. Changelog: v2: - Fix typo in DT schema v3: - Add description for interrupts property Mark Kettenis (2): dt-bindings: pinctrl: Add DT bindings for apple,pinctrl arm64: apple: Add pinctrl nodes .../bindings/pinctrl/apple,pinctrl.yaml | 106 ++++++++++++++++++ MAINTAINERS | 2 + arch/arm64/boot/dts/apple/t8103.dtsi | 83 ++++++++++++++ include/dt-bindings/pinctrl/apple.h | 13 +++ 4 files changed, 204 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml create mode 100644 include/dt-bindings/pinctrl/apple.h