From patchwork Thu Jul 20 08:34:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 704676 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 548D9C001DC for ; Thu, 20 Jul 2023 08:57:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229885AbjGTI5R (ORCPT ); Thu, 20 Jul 2023 04:57:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232003AbjGTIfJ (ORCPT ); Thu, 20 Jul 2023 04:35:09 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B54A81A8 for ; Thu, 20 Jul 2023 01:35:07 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-3fbf1b82d9cso3842705e9.2 for ; Thu, 20 Jul 2023 01:35:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689842106; x=1692434106; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=yg6D+dDW1EZ8ft1dP7hJ0hvkoxToJTo2PTuVFTDOsvg=; b=UiZ+uEPcQj19qIPz/HpBmXrWZPm2Sk4x7mkopCLzNFZdy4Cff/OzdROSIaMyC9pPsi ktZ2DMonH6ggn0DNIvXi3oOpuAG0u0kND65ZOyTdX5C6BawSsZuc+m35DleWvNMnixSQ czisF9iXGUKJ/tIpNkhjAZvAqZq+x3sYiBD/AV/wjQYMFSPtOCcSdfzY1gBe3Qa9wiVb cR/FprXo5n2q5FKiJBPG+QaOYKR/LsHMSWjWjnpw09v4DLkUyCie7Wmksn1OvqIrunsm tzVf3keBdAR1zhRyyt2ovmJvEI4UePeXLA3WfkQGR/evO271mLJ1kWpS0qXSH6xMhpzp FiTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689842106; x=1692434106; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yg6D+dDW1EZ8ft1dP7hJ0hvkoxToJTo2PTuVFTDOsvg=; b=e1zjJ6J0kMIy207bX9TBgkJ8WgGGiK8vAWXgQvAXF8wdlxbrsoRO8ZM87UzeOkRFdt v3FyhKyFObbQLTOfpD3sq+lPFOY+CE0622GOPPLf131pQfPzH8aeN3Q/ALehTxqJmOqj +hnPMOaeB7z0NefhM/87kPwElUjYR8XuZ798SxyjGy5ePWeWrMn+YAUkiPTQHX/vvO+U o9SzdJ23Jvf22/f71Pzd1VkTl3ANY04TpcvabTfwWdOVZI4oexgpoUkdZkK0/dPaK03V GkE26DSE8QJpKNyZs0XrKRfVeM8RRKjaW+Pk0322tRmuGbMZqEN5ndtn0SolYf+2c6dF siSA== X-Gm-Message-State: ABy/qLZxE5CY89Zmuz3hngJ+rvVoOjEvo6Uolcz5wEKpo3fnNNgIpmVL qrQpqQO1TpmQKyh8dD0PvVhlCw== X-Google-Smtp-Source: APBJJlF7kFKppx9jqRykyYF+E3Gzl5CDg96MpoWgt/+cp65nX07jS07CtJAtio3MePnEcuHacdD6DQ== X-Received: by 2002:a05:600c:28f:b0:3fc:85c:5ef7 with SMTP id 15-20020a05600c028f00b003fc085c5ef7mr3758067wmk.22.1689842106193; Thu, 20 Jul 2023 01:35:06 -0700 (PDT) Received: from krzk-bin.. ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id h3-20020a5d4fc3000000b00314329f7d8asm627060wrw.29.2023.07.20.01.35.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jul 2023 01:35:05 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/4] arm64: dts: qcom: sc8180x-pmics: add missing gpio-ranges Date: Thu, 20 Jul 2023 10:34:58 +0200 Message-Id: <20230720083500.73554-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230720083500.73554-1-krzysztof.kozlowski@linaro.org> References: <20230720083500.73554-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The GPIO children of PMICs should use gpio-ranges: sc8180x-primus.dtb: pmic@0: gpio@c000: 'gpio-ranges' is a required property Fixes: d3302290f59e ("arm64: dts: qcom: sc8180x: Add pmics") Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sc8180x-pmics.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8180x-pmics.dtsi b/arch/arm64/boot/dts/qcom/sc8180x-pmics.dtsi index ef2f8b732833..53b283e29407 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x-pmics.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8180x-pmics.dtsi @@ -145,6 +145,7 @@ pmc8180_gpios: gpio@c000 { compatible = "qcom,pmc8180-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; + gpio-ranges = <&pmc8180_gpios 0 0 10>; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; @@ -303,6 +304,7 @@ pmc8180c_gpios: gpio@c000 { compatible = "qcom,pmc8180c-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; + gpio-ranges = <&pmc8180c_gpios 0 0 12>; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>;