From nobody Sun Sep 7 06:53:17 2025 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 1B124C4167B for ; Fri, 30 Dec 2022 20:23:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229456AbiL3UXT (ORCPT ); Fri, 30 Dec 2022 15:23:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235529AbiL3UWx (ORCPT ); Fri, 30 Dec 2022 15:22:53 -0500 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 619681C915 for ; Fri, 30 Dec 2022 12:22:51 -0800 (PST) Received: by mail-wr1-x435.google.com with SMTP id j17so15314055wrr.7 for ; Fri, 30 Dec 2022 12:22:51 -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=oCy2ZKkP+o5zw4JnVQxbpcd6lL2PTAKfa9gdKzWsPa8=; b=h5qboqwHloM8dEs4l2MAfGX/5POdL1ixhU1S3y+nDk9hcIwyWK6DQKWRmnpotQ9Uvl BaSEPe0yAF3+W69sn4DMb//khqgyflgvHTX5FiAeFgijF5WOAAYZG2cRx6OsuuJjTKEk LimpJMG6Wr51160BzQCO8oj6HhlTCbYiBK98+/HFgWmKJpDZPw1UrkUHPEBDveHq0Zot tShf8I67qFlmEfEdSdp9AzE6wChjZ2JgtyKNcPSmXXw03/qwpjM5+wrP/b65DGmEt4e2 8T6vH74esau3GLgf/vnCux3P1eEMuZYQ2ORBslKNLiCwtKwxtgN3bb8pSsaD7eZ2k1US OFcg== 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=oCy2ZKkP+o5zw4JnVQxbpcd6lL2PTAKfa9gdKzWsPa8=; b=KxO2u58ftvVEfUu9Do54HbYsi2edRrwNolpWwCXmiaPErrIp+iPhpKDHVUUPPsBJ5Q qx9nR2bZAi6XY3NeAn1JXUKq2Xc8I6ElXGM9IBn2SdtQNNxvUUmzbTEhiHa+3Rb9ZH1G zEhoREGtupjGS9jV1k0b8qT1xLouIpTRMZzh6MUdLlcAcOakIQX7flgj6vq9onvOLOMG IXMWTBTNS3vHBz21ew5ts9tqyV46cwr77neUNCOetl/2UgEMbvZaexWvT/i5Qkqde2Yk HzbbLuhiWphes9sZyGTbFnXpGMUpZsMx4S9PfHP96xPFBn35TV+0gJ/i0qYanfduDbjU SY3A== X-Gm-Message-State: AFqh2kqFYhbWgZZk1BjOLk3ZxBjtXCnIDHHrjVM4bd7bQFA+PUgz1sG/ nK4jG6Tqbn1RNc0NHbDe1oC26w== X-Google-Smtp-Source: AMrXdXt0vqIyi6azBy+Bx3eMn30pur2oUC0KXcCbrB69TAck24Nu+3V2XuLIoNTtkDaE2BUo93i7ow== X-Received: by 2002:a5d:4f8c:0:b0:28a:8b5d:6f4e with SMTP id d12-20020a5d4f8c000000b0028a8b5d6f4emr5828439wru.2.1672431769900; Fri, 30 Dec 2022 12:22:49 -0800 (PST) Received: from hackbox.lan ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id z1-20020adfdf81000000b00268aae5fb5bsm21359142wrl.3.2022.12.30.12.22.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Dec 2022 12:22:49 -0800 (PST) From: Abel Vesa To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Neil Armstrong Cc: Linux Kernel Mailing List , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v8 08/10] arm64: dts: qcom: Add PMK8550 pmic dtsi Date: Fri, 30 Dec 2022 22:22:28 +0200 Message-Id: <20221230202230.2493494-9-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221230202230.2493494-1-abel.vesa@linaro.org> References: <20221230202230.2493494-1-abel.vesa@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Neil Armstrong Add nodes for PMK8550 in separate dtsi file. Signed-off-by: Neil Armstrong Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/pmk8550.dtsi | 55 +++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/pmk8550.dtsi diff --git a/arch/arm64/boot/dts/qcom/pmk8550.dtsi b/arch/arm64/boot/dts/qc= om/pmk8550.dtsi new file mode 100644 index 000000000000..47213d05bf92 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/pmk8550.dtsi @@ -0,0 +1,55 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2022, Linaro Limited + */ + +#include +#include +#include +#include + +&spmi_bus { + pmk8550: pmic@0 { + compatible =3D "qcom,pm8550", "qcom,spmi-pmic"; + reg =3D <0x0 SPMI_USID>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + pmk8550_pon: pon@1300 { + compatible =3D "qcom,pm8998-pon"; + reg =3D <0x1300>, <0x800>; + reg-names =3D "hlos", "pbs"; + + pon_pwrkey: pwrkey { + compatible =3D "qcom,pmk8350-pwrkey"; + interrupts =3D <0x0 0x13 0x7 IRQ_TYPE_EDGE_BOTH>; + linux,code =3D ; + status =3D "disabled"; + }; + + pon_resin: resin { + compatible =3D "qcom,pmk8350-resin"; + interrupts =3D <0x0 0x13 0x6 IRQ_TYPE_EDGE_BOTH>; + status =3D "disabled"; + }; + }; + + pmk8550_rtc: rtc@6100 { + compatible =3D "qcom,pmk8350-rtc"; + reg =3D <0x6100>, <0x6200>; + reg-names =3D "rtc", "alarm"; + interrupts =3D <0x0 0x62 0x1 IRQ_TYPE_EDGE_RISING>; + status =3D "disabled"; + }; + + pmk8550_gpios: gpio@8800 { + compatible =3D "qcom,pmk8550-gpio", "qcom,spmi-gpio"; + reg =3D <0xb800>; + gpio-controller; + gpio-ranges =3D <&pmk8550_gpios 0 0 6>; + #gpio-cells =3D <2>; + interrupt-controller; + #interrupt-cells =3D <2>; + }; + }; +}; --=20 2.34.1