From patchwork Mon Dec 12 13:32:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 633331 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 B2360C4332F for ; Mon, 12 Dec 2022 13:33:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232528AbiLLNdO (ORCPT ); Mon, 12 Dec 2022 08:33:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232406AbiLLNdN (ORCPT ); Mon, 12 Dec 2022 08:33:13 -0500 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB4771276F for ; Mon, 12 Dec 2022 05:33:08 -0800 (PST) Received: by mail-lf1-x12d.google.com with SMTP id b13so18597642lfo.3 for ; Mon, 12 Dec 2022 05:33:08 -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=nQaNe1YlwQpI932W71SvBf5OrdAprQKocQe4vybQdGk=; b=gSGlJpBogJp7YC/e7sOnzf3ZmZSAWSHDJZltZFbNvXy/zkz6SpDI+7ukaYLhfHhLdj mfg7FuGBMyJWMm4KjfGJfJjfyTKiavfzXg1NXewLymjJIBPcyI19FkVF9gvsLfog1B7f JNJSzjUYs9syUsPE8qae4sR9WZLKZY9w8pMWU6oosE5VhQ+pDXEtvoQNHPVmo6efwHW9 xJl0PvPBXN1hipby5GloirZ53fuvaaigmbgGX02S6ljj4lZU+1Zpx6WknEOOUfi9mJ/E mqezUo9h1spsFZ78TszkDzWZpY2t2QgTNdL3T/DgPXA7RTu0JHRC6ZOztANolPevqVpx sq6Q== 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=nQaNe1YlwQpI932W71SvBf5OrdAprQKocQe4vybQdGk=; b=FcMGLnPkx9mDbOEu7dAIwCLW3KZVEfj62qXXh5uo8f4rxOe9NYKdm750AQt7dcJvvv +GMCDEvfaodaAZYv48w2mL/evEjk41X3bQnGZMSEYl/vaL7KbqYRq4p1K3K/871Bm1cQ hyGniTsZZej0CdZSS879AhAeeur5WIFIDrXlTRZXxo4B73dv7dGqgijLT7tPaZb8XHeN DKMRn4yCmPftlv+YgFWSentZiyLAnjpbazaBNTiytPzs/mD55WyLvHkga9aaUleb/fVS COnVsRX8ghHpl4mVWYQIonC0E4ikE7RRnvVzdLTh0kIdMmjmH/GZgnHZtZiIf/gj4zYx fKZw== X-Gm-Message-State: ANoB5plrcad0eHIssky3OvcbC62tIGYFGcLCh2Gkzr/E5gt0Ymhv5Nd0 nakPM7W72gxIylxPVPfhMqbl0A== X-Google-Smtp-Source: AA0mqf4aMs/lvVUJWTvlZrlh5LlBj39FTnM/zXaO+YiWmgvmxnLcNtbFnwfHSPHmAxOqQ7ENyaVOKA== X-Received: by 2002:a05:6512:963:b0:4a4:68b9:1a0a with SMTP id v3-20020a056512096300b004a468b91a0amr3947925lft.50.1670851987076; Mon, 12 Dec 2022 05:33:07 -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 a18-20020a194f52000000b0049478cc4eb9sm1624435lfk.230.2022.12.12.05.33.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Dec 2022 05:33:06 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Kiran Gunda , Rajendra Nayak , Stephen Boyd Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/4] arm64: dts: qcom: sc7180: correct SPMI bus address cells Date: Mon, 12 Dec 2022 14:32:59 +0100 Message-Id: <20221212133303.39610-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 (secoond 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: Konrad Dybcio Reviewed-by: Stephen Boyd Reviewed-by: Stephen Boyd --- 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>;