Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp67194imi; Thu, 21 Jul 2022 16:07:45 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t1XZN7cBMbBky1bMqSyqsZFT+eNh5e9GZedpndtzOyFHgvi1WLf9JNAQNQgdfLkDP4M/cv X-Received: by 2002:a17:906:cc48:b0:72a:ff94:d5df with SMTP id mm8-20020a170906cc4800b0072aff94d5dfmr693921ejb.693.1658444865156; Thu, 21 Jul 2022 16:07:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658444865; cv=none; d=google.com; s=arc-20160816; b=l1sQSBRcuSKQV6pQAyYzHq1+9yVWCfo9lfwLzTLSelA0DSz7V2MZwQrzWrx18bBV3h ar3Mf5+qSkLUHEjmJ6fsqQMAhsGYbtyY1LqnLnkZ8NLXOkfC4HYvWaew2uKRs45r4sdO KuJt8shwBQkC0o4YtpxSFFmEvuecJs+eq+oehF74hva751SlL3oj78Qfek5Fq3jgW6cm dh26TJc7arDHWSq17K8AMFOXYKaaHSFvvx8BCdSus5WgCv40k+dN7SQNdKEAFENPS2Ii Q8tthD3qdIEx4/QouiCZfdTw/QrhYOAMKi0tXqtWXsHz53adEv4g+lSISy6I9m4gtPzC wEIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=vqVpR7xxMTAaFTS3I79ex2ZZ87sBYfejjyEKh4Yfib8=; b=Y8/GM7wWcfEa6HtoJdBefSP467BMDLhQtfmSduh3FrX1Yb39jaGCEFdxIBW7tyjn/f PoC0DLKwDnzt2pb2MzxgpYzLTvhpTRZRgStEAjv27la9P+s/2cGJJuxvgwIHGOgUyTnz UX62hA18UjfHu8sKwp1gQKHGvWwIqsk3OHbFim4QkrSaB3/OVExeBPsXhIvukWqumgC2 dVSrocHioSqumdNofHgfKhwadXzW+GDb9nwl8kK11BrGIFIVJDQa0WeLQUWAMpygecTS VAl3ZpBxC0S29TVYvC1PCaLlXzCM8tnAlrJLn0RQEMIbf+Ipx8DQuh94gtnQWtOch8sb 9q0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=byADmjpF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w17-20020a056402269100b0043bb81ea567si4719418edd.558.2022.07.21.16.07.19; Thu, 21 Jul 2022 16:07:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=byADmjpF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229778AbiGUXFr (ORCPT + 99 others); Thu, 21 Jul 2022 19:05:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232767AbiGUXFm (ORCPT ); Thu, 21 Jul 2022 19:05:42 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B3328C5BA; Thu, 21 Jul 2022 16:05:39 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id bf9so5018043lfb.13; Thu, 21 Jul 2022 16:05:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vqVpR7xxMTAaFTS3I79ex2ZZ87sBYfejjyEKh4Yfib8=; b=byADmjpFMjHxSR8c2u5vLmQPuHEg0iQBrQRss5YnVVw5UVsoackaMZVulER39E7/P8 w/2Nqo1LbPg0+C4wamNg/I8Q13hP1mpS9iIDRppfUhMpoL5hPCdrPt5pgHAwrblI2lq9 beMAmhI3fNzI6xNr/yZhhlRS0Rpo/3BgBg8F93pbzCLeHIIO08sbtcFhinpPqsoRn/m8 AuRNY+frKFjtsCS7Ib7JsNaD2mDVT3q+/dmJW8dQzMjZUAuGQGoSZ9I0FfWBcHpoGabv cQtUy5wU069PVg+eSGEK8x6JbYMcangrcirmt2GTxcKgX247rNto4GvzzhP6zWSdWwrF d3Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vqVpR7xxMTAaFTS3I79ex2ZZ87sBYfejjyEKh4Yfib8=; b=Fbylndw8eIfIy0jlh+bsvNRHcT4MY8om4KtHCPlk+eCv3JHIhhWPKFwtStBZ180L/e 7tJaYXCVzDYXxFYvCbQzC61Gb03mLA+zKDij+W9Dey9zAK5oou2kymESwaonMVFb/Fno eQuZtZUBmjtqdSrYnGqbmajg2Y33DOksddd/4HCO4Se677w80+l/hQiqonAe2FIgmBjB o3TcUqMiAF5DmgCVTE3gqITLd2SP5Bos3FlF+OhC+Z7/dqyadNduinB2is/KEcVlZLzS Ks6J4EY5UMuamJFVKCTFtA6Gz7xtlZtZFKalv6OugSMpTa56Kq1jG7VseyJQBfolaATy 9ebA== X-Gm-Message-State: AJIora9a/yAq+sDyUCJXhm09zbZQ7k88o2YK6apeiqaqePxhd+4pkQ30 NRUGJrwRvWXJndIKK7Cumy5qYkd57H/RSmEfMaI= X-Received: by 2002:ac2:420b:0:b0:489:eac1:5d7f with SMTP id y11-20020ac2420b000000b00489eac15d7fmr244104lfh.355.1658444737719; Thu, 21 Jul 2022 16:05:37 -0700 (PDT) Received: from i-vetokaappi.home.lan (dsl-hkibng42-5673c7-93.dhcp.inet.fi. [86.115.199.93]) by smtp.gmail.com with ESMTPSA id g31-20020a0565123b9f00b0047fb0d5e049sm701360lfv.273.2022.07.21.16.05.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jul 2022 16:05:37 -0700 (PDT) From: =?UTF-8?q?Matti=20Lehtim=C3=A4ki?= To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, =?UTF-8?q?Matti=20Lehtim=C3=A4ki?= , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/3] ARM: dts: qcom: pm8226: Add node for the GPIOs Date: Fri, 22 Jul 2022 02:02:28 +0300 Message-Id: <20220721230231.98886-2-matti.lehtimaki@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220721230231.98886-1-matti.lehtimaki@gmail.com> References: <20220721230231.98886-1-matti.lehtimaki@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The PM8226 provides 8 GPIOs. Add a node to support them. Signed-off-by: Matti Lehtimäki --- Changes in v2: - Rename pm8226 gpio node --- arch/arm/boot/dts/qcom-pm8226.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/qcom-pm8226.dtsi b/arch/arm/boot/dts/qcom-pm8226.dtsi index 9b7d9d04ded6..0c10fa16a0f3 100644 --- a/arch/arm/boot/dts/qcom-pm8226.dtsi +++ b/arch/arm/boot/dts/qcom-pm8226.dtsi @@ -90,6 +90,16 @@ pm8226_mpps: mpps@a000 { interrupt-controller; #interrupt-cells = <2>; }; + + pm8226_gpios: gpio@c000 { + compatible = "qcom,pm8226-gpio", "qcom,spmi-gpio"; + reg = <0xc000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pm8226_gpios 0 0 8>; + interrupt-controller; + #interrupt-cells = <2>; + }; }; pm8226_1: pm8226@1 { -- 2.34.1