Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp637619pxb; Sat, 11 Sep 2021 16:31:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvYTzgtlsvzl3c9DUU5KnVkGDkqz1hOKm5qFGwrzq58Lv/aOCFlivJwQWPmNwp31GuUlgQ X-Received: by 2002:a17:906:6547:: with SMTP id u7mr4741313ejn.544.1631403060494; Sat, 11 Sep 2021 16:31:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631403060; cv=none; d=google.com; s=arc-20160816; b=Lr3l8BAy6ZuY2YpRZuZWMAIQ7BtbyKPr+HHlG1KchlAWsYJtX/pfsryG/xPV+DW2Eo urxLD+op3XZuTG2SBe0/3vJU2J1SgWr6M/jaIs55AhsqDtEoEv6uHPrljGPYnEJKXAyx O3A4jPTKW8c+QmpeFjj8d9hvTN26BEqNxcAWTKohSzYjFXYi13LpTvdHsRs0AIHT3lEZ WZthJM+DsEpf0l1vLHYA6yzKl0nJvgHOeIsrR05AXHQNzInf8Q6RAOdA5q2nk5FDEdI+ ZnmpYbOOUx6fr7Pk0vnfn8w7UoSkxIT9UNa+oWTUqCKI5tEVCixSJysinF1t4EctalyO xByg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1wYjJRYZ/CrIUKyt20EcPZYfzOz/zd4Bev5/BNbuw3I=; b=kJQviFSG/HZiYNr7nAlzTunDEZyOAeVDm1Ok8XldCcgrcqpzmnAcaLNjYEGAGnsh1Q +p6x2j3+dQoVSHVjQGV2yYV6ZRR6oguZQ5IkUBKYKLCyzpFvqO01iUs1oPN0QJKOSaNK T45vK/g+8vQIFXxAyojHYHGZjR4Hu/d2GSuOvcbkX0pYB4xwj6EUgOIL9n8tLj/zbTHw nD+fk+sgcVdmuT/hOt5ap4dhkSTjDl0KW5FxPBSPgD1PEc2ddStlWhmPDAjkXUUo93lp 0pzbbVNViJo5hZ06gZIVCc+D6xIigIbZG9ifQRqOfDw3fP4c20R6sF21GSus7ebGX5qT WtGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=RmUjf15s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hx2si1937397ejc.561.2021.09.11.16.30.36; Sat, 11 Sep 2021 16:31:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=RmUjf15s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234697AbhIKX3e (ORCPT + 99 others); Sat, 11 Sep 2021 19:29:34 -0400 Received: from mail.z3ntu.xyz ([128.199.32.197]:56472 "EHLO mail.z3ntu.xyz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234517AbhIKX3V (ORCPT ); Sat, 11 Sep 2021 19:29:21 -0400 Received: from localhost.localdomain (ip-213-127-63-121.ip.prioritytelecom.net [213.127.63.121]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id 0E01BCB1FB; Sat, 11 Sep 2021 23:28:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1631402887; bh=OcpixR9jeWmLq3TJq/m8MuZTVwFVPOE18f2h11qI8no=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=RmUjf15sPaqGnbtrrMb5OtGyhrH/g4wlKPP7vkBKWy+ukSx1fmmQZEQVWJy880nCB gDow5vjv4iHgfszUqCbeKFSmPQ2G6d1bkeypUMQsY5yuWQ6xo/iHSvvtrcWkB7nHlr 70lVstLqYygd5Bt2GnAWzuePQNRAQBZ9ae3LZcSg= From: Luca Weiss To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, bartosz.dudziak@snejp.pl, Luca Weiss , Andy Gross , Bjorn Andersson , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/8] ARM: dts: qcom: Add pm8226 PMIC Date: Sun, 12 Sep 2021 01:26:59 +0200 Message-Id: <20210911232707.259615-6-luca@z3ntu.xyz> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210911232707.259615-1-luca@z3ntu.xyz> References: <20210911232707.259615-1-luca@z3ntu.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The pm8226 is used with Qualcomm platforms, like msm8226. Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom-pm8226.dtsi | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-pm8226.dtsi diff --git a/arch/arm/boot/dts/qcom-pm8226.dtsi b/arch/arm/boot/dts/qcom-pm8226.dtsi new file mode 100644 index 000000000000..dddb5150dfd7 --- /dev/null +++ b/arch/arm/boot/dts/qcom-pm8226.dtsi @@ -0,0 +1,27 @@ +// SPDX-License-Identifier: BSD-3-Clause +#include +#include + +&spmi_bus { + pm8226_0: pm8226@0 { + compatible = "qcom,pm8226", "qcom,spmi-pmic"; + reg = <0x0 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + pwrkey@800 { + compatible = "qcom,pm8941-pwrkey"; + reg = <0x800>; + interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>; + debounce = <15625>; + bias-pull-up; + }; + }; + + pm8226_1: pm8226@1 { + compatible = "qcom,pm8226", "qcom,spmi-pmic"; + reg = <0x1 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + }; +}; -- 2.33.0