From patchwork Mon Oct 2 07:00:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 13405587 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A1F4E784A5 for ; Mon, 2 Oct 2023 07:00:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235629AbjJBHAZ (ORCPT ); Mon, 2 Oct 2023 03:00:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235617AbjJBHAX (ORCPT ); Mon, 2 Oct 2023 03:00:23 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1552E0 for ; Mon, 2 Oct 2023 00:00:19 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-9ada2e6e75fso2328460866b.2 for ; Mon, 02 Oct 2023 00:00:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1696230018; x=1696834818; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=ktFRr1CyTGjJizjBCavkn96vmdNuVPfuYSai3Lj20Ho=; b=A8rTHl0bHs+fQRldcQ2EKRUpzMdadYZwDJJBbKmb1acAmtTL6s56RkTMynTuXRjW4q NJzre3dW/lyhnPmR4x6oLoyjwNfY5r24iNX6vRsR1HGq5CdO6tFJn0Am5JeVFC05ycfK iTvNuAUT1XyuVIqEhu3q5lfj1JW649Wn4Ld+EIXSc2t28q3oJ2ghc6YtcvuvrhttxkRd 8k4X7MY/JMI+kqeD4xO1gd/kjglvyde4Wc2VWeD+t+FuKtXJc/1kIkcQUfOAZNgg+LZB 3N3ri1Qugg8Bm7GiOoEU0l3reA2QcuTWv7h3sf5JduTReMpMgWIcvcumlYo6pppCQ+HC wKTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696230018; x=1696834818; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ktFRr1CyTGjJizjBCavkn96vmdNuVPfuYSai3Lj20Ho=; b=VcjmsJzk9CTn5078be6IMOC5/q3NU4gK6wz5oxCAEjgu9Nw9A1vEZcpxr4Kklq43z1 zBMD+Pcf36nrDj9jxnn2XwKlalWpOwwMnxcH2rRyPIkuXDY48dxk1iOhciXyttyk66Rg wLLpupxrvRaCF6rUP1b1XAcr/1SlVGnDUaPLzQCcbYlT3B4c/9YQw4eOTTCuptwrzGEF zBUngz4WRUVNOIMi0iXX5Ytp1alWgyg3wHUNv6A2GG2HUTg/D4SOgfD7AMgbReJBw5L5 f36bfjItpmFzNLbkaMfwV1K8QF9ierdU9uhU48Cym2b6+G6hQxsJP83bDySumUHTUa9F WpUw== X-Gm-Message-State: AOJu0YxOnZPAPNQwmErUtJ5eRSXHkUUNE/sKSPJ3jK/iB/Wr8Ap5Lg2x D5FGC6Z7PbvMcEAov6paEUYWdg== X-Google-Smtp-Source: AGHT+IEJS20GX9/Mz9Z0qBVhL4ZNvgD0cSbmWS3xm8ggW22h2lQIbSpD0NnWIB2Ep/fOKv1woD89+g== X-Received: by 2002:a17:906:cc15:b0:9b6:53a9:792c with SMTP id ml21-20020a170906cc1500b009b653a9792cmr238046ejb.15.1696230018260; Mon, 02 Oct 2023 00:00:18 -0700 (PDT) Received: from otso.luca.vpn.lucaweiss.eu (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id z10-20020a170906714a00b0098ce63e36e9sm16692013ejj.16.2023.10.02.00.00.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 00:00:17 -0700 (PDT) From: Luca Weiss Date: Mon, 02 Oct 2023 09:00:11 +0200 Subject: [PATCH v2 1/2] dt-bindings: mfd: qcom,spmi-pmic: Drop unused labels from examples MIME-Version: 1.0 Message-Id: <20231002-pm7250b-gpio-fixup-v2-1-debb8b599989@fairphone.com> References: <20231002-pm7250b-gpio-fixup-v2-0-debb8b599989@fairphone.com> In-Reply-To: <20231002-pm7250b-gpio-fixup-v2-0-debb8b599989@fairphone.com> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stephen Boyd Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.12.3 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org There's not much point in having unused labels in the binding example, so drop them. This patch was originally motivated by ea25d61b448a ("arm64: dts: qcom: Use plural _gpios node label for PMIC gpios") updating all dts files to use the plural _gpios label instead of the singular _gpio as label but this example wasn't updated. But since we should just drop the label alltogether, do that. Signed-off-by: Luca Weiss Acked-by: Conor Dooley Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml index 55e931ba5b47..9fa568603930 100644 --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml @@ -239,13 +239,13 @@ examples: interrupt-controller; #interrupt-cells = <4>; - pmi8998_lsid0: pmic@2 { + pmic@2 { compatible = "qcom,pmi8998", "qcom,spmi-pmic"; reg = <0x2 SPMI_USID>; #address-cells = <1>; #size-cells = <0>; - pmi8998_gpio: gpio@c000 { + gpio@c000 { compatible = "qcom,pmi8998-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; @@ -330,7 +330,7 @@ examples: }; }; - pm6150_gpio: gpio@c000 { + gpio@c000 { compatible = "qcom,pm6150-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; From patchwork Mon Oct 2 07:00:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 13405586 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E09C5E784A4 for ; Mon, 2 Oct 2023 07:00:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235603AbjJBHA0 (ORCPT ); Mon, 2 Oct 2023 03:00:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235616AbjJBHAX (ORCPT ); Mon, 2 Oct 2023 03:00:23 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 746A9E5 for ; Mon, 2 Oct 2023 00:00:20 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-52fe27898e9so22186218a12.0 for ; Mon, 02 Oct 2023 00:00:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1696230019; x=1696834819; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Mjg/OOV1lyu0ZM76luSIdSZTlINxZsnRT51fNeIzO0U=; b=ZNXAZOHS/Z9gCOVOn1+BisO4VFWYFj9Igw4yIYJCXY0nNk6UyhbluNSMGye9GOBSyr kRLArhBatDyDWent+bb9Cczv3fuJ+Awy6EE5E70eRSZQrN7AdyZ7Qz/DwSZozo+NEpCJ 2MD9HV8cVAZXMLYCt1UQwt6QYzuVLDJjVAoV1mNOefj8xNksLMUfi/kSFp/ONpdRVESQ UuAAyjvkct3OkzjoIlF0ZPPZqeApk2Jyw2DFwfHnCcWJNmvtmetjXgHS+WK3d68GS9f1 IBiInK2cajlZ/Y2ReYo5hJG1QVj8cPvnIoauFqV8HVaxUQSjAhdUgayl0t32eBb++4QM gY9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696230019; x=1696834819; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Mjg/OOV1lyu0ZM76luSIdSZTlINxZsnRT51fNeIzO0U=; b=NNeFdKFNhv3B0uNV20GFnhsLSXOy6tZPHBlQYdbsIVVQ2h2J++C9G43jrxkP59TM+L isffPz2TAbNjiJoWXp2/P+bgOdgnDY9kx8fo6eD68v7iekAFs58CbNaNMXy68EnPkPAT t0XVcPQLr+8A/C95krU5QxHkz+szrzO5PtK0TSCC3MXC9MauMxNrE2J6kS8umGUs08UF xGhtkEmWzdsril7lfCyvt6Y5v/Zk3E7nmhX2PcRG6HZ+eQlUg6hhAkPsyPvebyxAjfIs oLBjYTtx7fMZ1DiC6ApFdHR6I6Wnaga51ZvR0wfZ3YabQU1vODpDlswHZnpizONMLerX 8l0g== X-Gm-Message-State: AOJu0YyItl2vPuBNuS/usbTipnsJDUP0ug1McQnb5+5Wu21R1sgM5Faj J3+h1dTQ9UISWEnK1oGiQ9qoLw== X-Google-Smtp-Source: AGHT+IFPZZqNOuwD5VfVyNpAT4DhFkPyBAAaF8Bs8h/W3A5JkHfSfs0skU1TyPsToCdnD4cTvqHScw== X-Received: by 2002:a17:906:cc13:b0:9ae:4d6d:ba51 with SMTP id ml19-20020a170906cc1300b009ae4d6dba51mr9425084ejb.21.1696230018967; Mon, 02 Oct 2023 00:00:18 -0700 (PDT) Received: from otso.luca.vpn.lucaweiss.eu (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id z10-20020a170906714a00b0098ce63e36e9sm16692013ejj.16.2023.10.02.00.00.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 00:00:18 -0700 (PDT) From: Luca Weiss Date: Mon, 02 Oct 2023 09:00:12 +0200 Subject: [PATCH v2 2/2] arm64: dts: qcom: pm7250b: Use correct node name for gpios MIME-Version: 1.0 Message-Id: <20231002-pm7250b-gpio-fixup-v2-2-debb8b599989@fairphone.com> References: <20231002-pm7250b-gpio-fixup-v2-0-debb8b599989@fairphone.com> In-Reply-To: <20231002-pm7250b-gpio-fixup-v2-0-debb8b599989@fairphone.com> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stephen Boyd Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.12.3 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Use gpio@ instead of pinctrl@ as that's the name expected by the qcom,spmi-pmic.yaml schema. Update it to fix dt validation. Signed-off-by: Luca Weiss Reviewed-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/pm7250b.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/pm7250b.dtsi b/arch/arm64/boot/dts/qcom/pm7250b.dtsi index df0afe82f250..3bf7cf5d1700 100644 --- a/arch/arm64/boot/dts/qcom/pm7250b.dtsi +++ b/arch/arm64/boot/dts/qcom/pm7250b.dtsi @@ -148,7 +148,7 @@ pm7250b_adc_tm: adc-tm@3500 { status = "disabled"; }; - pm7250b_gpios: pinctrl@c000 { + pm7250b_gpios: gpio@c000 { compatible = "qcom,pm7250b-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller;