From patchwork Thu Sep 8 08:10:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 603919 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 CE92DECAAD5 for ; Thu, 8 Sep 2022 08:12:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231544AbiIHIMN (ORCPT ); Thu, 8 Sep 2022 04:12:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231510AbiIHILf (ORCPT ); Thu, 8 Sep 2022 04:11:35 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C1A1923D4 for ; Thu, 8 Sep 2022 01:11:00 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id p7so26441820lfu.3 for ; Thu, 08 Sep 2022 01:11:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=WbrJFxDN9M+roX+wTBZIP2zZRkjGZwlxDva2DwfHcBI=; b=hstIHa10wYZKdgbw+bwt6JUfeyCTmPPR9hwh1lj7fJs4QOwKFX460qW1FomRilmzci bXy+QToiGA6WTLaGBDzzdVe+MRM+lF9NtM/fee65hKXEa6/5ZoLYLfWgBwzrkr147tBy W7CZe8MoZZx7ADo4ITLXY+CglVlrkPobX/k2re21D8DxwdZW/T9yVnt0zHy4XHurQ7aI KopgJy/c9I0SGxL5lhglFIFi8vhQem5048iLPvz9GUhSYj7uInFPPm44LiEEbYoN8Dkm ZBOPdCpWR5vl1+fZWHMtE5+tvY1rQslPWVhd6KpONcE2PrSU9Sm05kitVekxpCasBYYd uAbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=WbrJFxDN9M+roX+wTBZIP2zZRkjGZwlxDva2DwfHcBI=; b=rEvyIQ2OXSO0H29LM7QU+Yk9WcdMTg0tV1w1opOj3J6HwF41R6N5IWVmobqZqyvpt+ gs45XFpezctG+JPCz6wFk0McoG4sJgaLSOJKOVQv/qpGL2jhnNfIj6e3J+vMHj3yFHi4 14iuifQSSEcPmLYcYmcRWHVltvnkrC7W5OhDbmebM0dzSO+h+VLcrgdG/6jpDaymZy7E NK0WN8PJRAlEwdFhgMboBbmcuL09UnRjxObvKwoOhF4p5IDJY2gWQUSZ8jaoR6im2U1L 4QQYuw5XraWOtRIrxiiqMIxEcRIzaGxuYToT6KSkT+ciWU8Szdw5kXvW42d02fQ6gt48 zb+A== X-Gm-Message-State: ACgBeo0I30JuZ2wuxlTLbKoY2kucnB+PS5L9wvXV/OcBaXTh+jm9EtIy IP0tPf28ROyYb3pkfN8b1ALTVw== X-Google-Smtp-Source: AA6agR65kCJXgGOmiLBCOsmHznD6sp8G9/H9QT459/kOlCrrMh5qBYGusq3dde2OIsxeWsgvigZYww== X-Received: by 2002:a05:6512:1393:b0:48d:6f0:64c7 with SMTP id p19-20020a056512139300b0048d06f064c7mr2221626lfa.20.1662624658338; Thu, 08 Sep 2022 01:10:58 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id u18-20020a05651c131200b00261e7e7b698sm3075777lja.123.2022.09.08.01.10.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Sep 2022 01:10:57 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 5/5] arm64: dts: qcom: sa8295p-adp: add missing gpio-ranges in PMIC GPIOs Date: Thu, 8 Sep 2022 10:10:50 +0200 Message-Id: <20220908081050.29751-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220908081050.29751-1-krzysztof.kozlowski@linaro.org> References: <20220908081050.29751-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The Qualcomm PMIC GPIO bindings require gpio-ranges property: qcom/sa8295p-adp.dtb: pmic@8: gpio@c000: 'gpio-ranges' is a required property Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sa8295p-adp.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts index 98f8420488b6..b608b82dff03 100644 --- a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts +++ b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts @@ -186,6 +186,7 @@ pm8450a_gpios: gpio@c000 { compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; + gpio-ranges = <&pm8450a_gpios 0 0 10>; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; @@ -202,6 +203,7 @@ pm8450c_gpios: gpio@c000 { compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; + gpio-ranges = <&pm8450c_gpios 0 0 10>; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; @@ -218,6 +220,7 @@ pm8450e_gpios: gpio@c000 { compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; + gpio-ranges = <&pm8450e_gpios 0 0 10>; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; @@ -234,6 +237,7 @@ pm8450g_gpios: gpio@c000 { compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; + gpio-ranges = <&pm8450g_gpios 0 0 10>; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>;