From patchwork Mon Dec 12 13:33:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 633277 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 7DAC0C4708D for ; Mon, 12 Dec 2022 13:33:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232566AbiLLNdP (ORCPT ); Mon, 12 Dec 2022 08:33:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232409AbiLLNdO (ORCPT ); Mon, 12 Dec 2022 08:33:14 -0500 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D179813DF5 for ; Mon, 12 Dec 2022 05:33:09 -0800 (PST) Received: by mail-lf1-x132.google.com with SMTP id p36so18557671lfa.12 for ; Mon, 12 Dec 2022 05:33:09 -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=hyGn1DzomgI5Qa0YLeZd0l0VrjDz/wGrgsCv02M2m/0=; b=KNptsQKiTTUk1mjZAHJjNeIxZQCeUuWUbucs9gQItJcdV3N9enEiocO0rNn4Usu2mz 0aJR/cS5idITBFj1MB4jMYVuFjV/K3878mcRirnVJeQQhKE9fjY95Rjdr//RmXgR47yr OA18f59QFhcgOxDTSazABL9x73rXezn4f2+4ykyMd+BtTW+1qmk7MH1aolq3yQ7AvEm6 EAnoVdrz/IOsREc84ml+p2eHMnilusYxt22reLdribGERNbNVB69H/GMoLI4PFIhrf2h FCtzGLM4fhwTme6chod+8amR4Opi8te0JcwvXALgyGakUMB5+DZWsmWIdP3951orDxYA svtg== 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=hyGn1DzomgI5Qa0YLeZd0l0VrjDz/wGrgsCv02M2m/0=; b=KQYr/HJ0Sk1fZxuqynb024aXjhnzSdvsdRWkj7HRLuf/lY+VCVgau6tLw5732LwoxC DjsZSIV/VSeh1VMTGHOkHoyMr+KlmrjtMy5wFhDDQMHs+qhMBxtuyja+mTWATp7m0fIy Zip9khLmGlD+7AaVbxLPMag9EH8dSyusZPABeCn1equAWb8KYHCif1wuQpMTJUFPDDcK Eg5O3WretmMbcIYnigSdPxYsuBPVByGY56EyrNdwyOUdNMT4f+xibSpJR4imRUJS1e8y Ofujiy7Fak4ORVGPHrUj1xGufOMDP9zd1+uJR7VJJuvekwa08+mLvuOkzjR6vw8DDbs6 AeFA== X-Gm-Message-State: ANoB5plQYw34dhdAulO3IP45bwRD2Sp41nVFi/sWASuZ/be+f1tAeuav ZIkBiUIy5UqcfqWjDALD6qC8bQ== X-Google-Smtp-Source: AA0mqf7nadPTddEwlQiqnOUzYpE1/ZfAgUC5Apodg0MFD1otIMRJrb+q9pXarRdD8BMjPTBtfb8ikQ== X-Received: by 2002:ac2:5dc5:0:b0:4b5:a5c7:3282 with SMTP id x5-20020ac25dc5000000b004b5a5c73282mr4295787lfq.61.1670851988257; Mon, 12 Dec 2022 05:33:08 -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.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Dec 2022 05:33:07 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Satya Priya , Rajendra Nayak Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/4] arm64: dts: qcom: sc7280: correct SPMI bus address cells Date: Mon, 12 Dec 2022 14:33:00 +0100 Message-Id: <20221212133303.39610-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221212133303.39610-1-krzysztof.kozlowski@linaro.org> References: <20221212133303.39610-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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: 14abf8dfe364 ("arm64: dts: qcom: sc7280: Add SPMI PMIC arbiter device for SC7280") Signed-off-by: Krzysztof Kozlowski Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 448879d3d5cd..7c24c2129800 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -4286,8 +4286,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>; };