From patchwork Sat Mar 2 16:56:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonas Karlman X-Patchwork-Id: 10836675 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A54EE17E0 for ; Sat, 2 Mar 2019 16:57:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 862C92AE27 for ; Sat, 2 Mar 2019 16:57:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 763FF2AE2A; Sat, 2 Mar 2019 16:57:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 22C2E2AE27 for ; Sat, 2 Mar 2019 16:57:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mNgcLLDb0abQ0/qZp7rFBmYKOQvt06iNCfwlVbxCSS8=; b=OGNfRNErKXAlBu 0FrDweD5VeJpkv82xjCIY9BWpk+zBd8TDxMAyKTv5iH2sKaUVj8TgpG5xNagVSp1uDj6pGRImZfp4 Q7S6vRyQgPmzOV7VG5Pt6Yusik/iOuECfWzNHwaN1W48BHuCp4rfK8UEVb0SkcbtaEvgYijy/8fZM Do7WD5ZoQ5rfx745MTZ+cnm/0J5b+bldKg9NE1krQCKjqqblroIcaAeMHI+jeBtbcAAVogPusirWS AfKsbhGlqVCAd4d3uQaI/ahrcTT3ybYsjDTX90078pZFavsf2tuCQA5mahzGa9mmPWD2xpuKcdYDf RNfdBRgKygFo2POoD4Nw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h07wd-0006Uo-SV; Sat, 02 Mar 2019 16:57:03 +0000 Received: from mail-oln040092065037.outbound.protection.outlook.com ([40.92.65.37] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h07wa-0006Ty-98; Sat, 02 Mar 2019 16:57:01 +0000 Received: from VE1EUR01FT050.eop-EUR01.prod.protection.outlook.com (10.152.2.55) by VE1EUR01HT115.eop-EUR01.prod.protection.outlook.com (10.152.3.44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.21; Sat, 2 Mar 2019 16:56:57 +0000 Received: from AM3PR03MB0966.eurprd03.prod.outlook.com (10.152.2.51) by VE1EUR01FT050.mail.protection.outlook.com (10.152.3.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.21 via Frontend Transport; Sat, 2 Mar 2019 16:56:57 +0000 Received: from AM3PR03MB0966.eurprd03.prod.outlook.com ([fe80::8011:1f4d:3804:e5f3]) by AM3PR03MB0966.eurprd03.prod.outlook.com ([fe80::8011:1f4d:3804:e5f3%10]) with mapi id 15.20.1665.015; Sat, 2 Mar 2019 16:56:57 +0000 From: Jonas Karlman To: "linux-rockchip@lists.infradead.org" Subject: [PATCH 1/3] arm64: dts: rockchip: fix regulator name on rk3328-rock64 Thread-Topic: [PATCH 1/3] arm64: dts: rockchip: fix regulator name on rk3328-rock64 Thread-Index: AQHU0RjyjFHMStK26kahq9bqz5NkLg== Date: Sat, 2 Mar 2019 16:56:57 +0000 Message-ID: References: <20190302165641.10905-1-jonas@kwiboo.se> In-Reply-To: <20190302165641.10905-1-jonas@kwiboo.se> Accept-Language: sv-SE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM6PR0502CA0024.eurprd05.prod.outlook.com (2603:10a6:209:1::37) To AM3PR03MB0966.eurprd03.prod.outlook.com (2a01:111:e400:884c::23) x-incomingtopheadermarker: OriginalChecksum:624761964D579B872C7B999F59F074601BF22DFEE93625F3EEA9265F5C4A4006; UpperCasedChecksum:B7A0D10F5852111CD8F1B4CE8ED83CA9C03F831CDB9B9FCD0AD8DD9100920E22; SizeAsReceived:7833; Count:51 x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-tmn: [zZ8DphY23ggrspfNl6xf5O5bDJRN2Ie4] x-microsoft-original-message-id: <20190302165641.10905-2-jonas@kwiboo.se> x-ms-publictraffictype: Email x-incomingheadercount: 51 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(20181119110)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031322404)(2017031323274)(2017031324274)(1601125500)(1603101475)(1701031045); SRVR:VE1EUR01HT115; x-ms-traffictypediagnostic: VE1EUR01HT115: x-microsoft-antispam-message-info: HirmIwifzJuiI3N7YdgmHFNwcyQz9pQPCtIe/nUR7/BJhS0jK4oOG10HfEaTFzUJ MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 99ff3942-c522-4a3a-5d1f-08d69f301431 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Mar 2019 16:56:57.1664 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR01HT115 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190302_085700_315785_4A81F85C X-CRM114-Status: GOOD ( 10.63 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , "devicetree@vger.kernel.org" , Heiko Stuebner , Jonas Karlman , "linux-kernel@vger.kernel.org" , Rob Herring , "linux-arm-kernel@lists.infradead.org" Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Update regulator-name to match node and schematics. Signed-off-by: Jonas Karlman --- arch/arm64/boot/dts/rockchip/rk3328-rock64.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts index 2157a528276b..8f3e4b7d55c9 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts @@ -218,7 +218,7 @@ }; vcc_18: LDO_REG1 { - regulator-name = "vdd_18"; + regulator-name = "vcc_18"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-always-on; @@ -230,7 +230,7 @@ }; vcc18_emmc: LDO_REG2 { - regulator-name = "vcc_18emmc"; + regulator-name = "vcc18_emmc"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-always-on; From patchwork Sat Mar 2 17:00:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonas Karlman X-Patchwork-Id: 10836683 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2F1391575 for ; Sat, 2 Mar 2019 17:00:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 06F4C2AF01 for ; Sat, 2 Mar 2019 17:00:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EE8E82AF03; Sat, 2 Mar 2019 17:00:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9250F2AF01 for ; Sat, 2 Mar 2019 17:00:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jUcCPj4U2Kcb5X9vxw4j/bDywZ4wchy+l5Re9dDGmN0=; b=TgNiiHsFkzU1Kp epbqs89RzMF/dK/gXvpe0YxWDyST5Lk8tgsYFyxp/2JJHY+JV4baA/3K0Lv+fLW0xVfIxQ7s6deYK JIJjwHc/6NKZ+Te2/xlsdRUDa6dTsKRn/Mwxjuy/Ax3BVvXOus+jj03rgFGrzMB05gR2kE3im3U5H OKEnOAGTEpnnThQxL368G8EJwh56t7khT2mJ+jy/HXqIMRRDPphEbY4DEbdpKKUw7DMPSNuPvhhWi sZ7vwx0kJHhKRVuOR4HHjoq+AHii6brk4CumroZKKvTR+4EAq4LwLX+ReWcVE5svuXEDLD4XLfdTm T2h2UUIo+df6y5jUuFXg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h0801-0008T8-7g; Sat, 02 Mar 2019 17:00:33 +0000 Received: from mail-oln040092068080.outbound.protection.outlook.com ([40.92.68.80] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h07zx-0008Sd-W7; Sat, 02 Mar 2019 17:00:31 +0000 Received: from AM5EUR02FT035.eop-EUR02.prod.protection.outlook.com (10.152.8.57) by AM5EUR02HT219.eop-EUR02.prod.protection.outlook.com (10.152.9.175) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.21; Sat, 2 Mar 2019 17:00:25 +0000 Received: from AM3PR03MB0966.eurprd03.prod.outlook.com (10.152.8.58) by AM5EUR02FT035.mail.protection.outlook.com (10.152.8.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.21 via Frontend Transport; Sat, 2 Mar 2019 17:00:25 +0000 Received: from AM3PR03MB0966.eurprd03.prod.outlook.com ([fe80::8011:1f4d:3804:e5f3]) by AM3PR03MB0966.eurprd03.prod.outlook.com ([fe80::8011:1f4d:3804:e5f3%10]) with mapi id 15.20.1665.015; Sat, 2 Mar 2019 17:00:25 +0000 From: Jonas Karlman To: "linux-rockchip@lists.infradead.org" Subject: [PATCH 2/3] arm64: dts: rockchip: add leds node on rk3328-rock64 Thread-Topic: [PATCH 2/3] arm64: dts: rockchip: add leds node on rk3328-rock64 Thread-Index: AQHU0RluaSgsyo/73UmRn2IHPp5WoQ== Date: Sat, 2 Mar 2019 17:00:25 +0000 Message-ID: References: <20190302165641.10905-1-jonas@kwiboo.se> In-Reply-To: <20190302165641.10905-1-jonas@kwiboo.se> Accept-Language: sv-SE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM5PR04CA0015.eurprd04.prod.outlook.com (2603:10a6:206:1::28) To AM3PR03MB0966.eurprd03.prod.outlook.com (2a01:111:e400:884c::23) x-incomingtopheadermarker: OriginalChecksum:76CA04E884DC068B1AEAC4397BFBE305F0C23135E16C39C1F31455D91C7E5DEF; UpperCasedChecksum:3838A9C9B983DAE0FCA8D7BD03610489632A1345BF8B2ABD6923282E3C1FFC55; SizeAsReceived:7827; Count:51 x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-tmn: [dKoON8yenBTOHEy8UhW9+hUlpAJOJP6H] x-microsoft-original-message-id: <20190302170016.11010-1-jonas@kwiboo.se> x-ms-publictraffictype: Email x-incomingheadercount: 51 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(20181119110)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031322404)(2017031323274)(2017031324274)(1601125500)(1603101475)(1701031045); SRVR:AM5EUR02HT219; x-ms-traffictypediagnostic: AM5EUR02HT219: x-microsoft-antispam-message-info: G4jYwftw9aqK5XLaUm3BJQnpmz1eNOK3Qi6DU4906p9PBJOWQyb2nre0NQfuTO2l MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 0fe0b1a8-cd9c-4e6a-b7db-08d69f309087 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Mar 2019 17:00:25.7618 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5EUR02HT219 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190302_090030_034746_C543A99A X-CRM114-Status: GOOD ( 10.65 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , "devicetree@vger.kernel.org" , Heiko Stuebner , Jonas Karlman , "linux-kernel@vger.kernel.org" , Rob Herring , "linux-arm-kernel@lists.infradead.org" Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add led nodes on Rock64. Use heartbeat trigger for the red standby led and use mmc0 trigger for the white power led. Signed-off-by: Jonas Karlman --- arch/arm64/boot/dts/rockchip/rk3328-rock64.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts index 8f3e4b7d55c9..c4031b7718fc 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts @@ -65,6 +65,20 @@ regulator-max-microvolt = <5000000>; }; + leds { + compatible = "gpio-leds"; + + standby { + gpios = <&rk805 0 GPIO_ACTIVE_LOW>; + linux,default-trigger = "heartbeat"; + }; + + power { + gpios = <&rk805 1 GPIO_ACTIVE_LOW>; + linux,default-trigger = "mmc0"; + }; + }; + sound { compatible = "audio-graph-card"; label = "rockchip,rk3328"; @@ -157,6 +171,8 @@ interrupts = <6 IRQ_TYPE_LEVEL_LOW>; #clock-cells = <1>; clock-output-names = "xin32k", "rk805-clkout2"; + gpio-controller; + #gpio-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pmic_int_l>; rockchip,system-power-controller; From patchwork Sat Mar 2 17:03:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonas Karlman X-Patchwork-Id: 10836687 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4263117E0 for ; Sat, 2 Mar 2019 17:03:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2373D2AF1B for ; Sat, 2 Mar 2019 17:03:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 137CD2AF1D; Sat, 2 Mar 2019 17:03:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BA31E2AF1B for ; Sat, 2 Mar 2019 17:03:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2DA4idyqc6IIdv8jqxh/JzGrxENPGPRJoPeaHhlmPgI=; b=W7B1uWManUAUsT 0h5p4vaXWowaAqx1GEP2Rtuww0rHhTBCnCo2Ba9xSuH3UihGdlupHcxpiByb6PP/8eHm8ggf3NjjA t9o528AHTkbRqCK5eOpd7NuezwWAd9/6hEJrjTAdl+DcSVOUAWjOTUxUTruxVYEeNKp36nnk2pN0c 3GLYlJCgn2R/bnAgu/KnNbPLGeGxwbM91g3A4Vz+4A90DEpermXOxiJQWcdzlWSexuZViF7YAJaEL s9RS+yzI638hSkZoGioISejazS7U2R1J2JZidGh61/ZxKLJtxmDC+/2RGOKdFC8wRD/9+u+5vAyOZ z1ghtnPAbYsomiehyuxQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h082j-0001Jz-LX; Sat, 02 Mar 2019 17:03:21 +0000 Received: from mail-oln040092068093.outbound.protection.outlook.com ([40.92.68.93] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h082g-0001JN-7A; Sat, 02 Mar 2019 17:03:19 +0000 Received: from AM5EUR02FT035.eop-EUR02.prod.protection.outlook.com (10.152.8.58) by AM5EUR02HT187.eop-EUR02.prod.protection.outlook.com (10.152.9.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.21; Sat, 2 Mar 2019 17:03:14 +0000 Received: from AM3PR03MB0966.eurprd03.prod.outlook.com (10.152.8.58) by AM5EUR02FT035.mail.protection.outlook.com (10.152.8.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.21 via Frontend Transport; Sat, 2 Mar 2019 17:03:14 +0000 Received: from AM3PR03MB0966.eurprd03.prod.outlook.com ([fe80::8011:1f4d:3804:e5f3]) by AM3PR03MB0966.eurprd03.prod.outlook.com ([fe80::8011:1f4d:3804:e5f3%10]) with mapi id 15.20.1665.015; Sat, 2 Mar 2019 17:03:14 +0000 From: Jonas Karlman To: "linux-rockchip@lists.infradead.org" Subject: [PATCHi 3/3] arm64: dts: rockchip: add ir-receiver node on rk3328-rock64 Thread-Topic: [PATCHi 3/3] arm64: dts: rockchip: add ir-receiver node on rk3328-rock64 Thread-Index: AQHU0RnSV41nMhS4dkaA96HAG2l7fQ== Date: Sat, 2 Mar 2019 17:03:14 +0000 Message-ID: References: <20190302165641.10905-1-jonas@kwiboo.se> In-Reply-To: <20190302165641.10905-1-jonas@kwiboo.se> Accept-Language: sv-SE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM5PR04CA0011.eurprd04.prod.outlook.com (2603:10a6:206:1::24) To AM3PR03MB0966.eurprd03.prod.outlook.com (2a01:111:e400:884c::23) x-incomingtopheadermarker: OriginalChecksum:90CC59655BF4AC12BDE79A7BC8AD6A80D278E372D49882EB116904F51CBF40F2; UpperCasedChecksum:094575092B066C72A5C6703ECD90F54E8A235E6C80771144E3189F5A40DFFD35; SizeAsReceived:7834; Count:51 x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-tmn: [OeEbGXKAatZLcbLOL17bwcjSC84gHXwR] x-microsoft-original-message-id: <20190302170305.11065-1-jonas@kwiboo.se> x-ms-publictraffictype: Email x-incomingheadercount: 51 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(20181119110)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031322404)(2017031323274)(2017031324274)(1601125500)(1603101475)(1701031045); SRVR:AM5EUR02HT187; x-ms-traffictypediagnostic: AM5EUR02HT187: x-microsoft-antispam-message-info: RKekIZF/GCb6HL4hM/iNS00YAkTvWLvsehIQX/rZLbaRQOckKHPJQHVCV1s0yrp4 MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: e223b9e2-3587-40bf-2c0f-08d69f30f50f X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Mar 2019 17:03:14.4938 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5EUR02HT187 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190302_090318_260340_36D487F6 X-CRM114-Status: GOOD ( 10.26 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , "devicetree@vger.kernel.org" , Heiko Stuebner , Jonas Karlman , "linux-kernel@vger.kernel.org" , Rob Herring , "linux-arm-kernel@lists.infradead.org" Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add ir-receiver node to enable on-board IR on Rock64. Signed-off-by: Jonas Karlman --- arch/arm64/boot/dts/rockchip/rk3328-rock64.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts index c4031b7718fc..25d0f57254fb 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts @@ -79,6 +79,13 @@ }; }; + ir-receiver { + compatible = "gpio-ir-receiver"; + gpios = <&gpio2 RK_PA2 GPIO_ACTIVE_LOW>; + pinctrl-0 = <&ir_int>; + pinctrl-names = "default"; + }; + sound { compatible = "audio-graph-card"; label = "rockchip,rk3328"; @@ -297,6 +304,12 @@ }; &pinctrl { + ir { + ir_int: ir-int { + rockchip,pins = <2 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + pmic { pmic_int_l: pmic-int-l { rockchip,pins = <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;