Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1213799pxb; Wed, 10 Feb 2021 03:04:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJzWF9FLR7/5pB8S9H1x8QT9JlGhDyKJ1zFFoyjOkBq+fAxLBaxdVSlswu9tEom2rkC9ekE6 X-Received: by 2002:a17:907:7252:: with SMTP id ds18mr2366456ejc.239.1612955040045; Wed, 10 Feb 2021 03:04:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612955040; cv=none; d=google.com; s=arc-20160816; b=bbvBNypzmjFRJWOZ6SMAtWY0Am6n8LewDMQrJiG+DWa4w1uSqU1vEHJPfVp1+0lkcj 7ufzgjhB46/tVyP/XNqewpsd7UmDpPaGdEAzH/OhM2Cyvak18y0WZVrujecqPcOdvxtK FXQEDoQosIXR8aNaPeuy+1oKMlMD7DamZHaiz9PKyzd/Uz3il4EpdMAi/Xv2bs+/+Pgg v/oG5OBIC/HpR9SlkjJ8bgCvHDrFjc+3ma58wE4GRjS94MTBSgCQKGqKTN/yvaCfuPkA FRPNHfPorO3pO7XnqywVDabbr51jvY39Olm4I+lwmVGwV2d94JRtqOOJHaZfOOKPA0dh sl1A== 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:subject:reply-to:cc:from:to:dkim-signature:date; bh=GRRV1eBGqOks0+oMuJPFV2qf6WNyQkliy1bbSM1rdeM=; b=BQZqotIbda7W0jYL+VEBzsk5B37/4z3R9aAh8DphHmhyFCnoWE0Fh5gcgvsG7Pn7Qe r9f3BEi9hSpPjRv6w6rbe+0gSb7wu9zw7Q4BFJnliEfhjb7JEuy+/EIawUb3rZwnAh/b MXbIYRzAT2x19452PXpD8MF9FCoI3QPVxNgc7Lr2P94f8y8MmURd0k0aUTwuwaTzYcNn mPbD8neX9OPfJRPlj7htLV1xdEm8wsK8BAifi8UtANbz9f7EYJW4/hqzrCYF25AzE4Gz k2mmE8Li95qDWGaZOTsY2SghLJ+Ia1paILRi/7KhVcBEjLx9TMbh1BTMT4IQvLJXOBrr V44Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b=bU5LjjP2; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jo13si1092288ejb.607.2021.02.10.03.03.35; Wed, 10 Feb 2021 03:04:00 -0800 (PST) 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=pass header.i=@protonmail.com header.s=protonmail header.b=bU5LjjP2; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230497AbhBJLCc (ORCPT + 99 others); Wed, 10 Feb 2021 06:02:32 -0500 Received: from mail-03.mail-europe.com ([91.134.188.129]:39016 "EHLO mail-03.mail-europe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231451AbhBJK75 (ORCPT ); Wed, 10 Feb 2021 05:59:57 -0500 Date: Wed, 10 Feb 2021 10:58:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1612954686; bh=GRRV1eBGqOks0+oMuJPFV2qf6WNyQkliy1bbSM1rdeM=; h=Date:To:From:Cc:Reply-To:Subject:From; b=bU5LjjP29E8rR5cjyhqZL57GnwCL7lv8a+ssDMDH09ITZxzvTvE7w6pbdRS0aqO/t QFfFeHqiZdtHSL3hK73E4yuSNTrnCUyOyg5yij6X1QvhUNprOOm1zQSj0AY0/9p+50 JE5LCOBeNOR9hoPKyPooBsGz/vEal5Zv8+sK7zPA= To: "linux-arm-msm@vger.kernel.org" From: Yassine Oudjana Cc: "agross@kernel.org" , Bjorn Andersson , "robh+dt@kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Reply-To: Yassine Oudjana Subject: [PATCH v2] arm64: dts: qcom: pm8994: Add resin node to PON Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add resin as a child node of PON, and specify its key code on apq8096-db820= c. Signed-off-by: Yassine Oudjana --- arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 18 ++++-------------- arch/arm64/boot/dts/qcom/pm8994.dtsi | 6 ++++++ 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi b/arch/arm64/boot= /dts/qcom/apq8096-db820c.dtsi index defcbd15edf9..8e129bcc20ba 100644 --- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi @@ -951,6 +951,10 @@ dai@2 { =09}; }; +&resin { +=09linux,code =3D ; +}; + &sound { =09compatible =3D "qcom,apq8096-sndcard"; =09model =3D "DB820c"; @@ -1026,20 +1030,6 @@ codec { =09}; }; -&spmi_bus { -=09pmic@0 { -=09=09pon@800 { -=09=09=09resin { -=09=09=09=09compatible =3D "qcom,pm8941-resin"; -=09=09=09=09interrupts =3D <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>; -=09=09=09=09debounce =3D <15625>; -=09=09=09=09bias-pull-up; -=09=09=09=09linux,code =3D ; -=09=09=09}; -=09=09}; -=09}; -}; - &ufsphy { =09status =3D "okay"; diff --git a/arch/arm64/boot/dts/qcom/pm8994.dtsi b/arch/arm64/boot/dts/qco= m/pm8994.dtsi index 5ffdf37d8e31..b4828188417e 100644 --- a/arch/arm64/boot/dts/qcom/pm8994.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8994.dtsi @@ -58,6 +58,12 @@ pwrkey { =09=09=09=09linux,code =3D ; =09=09=09}; +=09=09=09resin: resin { +=09=09=09=09compatible =3D "qcom,pm8941-resin"; +=09=09=09=09interrupts =3D <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>; +=09=09=09=09debounce =3D <15625>; +=09=09=09=09bias-pull-up; +=09=09=09}; =09=09}; =09=09pm8994_temp: temp-alarm@2400 { -- 2.30.0