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: 10836677 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 239DC1669 for ; Sat, 2 Mar 2019 16:57:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0AFB32AE27 for ; Sat, 2 Mar 2019 16:57:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F304A2AE2A; Sat, 2 Mar 2019 16:57:09 +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 AD3AA2AE27 for ; Sat, 2 Mar 2019 16:57:09 +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=jOk+QqqqbihmjFgNyiwaY0WdFlfCahVlSwbJEQDxAQ4=; b=H2Uryr0FycgB5A TISewBzfJBKGAVN0mqBmbmINBAJxas0+vJHUCEpy1wtdBlT3FQxSGtNkdnoKu6m9iVsnnHbdLEQvx kpROY3cGuYyI5ZDXZkxdUfcv8TYDy4rxDTylbfuvlSVH4WGBWlnOTj8w0vC+iDqIXGbuLG5qsVgmY IfFBUO1AVtWf7V+kxLP6KZjjay06dm7V18IgDStTN0KxfqdMzLW3hMIj/H4XlX7M1CJxUgBoeVvxY TK6CiX2xxYkbdMM4PJ91I+awkBYEYl4t+4GMfW/zIrAUuIS7Y3kx92k+XtmWEchaQt44BCjVlQycy LtOvhP+IPmncvjITlTxQ==; 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 1h07we-0006VB-HV; Sat, 02 Mar 2019 16:57:04 +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-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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: 10836685 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 A43D517E0 for ; Sat, 2 Mar 2019 17:00:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8BA8A2AF03 for ; Sat, 2 Mar 2019 17:00:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7CB4F2AF05; Sat, 2 Mar 2019 17:00:40 +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 3525E2AF03 for ; Sat, 2 Mar 2019 17:00:40 +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=SRDwpX9LQxmacTVKRjMB3/oFoZ7vOBMB2eB1tThnupc=; b=N/kwUhz1TCoPb/ f5Wjl1wK0Vx/P6pGqyLvgMqoHpey51ijcrWF47dylxtJbAxHrX5Zp5HWOSFFRDywo0Q82jxSLKCws 860Y0WtCpfjxroCXpokzaWZZzhxMm4HB/mDQbFx+hXqYs1k52nhU/er7hVl6eO/xv9UK+XwLQ+Stw MDA7zwWLExSkeWzXlpAtZqxEZ3PzoVxikQvhRW6pkzztQD+BGnsbdWqBHBE3xEwdPt//OgiM1MW6d et5vBOuinNb3BbLyxP5pTtODZT960ojaon587HCRMeayZjAgsoaLGdIbXIh7GnY5PspLIj6LQEuee x/zRR2bAB55tQmlPHnfQ==; 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-0008Ta-VS; 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-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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: 10836689 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 1E65B1575 for ; Sat, 2 Mar 2019 17:03:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0420A2AF1B for ; Sat, 2 Mar 2019 17:03:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EC4072AF1D; Sat, 2 Mar 2019 17:03:25 +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 A5BEF2AF1B for ; Sat, 2 Mar 2019 17:03:25 +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=wJ//OnRidd9lJ0ItzzpOiBl0ZyeiOcFDojHTPdDHZgA=; b=UseVu4AvyWvQAt R+ZwESO0p9CU8dfSP3+smMDHlOFw0R9JKWN+KMnPeixC6OTdBb51djP5oymnWqEpRELt0mYef108t ZMT+dzg2/xYhTzion8xy6AT6IrD1vhchbT3kl8KFBQQBVPRIcPFktSXO7GS3+clJm61MGaa9gXeD9 BVcN009w7InYN2ZlR0JIx7CdP2O+jCr4z/plSTzUiSsrD5aT3utVaOjkzcE3abI+9jvvgLeDS2Cay nUxeP8Qi8kL15nPCtN7fawDMOrId95lw0EgUxQov9tDbD9OcEI6vXvBuI3JD5vZ1S3hNxu3T8QpXJ LSf8fB+WfufiJKGVroHw==; 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 1h082k-0001KP-Cv; Sat, 02 Mar 2019 17:03:22 +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-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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>;