From mboxrd@z Thu Jan 1 00:00:00 1970 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 8B439C3DA7A for ; Fri, 6 Jan 2023 20:12:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235738AbjAFUMO (ORCPT ); Fri, 6 Jan 2023 15:12:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236595AbjAFULP (ORCPT ); Fri, 6 Jan 2023 15:11:15 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D72C7FEEB for ; Fri, 6 Jan 2023 12:11:06 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id l26so1818321wme.5 for ; Fri, 06 Jan 2023 12:11:06 -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=HHMP2ksosCdx5cqyhLhZm8oFg6ajA438iWAHtoOM9Yk6IxwKu72iFgolF4TxRb7/5d n8Za+LvSUiP0TZ1IOUuv4TsKs1UwHf9nSQw2+LfypNGKZk0G6VKkdLz8f+EPpwnmZ31/ QR5afuZBQh6JaVolNj7YH4rcIJZb3/T0XUKJDeSQhumHgHb9KQ+nATjG3gyRQbPw4Phb W87HHWjaejooPs/M+UWpKq8XabiDKdNKsWpv69QE6wkjwf8SI+FUMlfCPGFug3vYFY/Y WKoHK7zeJmDQLM9c9sIsu5vzANSjW7yFDD7Dx7nJG89VUcppFzJRYtcf1VtZq4Blr140 Vg7A== 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=W/ettMGU/I5ILs68yFyE/FhZseFB+uTXFOcVE2ywgHD6ckBD6tpyJp9En6HBMrCPwE VIStobd4YrAilbHysrPGIIJnPZxwzHLXjAv0JH1BCSG21qq4lRb6aAPNONFFrLyvbvBs fHFvzVubrDMIGwh+PpLLH6F/FErxrk8HjgNMmC1lgjaBHMwJVa5D+jA9TIW+Ze7xjyre xuWWGrEuDMtnznJnwM/UD4SA7QQtH00wCROgwSzWkELIGP7fAi6802PYYuNXCf8oLswh 1XsxokwIc0X9L4hIkQvOgt2MLM0fZ3JTYT66Fy8gHeltvyG8THU74Hf+xIlUMv+v1kD4 wYgQ== X-Gm-Message-State: AFqh2krw/EiJhYSmXczQiSnQoZ887KfD3IdFEUfFfXmGHeFlxZa1GNUh RWVrrqCCwvJKTOQE/J1+0qrGhA== X-Google-Smtp-Source: AMrXdXuxPnDBcXa5O/8+oMBp61vkQ0CzeMKyh7t8C0Vd49Z4gNW5cWalTplEmwRsZUTby+50V4geDg== X-Received: by 2002:a05:600c:1819:b0:3cf:8d51:fae1 with SMTP id n25-20020a05600c181900b003cf8d51fae1mr40612212wmp.0.1673035864582; Fri, 06 Jan 2023 12:11:04 -0800 (PST) Received: from hackbox.lan ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id z14-20020a05600c220e00b003d99fad7511sm2665240wml.22.2023.01.06.12.11.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Jan 2023 12:11:04 -0800 (PST) From: Abel Vesa To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Dmitry Baryshkov Cc: Linux Kernel Mailing List , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v9 08/10] arm64: dts: qcom: Add PMK8550 pmic dtsi Date: Fri, 6 Jan 2023 22:10:45 +0200 Message-Id: <20230106201047.337409-9-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230106201047.337409-1-abel.vesa@linaro.org> References: <20230106201047.337409-1-abel.vesa@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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/qcom/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 = "qcom,pm8550", "qcom,spmi-pmic"; + reg = <0x0 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + pmk8550_pon: pon@1300 { + compatible = "qcom,pm8998-pon"; + reg = <0x1300>, <0x800>; + reg-names = "hlos", "pbs"; + + pon_pwrkey: pwrkey { + compatible = "qcom,pmk8350-pwrkey"; + interrupts = <0x0 0x13 0x7 IRQ_TYPE_EDGE_BOTH>; + linux,code = ; + status = "disabled"; + }; + + pon_resin: resin { + compatible = "qcom,pmk8350-resin"; + interrupts = <0x0 0x13 0x6 IRQ_TYPE_EDGE_BOTH>; + status = "disabled"; + }; + }; + + pmk8550_rtc: rtc@6100 { + compatible = "qcom,pmk8350-rtc"; + reg = <0x6100>, <0x6200>; + reg-names = "rtc", "alarm"; + interrupts = <0x0 0x62 0x1 IRQ_TYPE_EDGE_RISING>; + status = "disabled"; + }; + + pmk8550_gpios: gpio@8800 { + compatible = "qcom,pmk8550-gpio", "qcom,spmi-gpio"; + reg = <0xb800>; + gpio-controller; + gpio-ranges = <&pmk8550_gpios 0 0 6>; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; +}; -- 2.34.1