From patchwork Tue Dec 13 10:19:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 633720 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 72472C4332F for ; Tue, 13 Dec 2022 10:19:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234979AbiLMKTc (ORCPT ); Tue, 13 Dec 2022 05:19:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235131AbiLMKTb (ORCPT ); Tue, 13 Dec 2022 05:19:31 -0500 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC7F11C421 for ; Tue, 13 Dec 2022 02:19:29 -0800 (PST) Received: by mail-lf1-x12e.google.com with SMTP id cf42so4156888lfb.1 for ; Tue, 13 Dec 2022 02:19:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=dAp4hskFZjGN9y85+kSjx75sUPK/6e/z3wevYeNaTXA=; b=dUoAwJ8JaVf8oHHkfNK/gOqgjmNxvUu+Qp+Q0gFQlqdOqvQXHTJizZG7ezH6bq6Vdc s59ryiH+uO2BNlCyq/HeMYYk6WMPrQa/YCT/hh1v8h623w1XB47e2mCJ/NKuqukuuwO5 DuVvd7uHX8uhEJ6/R9/Nkfp6wvduQ5D+B7B88ZQUMTw62GFjvw0a9GsWaD+NVlPZcY6l P2Y0F4ulg9Zj5KAuerOStnS/DrW0M7VxFAeEhZ56c0TUXtiEO0+A3ZVayyhLaSYEw5WK cEqTb05f+MoTwOlx2ecaYiPkgdgG1DTKkFpmRGt7VqK6mNsIriKCDdiv3X3rALabj1Yk g2Nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dAp4hskFZjGN9y85+kSjx75sUPK/6e/z3wevYeNaTXA=; b=HnkFE8mK/9fnFoF6HKebaZ6JjQhyBTqDbDJN5DR6lc7Hpoc+QMIAsl8l1QCQUDQ9LD rXZv15dsklWM9R4W/Ujeuui2urqnMrpDHulirS/8aCyDu4ts8UZAE2J40ZUIxBllrdrf 5EvdFcYNeUlHARZ8tycX6mEthcrEakTVJiM7r2QPPyntv+MzpK+wqLOVidzH6VTveLsp 3rpUiBUXY8SXqpj3ULz84M8qDY470oe8cG8/S2XwGlbM4HLm3v2vDr7p0iJautUXJsQd B3YQ1r0Ia5pinQRZqzHLO7TgXB26gVvNlxTiEe9l4/CnS6Zw6IrVWNW/G3hbEnW/9clJ V/YQ== X-Gm-Message-State: ANoB5pmGINvavwknM51X40rFLb9JZuJn4HG67DuKJAWlJyfja6kRxLVV DXutogfV/39cmi+7VUiaGdl7uw== X-Google-Smtp-Source: AA0mqf5QBIa3tHvXhuX4FOmUOD94PbeJ7R2eJhlkRSDqXBTixxuOzBy2Mx6kPvpkKqtwe3SClyD0Zg== X-Received: by 2002:ac2:5f47:0:b0:4b5:9dc4:e785 with SMTP id 7-20020ac25f47000000b004b59dc4e785mr4381473lfz.45.1670926768251; Tue, 13 Dec 2022 02:19:28 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id o11-20020ac25e2b000000b004b5732080d1sm302460lfg.150.2022.12.13.02.19.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Dec 2022 02:19:27 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Stephen Boyd , Rajendra Nayak , Kiran Gunda Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/4] arm64: dts: qcom: sc7180: correct SPMI bus address cells Date: Tue, 13 Dec 2022 11:19:17 +0100 Message-Id: <20221213101921.47924-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The SPMI bus uses two address cells and zero size cells (second reg entry - SPMI_USID - is not the size): spmi@c440000: #address-cells:0:0: 2 was expected Fixes: 0f9dc5f09fbd ("arm64: dts: qcom: sc7180: Add SPMI PMIC arbiter device") Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio Reviewed-by: Stephen Boyd --- Changes since v1: 1. secoond->second 2. Add tags --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index eb1e1ea12ff6..906fb9343bcc 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -3274,8 +3274,8 @@ spmi_bus: spmi@c440000 { interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>; qcom,ee = <0>; qcom,channel = <0>; - #address-cells = <1>; - #size-cells = <1>; + #address-cells = <2>; + #size-cells = <0>; interrupt-controller; #interrupt-cells = <4>; cell-index = <0>; From patchwork Tue Dec 13 10:19:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 633719 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 6E570C4167B for ; Tue, 13 Dec 2022 10:19:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235130AbiLMKTm (ORCPT ); Tue, 13 Dec 2022 05:19:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235148AbiLMKTe (ORCPT ); Tue, 13 Dec 2022 05:19:34 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9157B1C423 for ; Tue, 13 Dec 2022 02:19:32 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id bp15so4086266lfb.13 for ; Tue, 13 Dec 2022 02:19:32 -0800 (PST) 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 :message-id:reply-to; bh=Ccr0x4vqQ1/xcMOM4hpeo/ppV1UsIX4GEqZSH2VSdAY=; b=qI3PNbQCuuqlovNhsKGw8gzFIbXEpSg68eVzCbcbaUU4RIAdNQXpy6sooK52uZ+MD0 1/mt69dBfoQbRjclvXUO9geW1GEUZVulcbE4VmjsbsYZqRVdMVEC2oKUcHdKnuklVjO5 OruyYrF/hyJ72RH3JWbWKi4yPNcs0kA/ApdpBYtLBBZYnmHBiA4TlZpvHo3EaIUT+5Jt YU1T+z0yGeFLFff4L7T6qBDD05H0QX1XbHzMVr2YjQtECjHIH18BQO1Iexx/UGXeTdwm S0Thsvfo5tMHZl/vOrocLIIttGHhhoL6c9mzQXynoj7vU8iDWHlI1LzAKtoyJF3rL0pb 7FJg== 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:message-id:reply-to; bh=Ccr0x4vqQ1/xcMOM4hpeo/ppV1UsIX4GEqZSH2VSdAY=; b=uU8NeO+1WSaQWN43az4gFGgP0zbCDvNi/MYEF0OtMLiIKABCNYXfypianRegzB3Cg+ UDE88eeM1YEj2THAUQ5FS8LzPI2U5N7pzSEm2C99jK3T/umhOjkPV0TbB4wFu0KOgHYY AwUKTGnAq/k8vgtBvbkCzhtYB7r4IJBibal/zQLHWCw39PY9ZdwhN1Vd8bwigZwcpYMu 3/LqOA9S9Hnxkfa/DBYsfBav0mj86Jw/18d4CSjidmMoD6DR9MBwWKFMG4g8pv1f2BA0 LfHeZVH1TJrpiHWTknMOQejgRu+YGnLFi+f9+0aE+ChAYzW3Cv7O6nlwaWQ0W5/dfw2e WsNg== X-Gm-Message-State: ANoB5pnKvs9uVO3wYR++GAGgt1KRFmTKfvQ3BKRmtASA3IwwN2mKuXeZ sLh5YS9YFb7GruhnuzdHgfo3EQ== X-Google-Smtp-Source: AA0mqf6lCv3u0wSG6ftu9TEJHxoFInCvSBL/F/UbT9zVjikpWYoZPTDL2dVsaMUNmVzho98MhvhBmg== X-Received: by 2002:a05:6512:3ba7:b0:4b5:7c02:39 with SMTP id g39-20020a0565123ba700b004b57c020039mr8113309lfv.47.1670926770939; Tue, 13 Dec 2022 02:19:30 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id o11-20020ac25e2b000000b004b5732080d1sm302460lfg.150.2022.12.13.02.19.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Dec 2022 02:19:30 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Johan Hovold Cc: Krzysztof Kozlowski , Stephen Boyd , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/4] arm64: dts: qcom: sc8280xp: correct SPMI bus address cells Date: Tue, 13 Dec 2022 11:19:19 +0100 Message-Id: <20221213101921.47924-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221213101921.47924-1-krzysztof.kozlowski@linaro.org> References: <20221213101921.47924-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The SPMI bus uses two address cells and zero size cells (second reg entry - SPMI_USID - is not the size): spmi@c440000: #address-cells:0:0: 2 was expected Fixes: 152d1faf1e2f ("arm64: dts: qcom: add SC8280XP platform") Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio Reviewed-by: Stephen Boyd Reviewed-by: Johan Hovold --- Changes since v1: 1. secoond->second 2. Add tags --- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi index 27f5c2f82338..3cb4ca6c53eb 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -1947,8 +1947,8 @@ spmi_bus: spmi@c440000 { interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>; qcom,ee = <0>; qcom,channel = <0>; - #address-cells = <1>; - #size-cells = <1>; + #address-cells = <2>; + #size-cells = <0>; interrupt-controller; #interrupt-cells = <4>; };