From patchwork Tue Dec 13 19:10:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 32930 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp312014wrn; Tue, 13 Dec 2022 11:11:13 -0800 (PST) X-Google-Smtp-Source: AA0mqf5zXeTYGp8VD8xIfe21qBCfWmJ+LI/kd+jTBCLYvBFV6Inx/Y6vP0i48cxo4XFqjZUTFdXx X-Received: by 2002:a62:6495:0:b0:56e:d365:f96d with SMTP id y143-20020a626495000000b0056ed365f96dmr19398590pfb.5.1670958673190; Tue, 13 Dec 2022 11:11:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670958673; cv=none; d=google.com; s=arc-20160816; b=j6hWf4MDmvn33A35W8wPAu9trVRObAoMQYc80M+eChdn6TkA7Y1wmTS+owPyRC7Eoz D2vquzFwJQI8R6Zlca0Z+XK3QZFP+E+JwD9Q2mlNu4k3MIGClEg8tEFR9lDUc9oouEBG orDQGeNeMsSoTd9qzGEvFf/D5axy+fQ+CUnAau56rg/aisPLKy4uE8Bu0t5Y6qGVO+D1 wmfuy/e1OlInSrZhoIOM6segLttpjeYhWYILg7IuaZ4I8GEKmdHlQIpnPKNUjQM/YyMk 6CcRbriwcsBLhZt3mtW680M9XSgc4sGWLcWXhO7s7hzuhTk7a7/mDLamG7WFUrj1/bD0 iFpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=BnF8qsfYu8s9/MwBsflSUh/lykn7aUx7PCtt6alz7i4=; b=QOCtT9bjr2i7d1zq+VZt0gJBW4Ma6M7R7FcIeMV2gtaUDzycwmhURGW5Nddln6Y8UH LzXoGYWqMAhAdJ99kluWc04vcI/qw0ISkGpr1o/9DO8mFkq8tyaErgxk175+Y8Ia6U/H YUtI/0Cilb2cKUciJL8t0XUx4h4ejG6/HJP3eugx2hneG7TKK2+qkeNPF64TcNa9YMlw 1J/ayxM1JBGwmNOUjPB3VXnOB6OafvCpDL3o3+puSthchQU6Mbn/F7T2U0iCeh3gqfLx zjEgNCpDjFWPUBM6bt9P/Pv577fUKOfKeDjRFpxU04zMBoho8eVIv5NGas8kPksc6EAo ulkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oXSEFVPC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t13-20020a056a0021cd00b0056c92bd3c48si13268785pfj.242.2022.12.13.11.11.00; Tue, 13 Dec 2022 11:11:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oXSEFVPC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236719AbiLMTKu (ORCPT + 99 others); Tue, 13 Dec 2022 14:10:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236693AbiLMTKp (ORCPT ); Tue, 13 Dec 2022 14:10:45 -0500 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18CC725C6E for ; Tue, 13 Dec 2022 11:10:42 -0800 (PST) Received: by mail-lj1-x230.google.com with SMTP id n1so4365846ljg.3 for ; Tue, 13 Dec 2022 11:10:42 -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=BnF8qsfYu8s9/MwBsflSUh/lykn7aUx7PCtt6alz7i4=; b=oXSEFVPCgKG1MaGfvlray6dSRizFoy6QMqOB6eoMD6MFHvwPDgH44HxgWbS52QexhZ DrA5///74cOLhQKFJ9iBSDE2qwcTzR6tEwN7IEvjHJeqgtjYxNSpcyiGO9kadp1X2xau qA90u0o5vpz9kiqjk6RpGQKZmF2fJCqdHW45zF7TY3XE/hEeuIUzjk4wOhASwPsR6WmC PHdA576+10dfmnbWobtqeg7AbP5VM/pax/kjf95xjEEHm/Akym8gwxrQB82KCSIFrE1C jx5pFmVqaaTDf281CXZH71LXTvHUAfN3Rram9dxFrCY7/85BmVwBOtZBI3sMpX7ICo8C KAWg== 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=BnF8qsfYu8s9/MwBsflSUh/lykn7aUx7PCtt6alz7i4=; b=U61THeMy0JSxZ43jeMsEG2WMdGNcq7ErhVZs1KjRsKPP5dRIZ4EPV5NjOxqa8wszD4 MUGV3NQHLhSrpiqewIebRF0pQGLSxSnYu+WFjiNpH7zl7bdJjo3vji7Y24/BlBmFfvTl 3Bi9YE7ZHBC8mmdUbdq3IvKPeeG5zAP4GaWo9KQ7g5/KkaAj8HOERFW20Iyczd8fM7br 7RFEzfjS6iot7r0gbxN5xxH9qD5OsQ608YlUqLAQdhhbNLM27diQpAYK1piVg5uULxB4 3WF/zKTVUztpgyhX1NNrEKBOBn/SEv08dWw9ag00k3s/Kfysj1lncS6ZRiZT6XjBZSU5 kV5g== X-Gm-Message-State: ANoB5pksT9PeO5b/PTRXnF0b2o0rEY2/RsZXAtG3hHcvgXc8A0ciutoM 500li0ZS8gPztTAKDqUp2E1kT54UXEXOIaNI X-Received: by 2002:a2e:a551:0:b0:26f:eb10:1a2b with SMTP id e17-20020a2ea551000000b0026feb101a2bmr6934373ljn.23.1670958640460; Tue, 13 Dec 2022 11:10:40 -0800 (PST) Received: from localhost.localdomain (abxh44.neoplus.adsl.tpnet.pl. [83.9.1.44]) by smtp.gmail.com with ESMTPSA id w28-20020a05651c119c00b0026dfbdfc1ddsm372023ljo.11.2022.12.13.11.10.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Dec 2022 11:10:39 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: marijn.suijten@somainline.org, Vinod Koul , Konrad Dybcio , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/7] arm64: dts: qcom: sm8450: add spmi node Date: Tue, 13 Dec 2022 20:10:30 +0100 Message-Id: <20221213191036.611241-1-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752127161686882276?= X-GMAIL-MSGID: =?utf-8?q?1752127161686882276?= From: Vinod Koul Add the spmi bus as found in the SM8450 SoC Signed-off-by: Vinod Koul Reviewed-by: Konrad Dybcio [Konrad: 0x0 -> 0, move #cells down, make reg-names a vertical list] Signed-off-by: Konrad Dybcio --- I took over this patch from Vinod, it was submitted long long ago: https://lore.kernel.org/lkml/20211209103505.197453-1-vkoul@kernel.org/ arch/arm64/boot/dts/qcom/sm8450.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index 570475040d95..b9b59c5223eb 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -2715,6 +2715,28 @@ aoss_qmp: power-controller@c300000 { #clock-cells = <0>; }; + spmi_bus: spmi@c42d000 { + compatible = "qcom,spmi-pmic-arb"; + reg = <0 0x0c400000 0 0x00003000>, + <0 0x0c500000 0 0x00400000>, + <0 0x0c440000 0 0x00080000>, + <0 0x0c4c0000 0 0x00010000>, + <0 0x0c42d000 0 0x00010000>; + reg-names = "core", + "chnls", + "obsrvr", + "intr", + "cnfg"; + interrupt-names = "periph_irq"; + interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>; + qcom,ee = <0>; + qcom,channel = <0>; + interrupt-controller; + #interrupt-cells = <4>; + #address-cells = <2>; + #size-cells = <0>; + }; + ipcc: mailbox@ed18000 { compatible = "qcom,sm8450-ipcc", "qcom,ipcc"; reg = <0 0x0ed18000 0 0x1000>;