From patchwork Sun Dec 13 18:37:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11970965 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A2157C4361B for ; Sun, 13 Dec 2020 18:47:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7709220723 for ; Sun, 13 Dec 2020 18:47:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730331AbgLMSi4 (ORCPT ); Sun, 13 Dec 2020 13:38:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728355AbgLMSi4 (ORCPT ); Sun, 13 Dec 2020 13:38:56 -0500 Received: from mail-il1-x12b.google.com (mail-il1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9C49C0613D3; Sun, 13 Dec 2020 10:38:15 -0800 (PST) Received: by mail-il1-x12b.google.com with SMTP id r17so13771909ilo.11; Sun, 13 Dec 2020 10:38:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bnNZpouDtXZ6JVyCncpzFotVu0pnppWoVOkCUxQE8Kk=; b=tPWnADUhR7aRXU2NMjgNc8UCES6BFUd4OQaTV0WixYzX2fZr6eY+/vvzF4/rdxpzns ISDr6Puy50iN8SxlMsGMK5VEl8DCgYrHQlrLjZIW0naeSKtrReMZUnhuULH3BxVY1leb 80AFCZ0WkFGxVbz/PdF1IG07IYu15GHL64kA5R0PAQ9XNT9zfThUKi8HKK2m0T8H6jhI 3ldcZooZhkj10/AEzph8p3Lfy1ad5YPkF0qLSS12leeTG8K2D4ddMABleneEl/bfA7lq sFRhsEKZkjmWkMXAFIlRqPcj42029ycz0jB7S6daV5vbZ1bHAuHaRA4eqV1m7vcXIxpW VlNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bnNZpouDtXZ6JVyCncpzFotVu0pnppWoVOkCUxQE8Kk=; b=MZTA8/2cT6fVlp9oAh85Q0wCQZYWIhD9A4A6+hI5M28WPznesEvVuLBWfQPEjAzZ4n eGcRjsmNwIndRfVoi60nxYqJSakCVwf8et7fl/xBTBinIJ4uIr25qx7ULTRCMVx3vF3T QJ093RY5/uWKbSoxK8p3NjnVdSL6KIf2V4WCwbggwj8NMDL1UNGqo+Ty1RdwVZewF9Hb IBNDAEnEPUlnGYfV7hE7Kbtn2SG6vQdFq8LNtQMi8yXh+SqWx8/309o28m8lRpjWHpBG qINjWyMrNQ/LI8xTjZeMxjAjquTT2Z6dHr13zuTBmKSAqNTJ2OV+g/6zndVTRmFOvF+I dYLw== X-Gm-Message-State: AOAM531y1ZHquZxc8bQLMiwNtSvIIwlG3Lxc8d7XQ3Na7q6NvotpRFsE vHoYmLcbWw9O7Grc3AjiiL/huIzLcPbO1g== X-Google-Smtp-Source: ABdhPJwN/nI/i2pLjiO0PKCttMVyRi1o2TCgBn8hm4+nb10IEp3CPl72fSS27gv+oo0wbU99US8ubQ== X-Received: by 2002:a92:d9cd:: with SMTP id n13mr28771012ilq.96.1607884694353; Sun, 13 Dec 2020 10:38:14 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:f45d:df49:9a4c:4914]) by smtp.gmail.com with ESMTPSA id o11sm7804532ioa.37.2020.12.13.10.38.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Dec 2020 10:38:13 -0800 (PST) From: Adam Ford To: linux-renesas-soc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , Geert Uytterhoeven , Magnus Damm , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 01/18] arm64: dts: renesas: beacon kit: Configure programmable clocks Date: Sun, 13 Dec 2020 12:37:41 -0600 Message-Id: <20201213183759.223246-2-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201213183759.223246-1-aford173@gmail.com> References: <20201213183759.223246-1-aford173@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org When the board was added, clock drivers were being updated done at the same time to allow the versaclock driver to properly configure the modes. Unforutnately, the updates were not applied to the board files at the time they should have been, so do it now. Signed-off-by: Adam Ford --- .../dts/renesas/beacon-renesom-baseboard.dtsi | 35 +++++++++++++++++-- .../boot/dts/renesas/beacon-renesom-som.dtsi | 26 ++++++++++++++ 2 files changed, 58 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi index e66b5b36e489..3c84e060c69f 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi @@ -5,6 +5,7 @@ #include #include +#include / { backlight_lvds: backlight-lvds { @@ -294,12 +295,12 @@ &du_out_rgb { &ehci0 { dr_mode = "otg"; status = "okay"; - clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>; + clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>, <&versaclock5 3>; }; &ehci1 { status = "okay"; - clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>; + clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>, <&versaclock5 3>; }; &hdmi0 { @@ -373,12 +374,40 @@ versaclock6_bb: clock-controller@6a { #clock-cells = <1>; clocks = <&x304_clk>; clock-names = "xin"; - /* CSI0_MCLK, CSI1_MCLK, AUDIO_CLKIN, USB_HUB_MCLK_BB */ + clock-output-names = "versaclock6_bb.out0_sel_i2cb", + "versaclock6_bb.out1", + "versaclock6_bb.out2", + "versaclock6_bb.out3", + "versaclock6_bb.out4"; assigned-clocks = <&versaclock6_bb 1>, <&versaclock6_bb 2>, <&versaclock6_bb 3>, <&versaclock6_bb 4>; assigned-clock-rates = <24000000>, <24000000>, <24000000>, <24576000>; + + OUT1 { + idt,mode = ; + idt,voltage-microvolts = <1800000>; + idt,slew-percent = <100>; + }; + + OUT2 { + idt,mode = ; + idt,voltage-microvolts = <1800000>; + idt,slew-percent = <100>; + }; + + OUT3 { + idt,mode = ; + idt,voltage-microvolts = <3300000>; + idt,slew-percent = <100>; + }; + + OUT4 { + idt,mode = ; + idt,voltage-microvolts = <3300000>; + idt,slew-percent = <100>; + }; }; }; diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi index 8ac167aa18f0..449ff5937fc6 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi @@ -4,6 +4,7 @@ */ #include +#include / { memory@48000000 { @@ -170,7 +171,32 @@ versaclock5: versaclock_som@6a { <&versaclock5 2>, <&versaclock5 3>, <&versaclock5 4>; + assigned-clock-rates = <33333333>, <33333333>, <50000000>, <125000000>; + + OUT1 { + idt,mode = ; + idt,voltage-microvolts = <1800000>; + idt,slew-percent = <100>; + }; + + OUT2 { + idt,mode = ; + idt,voltage-microvolts = <1800000>; + idt,slew-percent = <100>; + }; + + OUT3 { + idt,mode = ; + idt,voltage-microvolts = <1800000>; + idt,slew-percent = <100>; + }; + + OUT4 { + idt,mode = ; + idt,voltage-microvolts = <3300000>; + idt,slew-percent = <100>; + }; }; }; From patchwork Sun Dec 13 18:37:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11970919 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CA78DC0018C for ; Sun, 13 Dec 2020 18:39:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8EC732336D for ; Sun, 13 Dec 2020 18:39:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731365AbgLMSjM (ORCPT ); Sun, 13 Dec 2020 13:39:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730828AbgLMSi5 (ORCPT ); Sun, 13 Dec 2020 13:38:57 -0500 Received: from mail-io1-xd41.google.com (mail-io1-xd41.google.com [IPv6:2607:f8b0:4864:20::d41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AEDFC0613D6; Sun, 13 Dec 2020 10:38:17 -0800 (PST) Received: by mail-io1-xd41.google.com with SMTP id z136so14774786iof.3; Sun, 13 Dec 2020 10:38:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Xa9KSmcIOrXLckBUdZRAGZxioqxejsGUcX5WxxupjKI=; b=dBKuTDgJDLYQaqaycnjFNKs8HrY5SnjsecnIEsjBYK905kAVC2MUkoLqtm3Myq4iTW 4dO+QJQo6aS1+c7EymD6168zSnZTIXx2IotLdoR6oj6DReB35vU30ua8c6CeEVEyviK5 dARhcT9cueLh57dPw5p1jmri0aSWG57r+QF+4hsJ9qwhlqMq6I313kmv1mytk/ynmyLh bNYT/V/pDLar+U/PlmcB+90IZ4TXqnAqm2JZTJ8q04VxDbPF5ONDzAmyxdlqMXP01BU4 //Cjx8cd85+K9XnXNEHT1KMjSRxjC/v1MGBbvNp/a0Sg+MHsdY7lrz5oOev2bR+YbLph smdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Xa9KSmcIOrXLckBUdZRAGZxioqxejsGUcX5WxxupjKI=; b=pVrNhWgSGAjpLzrt91PM1UenjqXi1ZqcQieifHrMFp/Fdi/z3vKIByfsMqd/onsH3i jJpwwxUQHfuERyc/4+l34NVRTGGeqTpwm8aZL+n9pyFyYQGddE7GD2Lu7KucRX6BI212 klXh+d4i1dP2CVzAj7rqKoptLehR4lPI2OOXYs7q8NdpujWy15yXMBq/X38IEN6wMHC6 Hb3oxV9dYJ571DDf1IxyXGSgDqk5l/JolPWFC8Y96ie99llXZMTfowezzNW4ZRwsccv/ YwgtDcCCHTJeZE2E87fajPOYhEM25ciekB/SYR9ApzQZFejiPeaGbk4984wC9bgqIDqk vDTg== X-Gm-Message-State: AOAM5301P9xZNhIqPt2e1UKVB3HBUvCfONxkW0VP5gRB0Nd5Dgg0/m1E J9HrCSMC4RBqHzY36ZNTqdbmsTr9nr3czg== X-Google-Smtp-Source: ABdhPJwVzNvySxmx66WVJ2IfQ5nbRnGyr6bqrql2Bqt4waEfGRAk5Sr+ab6xLPDgqapc/S0Y/dIJGg== X-Received: by 2002:a02:2444:: with SMTP id q4mr14829516jae.43.1607884696206; Sun, 13 Dec 2020 10:38:16 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:f45d:df49:9a4c:4914]) by smtp.gmail.com with ESMTPSA id o11sm7804532ioa.37.2020.12.13.10.38.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Dec 2020 10:38:15 -0800 (PST) From: Adam Ford To: linux-renesas-soc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , Geert Uytterhoeven , Magnus Damm , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 02/18] arm64: dts: renesas: beacon kit: Fix choppy Bluetooth Audio Date: Sun, 13 Dec 2020 12:37:42 -0600 Message-Id: <20201213183759.223246-3-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201213183759.223246-1-aford173@gmail.com> References: <20201213183759.223246-1-aford173@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org The Bluetooth chip is capable of operating at 4Mbps, but the max-speed setting was on the UART node instead of the Bluetooth node, so the chip didn't operate at the correct speed resulting in choppy audio. Fix this by setting the max-speed in the proper node. Fixes: a1d8a344f1ca ("arm64: dts: renesas: Introduce r8a774a1-beacon-rzg2m-kit") Signed-off-by: Adam Ford Reviewed-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi index 449ff5937fc6..c50f8e63c80f 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi @@ -90,7 +90,6 @@ &hscif0 { pinctrl-names = "default"; uart-has-rtscts; status = "okay"; - max-speed = <4000000>; bluetooth { compatible = "brcm,bcm43438-bt"; @@ -99,6 +98,7 @@ bluetooth { device-wakeup-gpios = <&pca9654 5 GPIO_ACTIVE_HIGH>; clocks = <&osc_32k>; clock-names = "extclk"; + max-speed = <4000000>; }; }; From patchwork Sun Dec 13 18:37:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11970921 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A5576C433FE for ; Sun, 13 Dec 2020 18:39:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 74DDB2335A for ; Sun, 13 Dec 2020 18:39:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731031AbgLMSjM (ORCPT ); Sun, 13 Dec 2020 13:39:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727843AbgLMSi7 (ORCPT ); Sun, 13 Dec 2020 13:38:59 -0500 Received: from mail-il1-x144.google.com (mail-il1-x144.google.com [IPv6:2607:f8b0:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24D36C061793; Sun, 13 Dec 2020 10:38:19 -0800 (PST) Received: by mail-il1-x144.google.com with SMTP id u12so13727779ilv.3; Sun, 13 Dec 2020 10:38:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nirapVzmyBXtlR0zSXiW6nUnfOw2BvU+F4T6ARlrvxg=; b=Ulx4DJdoJiPMBFJHRJhE7s0qoe2BunLbwy+/YU9Oby1X6yraveGrTQEYRTQefcq7Ah w8x95Ie+zyQAouuWFFej0aGppBOCazKrevrrG25xzFWWH1Sv2GN5fKzajbMxnktxogv+ D+YEIkqnV3Pu2dbHrXhKaLrT67yJ2JTqv+16+H1EpFDqPpi8CKxTYcsHYdbfVIleP5IV p1/k7520M0aorSG9cHA1Ty8vIBcqplPtNpVZ0ok0YKr47U1wZ002Qfm2dog/OvAIE3R+ pQbS7E1nxCR4V1JQPKLyHESDOO0GYCFMWpQU6OPzNLZIBBMbnbUPq6WSt1gt2+ARAtkz Y9yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nirapVzmyBXtlR0zSXiW6nUnfOw2BvU+F4T6ARlrvxg=; b=LlnS1ciyMNSsL7iv0cgkWsWPPBjKe2ptuFaI0qA+prmp13ni/hapGgHoPF7YNuh18S +cBeoB4bXZ0fRmpyYEfobDekEG2dTUgBviHmHt65cnuZ/SRETQ7IjoI3Q9fa9YKFZvPU N3GF31dL9R4A/wWqdJgb5p8yWnDKEO2epepzan/xhkR1/FyIG7BGU/kkfTqj9Vai4XqQ 26iaC8bO2h26kQWC6/vNuOY/XfbgBmKzfXsC3OLo20OtXWnPby/rc1ez14BsjvxyT/gq hjBZ9ncwyzTvOSiSYsJHQFDzWXVCF6A4DWn7E5Qi4n+NT0HQMZn1qWiQ9jzm9tNQLw+U NAoA== X-Gm-Message-State: AOAM530YnaPP9hjk0qic0aeej3F0XzYuZXKY/A694WSWco+KRHhVbkuP L8rSPgScPLi0s7giXf5jYeSk32VgJBIvug== X-Google-Smtp-Source: ABdhPJzuqO7ExBQ42b6qpF+2h8qwDjlk11nn0HmZQj1OxT+des4uAQ9pSTi6lBTfiylltRvFnv8Kgw== X-Received: by 2002:a92:155b:: with SMTP id v88mr28688882ilk.303.1607884698202; Sun, 13 Dec 2020 10:38:18 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:f45d:df49:9a4c:4914]) by smtp.gmail.com with ESMTPSA id o11sm7804532ioa.37.2020.12.13.10.38.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Dec 2020 10:38:17 -0800 (PST) From: Adam Ford To: linux-renesas-soc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , Geert Uytterhoeven , Magnus Damm , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 03/18] arm64: dts: renesas: beacon kit: Remove unnecessary nodes Date: Sun, 13 Dec 2020 12:37:43 -0600 Message-Id: <20201213183759.223246-4-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201213183759.223246-1-aford173@gmail.com> References: <20201213183759.223246-1-aford173@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org VSPI0 and VSPB are already enabled by default. There is no need to add extra nodes to enable them. Remove the redundant nodes. Signed-off-by: Adam Ford Reviewed-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi | 8 -------- 1 file changed, 8 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi index c50f8e63c80f..b093a34b0fa0 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi @@ -329,11 +329,3 @@ &usb_extal_clk { &usb3s0_clk { clock-frequency = <100000000>; }; - -&vspb { - status = "okay"; -}; - -&vspi0 { - status = "okay"; -}; From patchwork Sun Dec 13 18:37:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11970917 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91BC5C4167B for ; Sun, 13 Dec 2020 18:39:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5B40223123 for ; Sun, 13 Dec 2020 18:39:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728355AbgLMSjG (ORCPT ); Sun, 13 Dec 2020 13:39:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730855AbgLMSjB (ORCPT ); Sun, 13 Dec 2020 13:39:01 -0500 Received: from mail-io1-xd44.google.com (mail-io1-xd44.google.com [IPv6:2607:f8b0:4864:20::d44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CD37C061794; Sun, 13 Dec 2020 10:38:21 -0800 (PST) Received: by mail-io1-xd44.google.com with SMTP id i9so14776818ioo.2; Sun, 13 Dec 2020 10:38:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=R39Rwz4DdlZNbxK0NlR+QqP+ugFFGtu+dGWo7hlUUtM=; b=B/ncj1YbKpSLNRe4bjzanj92gLsIyL9UHz5JeSE7i/3AVH7OE1cCZZ7PZaKJ7tvUHe PXlEjilKjx1PcVtdIcgS83cGZm/3rnMrqc9NWLxZEV2GgY1KWdyYKclJobEgncNQDvbe RXRrrVcwL3detrRCG9OiFZOi/ykKyzxGKbuWLlFe2Gktc8cHhs8RhRZU49ncbW7+ptbq /4u/eXWj6yjnEZn6JpoGfAkMlxh9+9IMvb9xv2otW9b7qX2w0V4bGGc9GZOp45SaKKd8 E3/tqxXQFyxUzlDwWQ1AiHIoBYBPsEv4jqBAHz9SgSUyEC6AGSeleD+vBKRbWQ2M+YLy k04Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=R39Rwz4DdlZNbxK0NlR+QqP+ugFFGtu+dGWo7hlUUtM=; b=UaZEvjau6Cq4mfxwEeNBCMU2X5kWq/OgL3C3jJNx4gbvDSDB2UUj3LKUNm71KCp2MB tpyzmLZIyusWKMWaamp08kYQsGADiWJi0f3PIUcH3pDynLHmEMkJ+8VkijxnQ59rUe9+ CuZrElsa1pKz2AK62tyWr6b+vr4lmvaTowfWK5P60asmdbD7ziPa1hvj9N+hOUP7XKO7 2AdvIq8MBpMLfr3acU5I4uKIHAx7a16XpupwO9zsZBqHeOX2ZPm8ZV93mRqIMGKKW/5B gKutoD2hxxgFs9N7x1rwMEWB2ATGPHJ7VjNXVhotzAFkkPpZVEO857gkgesprNov/ne6 FtjA== X-Gm-Message-State: AOAM5312VbHVf9H5bx4bBb/EcH1ZyAtNQy6fIE+K6vm4H/NDnBIuvWGG SHuX3I0i6Q8maN+CBP5pZthi1CfFYzUiKQ== X-Google-Smtp-Source: ABdhPJzyegeJcyjn3ooQOokSHbBZ1dfTN30TM29clG8CYpCeTLYbcHf+6dIg8TtxT/d6I0tXItRguA== X-Received: by 2002:a5e:dd0d:: with SMTP id t13mr216306iop.132.1607884700132; Sun, 13 Dec 2020 10:38:20 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:f45d:df49:9a4c:4914]) by smtp.gmail.com with ESMTPSA id o11sm7804532ioa.37.2020.12.13.10.38.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Dec 2020 10:38:19 -0800 (PST) From: Adam Ford To: linux-renesas-soc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , Geert Uytterhoeven , Magnus Damm , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 04/18] arm64: dts: renesas: beacon kit: Fix Audio Clock sources Date: Sun, 13 Dec 2020 12:37:44 -0600 Message-Id: <20201213183759.223246-5-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201213183759.223246-1-aford173@gmail.com> References: <20201213183759.223246-1-aford173@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org The SoC was expecting two clock sources with different frequencies. One to support 44.1KHz and one to support 48KHz. With the newly added ability to configure the programmably clock, configure both clocks. Beacause the SoC is expecting a fixed clock/oscillator, it doesn't attempt to get and enable the clock for audio_clk_a. The choice to use a fixed-factor-clock was due to the fact that it will automatically enable the programmable clock frequency without change any code. Signed-off-by: Adam Ford --- .../boot/dts/renesas/beacon-renesom-baseboard.dtsi | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi index 3c84e060c69f..5c09e64001cc 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi @@ -250,9 +250,12 @@ ss_ep: endpoint { }; &audio_clk_a { - clock-frequency = <24576000>; - assigned-clocks = <&versaclock6_bb 4>; - assigned-clock-rates = <24576000>; + /delete-property/ clock-frequency; + #clock-cells = <0>; + compatible = "fixed-factor-clock"; + clock-mult = <1>; + clock-div = <1>; + clocks = <&versaclock6_bb 4>; }; &audio_clk_b { @@ -591,7 +594,7 @@ sound_pins: sound { }; sound_clk_pins: sound_clk { - groups = "audio_clk_a_a"; + groups = "audio_clk_a_a", "audio_clk_b_a"; function = "audio_clk"; }; From patchwork Sun Dec 13 18:37:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11970959 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE870C4167B for ; Sun, 13 Dec 2020 18:45:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A206420723 for ; Sun, 13 Dec 2020 18:45:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729216AbgLMSpm (ORCPT ); Sun, 13 Dec 2020 13:45:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732005AbgLMSjg (ORCPT ); Sun, 13 Dec 2020 13:39:36 -0500 Received: from mail-io1-xd44.google.com (mail-io1-xd44.google.com [IPv6:2607:f8b0:4864:20::d44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7017C06179C; Sun, 13 Dec 2020 10:38:22 -0800 (PST) Received: by mail-io1-xd44.google.com with SMTP id z5so14759848iob.11; Sun, 13 Dec 2020 10:38:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=IaTw/CoXTEDe2jdjMYJgtS7muhBT7sMsP2gQ28UOtHY=; b=l+VEMmGMLuuv9oP3vzKGKPva9hQYPU0U363al+8kPVaiSmIBpKER6ssi/aAKUQ2GdR pPD3mUo4+JJu1tqOLCyPOgE/CFpri/StpoG+8fEG2v7ippmhQQRCYSmukTzNgoMXjxAO ZwtuHV2sNFt+QCLnBQXgSmzD5eXIAqbRMa9oCA7dl2PHLUSEXXbK9oaNzEM+036U37h6 d4Npp9xAEJeSLpVCAOOzDCtaaxKRNz38l/rr8PfRqtNnbGMT26TI0xO5+p51Ob5AQOsH MfwI6OXFRpKXDjA71BRq9L4Zl85LaxGJx1+2h3j3yrR3Uoa/HponG6PEuX7hYRcps5GV l2Pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=IaTw/CoXTEDe2jdjMYJgtS7muhBT7sMsP2gQ28UOtHY=; b=HWeWgBIMcfeEDgkYei7sAZcrmdALECZO8oC0c4FNI7dHuLZ3mca6GvQ7QLpjKVSI11 jKJiJrnrJmvNXZq7YDhT/de/1U+V8uQIAI2w0Vlm2i/zE+zswvHWulJdcKigCdbxvXED n/m0JZas2psT/LozbhdQLWxp3EbH47bJOkc90Hho66SdP4Vyh7VrZ5WPuii4J5aSUa2w 3s0QoWim3Jnp7NQ0dPohVdUd2594Qbk+6mDYgTMm31SUM4rntnEfZZ3Nq3+sPtvfOnb0 dJoaaL4LR6AF1QlAA9rjMAPBmPVFbax3ztk2zrsfKDnjqmXUnqWXSkqSjtymSWj6GfYx bFOA== X-Gm-Message-State: AOAM533byFaLV/Dx17St5ALVpdsMWFKCL12n+6hXHv6iTM4xbobF52Ha m0sCfNKoryqw5cCemNYwBPUvwrbL6L1CfA== X-Google-Smtp-Source: ABdhPJwUSNR4r6DcUg1Hysup9rEq6RnKVxA7vVIr/U1JzElcqjxx9gkrUCKcxnLTDJdCWcoqznJSBg== X-Received: by 2002:a5e:8d13:: with SMTP id m19mr26302068ioj.169.1607884701976; Sun, 13 Dec 2020 10:38:21 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:f45d:df49:9a4c:4914]) by smtp.gmail.com with ESMTPSA id o11sm7804532ioa.37.2020.12.13.10.38.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Dec 2020 10:38:21 -0800 (PST) From: Adam Ford To: linux-renesas-soc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , Geert Uytterhoeven , Magnus Damm , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 05/18] arm64: dts: renesas: beacon: Fix audio-1.8V pin enable Date: Sun, 13 Dec 2020 12:37:45 -0600 Message-Id: <20201213183759.223246-6-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201213183759.223246-1-aford173@gmail.com> References: <20201213183759.223246-1-aford173@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org The fact the audio worked at all was a coindicence because the wrong gpio enable was used. Use the correct GPIO pin to ensure its operation. Fixes: a1d8a344f1ca ("arm64: dts: renesas: Introduce r8a774a1-beacon-rzg2m-kit") Signed-off-by: Adam Ford --- arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi index 5c09e64001cc..ee7809e8db07 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi @@ -151,7 +151,7 @@ reg_audio: regulator_audio { regulator-name = "audio-1.8V"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; - gpio = <&gpio_exp2 7 GPIO_ACTIVE_HIGH>; + gpio = <&gpio_exp4 1 GPIO_ACTIVE_HIGH>; enable-active-high; }; From patchwork Sun Dec 13 18:37:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11970961 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 90ED0C2BBCD for ; Sun, 13 Dec 2020 18:45:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6E9AD2072E for ; Sun, 13 Dec 2020 18:45:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404092AbgLMSpo (ORCPT ); Sun, 13 Dec 2020 13:45:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732425AbgLMSjg (ORCPT ); Sun, 13 Dec 2020 13:39:36 -0500 Received: from mail-il1-x141.google.com (mail-il1-x141.google.com [IPv6:2607:f8b0:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD676C0617A6; Sun, 13 Dec 2020 10:38:24 -0800 (PST) Received: by mail-il1-x141.google.com with SMTP id n9so2821260ili.0; Sun, 13 Dec 2020 10:38:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jcDVGybb7Pc9GBcQHLaSWMHVNO9chVKX8Fz4lnmvy7U=; b=W+/NhBJJJGlftGfFsiQvAaV/iErFEK2vIB3Rqu0NxfujXPIfZjXgUr+ulMNatUeU7P Xb/nyFrD5uK+hlIdLrNeHZBaS+2aJt4IFc5XUJR+WviUGezvbCDF0E0zHIWqyCmNl1gk fYUFQD1OsYhaBcSZ8EODCjWiVFUqOYOBbkSXYUOeseK06DCqmvO5PjuPtds7G+Qna10O z7wcRj1ERMvo8/WtWVw7C1we07XTbJpizDE9Aq3wDlgrBZtb+EpstESgN0fkgT3MVcC3 0/TyiDnwyJPLg9wykRob2UJ4IqvymLikZwLvUUHtc7YHIRmQG3s+uhhMgzismqu08fJw JArA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jcDVGybb7Pc9GBcQHLaSWMHVNO9chVKX8Fz4lnmvy7U=; b=lG3wIw35HQLXh6uD/z1rgd5So5DJIXWFKNShFlxhQdI3ccl4FLb9I8rCHdRoV7PrfI KauTnngrmQVH9CMfZsWIrwsEbqsuXqXEGjc5eq+wvWxgUBl+uS2FUh+QouTIj7vn/Wrb Fqirhfca97yDpiYBXNEq3T5Ap21g1/v+FdukUIPYMkTKhYJfR7VMl4nZa7s8bz9eGKVd TvMHt5/jNGmpn4fE0GT81hGoFbS0Gp79T5dXM8KX/JoILlJlbGtv+s024eHXcvzqNVlh I10RWg1k/FY18BuAK9Z91MLtEUMN9yPbvI0eVysCIDstzb8ZwByD5Zj1Cn5vkw/zZAQj QYYg== X-Gm-Message-State: AOAM532gKPFt0n4OxX6Lu5+NW8ZneEp+F7Txr6rtvc2LsSTbAIICfLrg WosIuyJiLRKv2h3nT1Qi3igEMVfIdlqCIg== X-Google-Smtp-Source: ABdhPJxXVbsEgXPKkFbcR+uSRGecZRKtw8R/+4vZ1REypgoPxMMsXD1hm1QTstg55lTxGFWGOoqC+Q== X-Received: by 2002:a92:cb52:: with SMTP id f18mr29745435ilq.41.1607884703989; Sun, 13 Dec 2020 10:38:23 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:f45d:df49:9a4c:4914]) by smtp.gmail.com with ESMTPSA id o11sm7804532ioa.37.2020.12.13.10.38.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Dec 2020 10:38:23 -0800 (PST) From: Adam Ford To: linux-renesas-soc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , Geert Uytterhoeven , Magnus Damm , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 06/18] arm64: dts: renesas: beacon: Configure Audio CODEC clocks Date: Sun, 13 Dec 2020 12:37:46 -0600 Message-Id: <20201213183759.223246-7-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201213183759.223246-1-aford173@gmail.com> References: <20201213183759.223246-1-aford173@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org With the newly added configurable clock options, the audio CODEC can configure the mclk automatically. Add the reference to the versaclock. Since the devices on I2C5 can communicate at 400KHz, let's also increase that too Signed-off-by: Adam Ford --- arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi index ee7809e8db07..130993b1b20a 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi @@ -424,13 +424,15 @@ &i2c0 { &i2c5 { status = "okay"; - clock-frequency = <100000>; + clock-frequency = <400000>; pinctrl-0 = <&i2c5_pins>; pinctrl-names = "default"; codec: wm8962@1a { compatible = "wlf,wm8962"; reg = <0x1a>; + clocks = <&versaclock6_bb 3>; + clock-names = "mclk"; DCVDD-supply = <®_audio>; DBVDD-supply = <®_audio>; AVDD-supply = <®_audio>; From patchwork Sun Dec 13 18:37:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11970957 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D8F5C1B0D9 for ; Sun, 13 Dec 2020 18:45:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D699F20723 for ; Sun, 13 Dec 2020 18:45:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391674AbgLMSpn (ORCPT ); Sun, 13 Dec 2020 13:45:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732651AbgLMSjg (ORCPT ); Sun, 13 Dec 2020 13:39:36 -0500 Received: from mail-il1-x142.google.com (mail-il1-x142.google.com [IPv6:2607:f8b0:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3E7BC0617A7; Sun, 13 Dec 2020 10:38:26 -0800 (PST) Received: by mail-il1-x142.google.com with SMTP id r17so13772180ilo.11; Sun, 13 Dec 2020 10:38:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LoYJAV8a2D1XCikJH3dylyQqJEhCNsWYACjX6vvO7SA=; b=HdMw7AzfRiMYReaepxBT02Hpr9D99wLw24Snl8YP8dqNUo1sGVfjYpC6NyKhNjB63P 0sQcob654SRUwfwpCqmx5yymoIvsMrRO/Ppa4QqhNZVRuXZ7sZX9jJPDKa1rjC28Nh4b M1uOPixZ6zfNnOqOwp6cQgD9z2U16Mtt3lgFDF1gP5tHLk3Q8YQsY6TE6ESQIvyb3y/C GJeVksQlOK2+JkwoI2DyRFqk/oddajSvJYq3h4soyy21vsUzRK3aCATDZpYSadYiBtOi AbqTDDtXoNEiGle9fBF3L11fuRW0LPC0mzZKDRSU4qrEVOLLWgAlPOkC/TTCUnvssShg rJow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LoYJAV8a2D1XCikJH3dylyQqJEhCNsWYACjX6vvO7SA=; b=V0H1Oei0scNt0neqCNZJ1GwxdPtrWDUtMXJlqC4TDfSq4qajZAD/JJE2Ts9BuNVDOW KZZay1t70DzYN4zMn8avnarNijkJfkHv8DbxPJSUGb/uB5RbXmqCLslbQ1b/BbO/YWGA WGDD4wEqs5JQHcwo2H1HMhXqfWXFtTWai+anosUX9bYp9ywBEpaPlXoqtOfYGvxZTiRN hRpWAOnNsnLx8n1Lqtj8pqTEO5ntH2aVAOw/hzyFz1/AIOhzAJUykSS8h7geWd18M4e9 uo8m9tiadmAFVNNO8lmj2kS2AVVDK1hM7N/GyhJUs2YiWtns/E9tVtAqlmIrY1xDu2te K2mw== X-Gm-Message-State: AOAM532fixItZFEhahyhVkHM6tugp3eoqf+qtLy15QF7MWQp71jeXzxl GbSxVE2BARISkmNehVjH5BizAG8BnLIl3Q== X-Google-Smtp-Source: ABdhPJyLXRJ7g0VJnUtnVX+tJrrg9KdPSuX2wZRv4X7nEFFZxP6rdkv6sVdoKLKb8zKZrBi2mRj8Vw== X-Received: by 2002:a92:6b11:: with SMTP id g17mr414121ilc.287.1607884705996; Sun, 13 Dec 2020 10:38:25 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:f45d:df49:9a4c:4914]) by smtp.gmail.com with ESMTPSA id o11sm7804532ioa.37.2020.12.13.10.38.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Dec 2020 10:38:25 -0800 (PST) From: Adam Ford To: linux-renesas-soc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , Geert Uytterhoeven , Magnus Damm , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 07/18] arm64: dts: renesas: beacon: Fix LVDS PWM Backlight Date: Sun, 13 Dec 2020 12:37:47 -0600 Message-Id: <20201213183759.223246-8-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201213183759.223246-1-aford173@gmail.com> References: <20201213183759.223246-1-aford173@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org The backlight didn't really work correctly due to some updates that were made in hardware. It should be safe to apply these, because the older hardware was never shipped to anyone, so it shouldn't break anything. Signed-off-by: Adam Ford --- .../boot/dts/renesas/beacon-renesom-baseboard.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi index 130993b1b20a..aab39aae5ccb 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi @@ -11,8 +11,8 @@ / { backlight_lvds: backlight-lvds { compatible = "pwm-backlight"; power-supply = <®_lcd>; - enable-gpios = <&gpio_exp1 3 GPIO_ACTIVE_LOW>; - pwms = <&pwm2 0 50000>; + enable-gpios = <&gpio_exp1 3 GPIO_ACTIVE_HIGH>; + pwms = <&pwm2 0 25000>; brightness-levels = <0 4 8 16 32 64 128 255>; default-brightness-level = <6>; }; @@ -119,9 +119,9 @@ panel-timing { hback-porch = <40>; vfront-porch = <13>; vback-porch = <29>; - vsync-len = <3>; + vsync-len = <1>; hsync-active = <1>; - vsync-active = <1>; + vsync-active = <3>; de-active = <1>; pixelclk-active = <0>; }; @@ -575,7 +575,7 @@ pwm0_pins: pwm0 { pwm2_pins: pwm2 { groups = "pwm2_a"; - function = "pwm2_a"; + function = "pwm2"; }; sdhi0_pins: sd0 { From patchwork Sun Dec 13 18:37:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11970963 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C398EC4361B for ; Sun, 13 Dec 2020 18:47:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8D1E620723 for ; Sun, 13 Dec 2020 18:47:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392871AbgLMSpo (ORCPT ); Sun, 13 Dec 2020 13:45:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732699AbgLMSjg (ORCPT ); Sun, 13 Dec 2020 13:39:36 -0500 Received: from mail-il1-x143.google.com (mail-il1-x143.google.com [IPv6:2607:f8b0:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE890C0617B0; Sun, 13 Dec 2020 10:38:28 -0800 (PST) Received: by mail-il1-x143.google.com with SMTP id v3so13806430ilo.5; Sun, 13 Dec 2020 10:38:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=m5YgN6qqhZgsLehjuXc972ccf0CgA0fEb+BYfoDU6UA=; b=UTniVvkHiG+IuE3tQFTlnM8rkaY06ZUKDY26U5uW0vpWvgTKVHImIGpNU49ozYyYoT zaj2aXwnPanlSurwjTzlozvZtoA3Xy5+VEVqOaf1307dWJMbzq3vWX/sP4VZgs3b/wGg 8HrL0RLc6BxJ1Ax8Ifm8WIsnUbSYlalaWS5e3Br+K9dKsV8+iZ4opjm9IoGrBrUfVJ9D y76+ql/T6FWhZs8dd3u56HVzybNhn8YyimXo6U9I9lKgDS0dyd+9Oe/F2u2yUgRIlsUX WLDHcg30V/wzzdv5Y8EmSP/KFpiBJf5or7xiKBLVbZIDO7r+06kyFVmg0NdhitmfseBz FTTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=m5YgN6qqhZgsLehjuXc972ccf0CgA0fEb+BYfoDU6UA=; b=LYOE1sG4+6as1ADEGlqI+XxiIjDotmEIgdNncfyVXXp4tAbTK+P4E6TQ7mYoLp9mhs K5q7ocQx6XuTAB7a17unwDLBgRdPoMAr94fBu+Xa/1BoznhLX3S15cXo+EFzLiw3kJZ0 zcveI5itp3c499aK43ikMLct1U+AX1E5V0thyVaIpjW5VaoCfKtymKOSHJj8prnoJxXW 5uqEdyU5ML5MG8/rXq42EFqUmOgvShA/99+4Bypqgk3wFHYJUShpy9c20iX5QTbGIN8l csRx2L/QZJPzdjAPiXXeplfftz3jUSV7qjW1B00FDTwlbY2HtHRu2KrVkPJvj333OvtL dlGw== X-Gm-Message-State: AOAM532IsTxOdszfrVaxR2Okbld2r3hwyaRp8h9e3TOyTQYym3x+NU14 1kw5J3dxgPJPguuRD5WT+O4xNikj9fodjQ== X-Google-Smtp-Source: ABdhPJz6YYA+/0mMo3J9UskzFnH01qlEcNfdJvylEJB/Y8sHkY5/zcn8ZijzxlwjFox9j324jaVHBw== X-Received: by 2002:a92:5:: with SMTP id 5mr29848324ila.150.1607884707969; Sun, 13 Dec 2020 10:38:27 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:f45d:df49:9a4c:4914]) by smtp.gmail.com with ESMTPSA id o11sm7804532ioa.37.2020.12.13.10.38.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Dec 2020 10:38:27 -0800 (PST) From: Adam Ford To: linux-renesas-soc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , Geert Uytterhoeven , Magnus Damm , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 08/18] arm64: dts: renesas: beacon: Enable SCIF4 Date: Sun, 13 Dec 2020 12:37:48 -0600 Message-Id: <20201213183759.223246-9-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201213183759.223246-1-aford173@gmail.com> References: <20201213183759.223246-1-aford173@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org The baseboard supports SCIF4, enable the pins and the node for it. Signed-off-by: Adam Ford --- .../boot/dts/renesas/beacon-renesom-baseboard.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi index aab39aae5ccb..bf047a9836ed 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi @@ -578,6 +578,11 @@ pwm2_pins: pwm2 { function = "pwm2"; }; + scif4_pins: scif4 { + groups = "scif4_data_c"; + function = "scif4"; + }; + sdhi0_pins: sd0 { groups = "sdhi0_data4", "sdhi0_ctrl"; function = "sdhi0"; @@ -706,6 +711,12 @@ &scif0 { status = "okay"; }; +&scif4 { + pinctrl-0 = <&scif4_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + &scif5 { pinctrl-0 = <&scif5_pins>; pinctrl-names = "default"; From patchwork Sun Dec 13 18:37:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11970923 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 12CE6C4361B for ; Sun, 13 Dec 2020 18:39:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DD8B023123 for ; Sun, 13 Dec 2020 18:39:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388079AbgLMSjl (ORCPT ); Sun, 13 Dec 2020 13:39:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732756AbgLMSjh (ORCPT ); Sun, 13 Dec 2020 13:39:37 -0500 Received: from mail-il1-x143.google.com (mail-il1-x143.google.com [IPv6:2607:f8b0:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6AF0C06138C; Sun, 13 Dec 2020 10:38:30 -0800 (PST) Received: by mail-il1-x143.google.com with SMTP id x15so13824608ilq.1; Sun, 13 Dec 2020 10:38:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=O1ofCR4SUjXYMe9N9sbwulVEYc062acKW/2Q1L8oy2A=; b=PfkbrkyP283kZpJ2dD5xV4G/6CVkRCXBf1Xdojba88UmtM4e6WvyUMuBRP/MdUVX9u BXLAHc+oPQ6T6Iv8DjhkitiqGONIXyCUpiU93LvX/wT65QpDkgnzwUyh59m6/SG6D95g S4P2Hg+CdBZi900i8llkBkWsPN1t099Qy+kiTru5X/VsNaNPeK/GxPZL/QOLeeYn74A/ 2xzX8GlQgXTbt6mBjcesg+jBNYIYShPTOczwqa6Gj1PjlMrqgsGFloj1cz6J9zQPdNPu PW/x4LT6fx00zE0hyMw5GpvKan+l2Ajbnl4dA6c9UKgc9XrvUXky3GD7pjzVaskwArPM 0e+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=O1ofCR4SUjXYMe9N9sbwulVEYc062acKW/2Q1L8oy2A=; b=FpLfD7AzIekz3Zai2+2GoTo0bkyj5ZQmPRdM5HQnR954uqoFML5yCnNJ/d6HFYpEeK 4KeVy1HT50rFGyTp/nUNbtO9eZey2CPGmdVqsLa54hrOK/EtixRFZ/8HxjzAkCr07tQG eKFJTxWP3m0hxJUehGkvps5OFV3G/7OJfXqZi0CFlDe5TYieSvQI+D9w3UdOlgjU4o5I 9AIIj9vwfsHEjHt4bLUHueJH9yG2YaW0XvTai/FIJaSzn0MxvmKNnqm0orXdxYmqmHmD +Fv3AlXs2e8TkqV4+Pw/BOMkTyoEXXhlbEOBtIHO9PGidkbZwlgzsZ+gUFTunThGDqEe 7TEA== X-Gm-Message-State: AOAM533LOUSDuwnvt3CO7zq9f2/ghcfJv8rMRQ/IZH7wPwGXLla9cO0N ccNk+T9gloAqX/mzvvLrRgpldtcunu5GmA== X-Google-Smtp-Source: ABdhPJwptzTJmi8v6kTUJS1r9DxmXNy5TJtDR4V6qHc+KAu7UTZVHs9ToWl32dh/Tdblq+iE3u01Lw== X-Received: by 2002:a92:d44e:: with SMTP id r14mr28850227ilm.83.1607884709943; Sun, 13 Dec 2020 10:38:29 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:f45d:df49:9a4c:4914]) by smtp.gmail.com with ESMTPSA id o11sm7804532ioa.37.2020.12.13.10.38.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Dec 2020 10:38:29 -0800 (PST) From: Adam Ford To: linux-renesas-soc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , Geert Uytterhoeven , Magnus Damm , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 09/18] arm64: dts: renesas: beacon: Fix RGB Display PWM Backlight Date: Sun, 13 Dec 2020 12:37:49 -0600 Message-Id: <20201213183759.223246-10-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201213183759.223246-1-aford173@gmail.com> References: <20201213183759.223246-1-aford173@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org The backlight didn't really work correctly due to some updates that were made in hardware. It should be safe to apply these, because the older hardware was never shipped to anyone, so it shouldn't break anything. Because the display driver refers to the display as DPI, this also renames the backlight to use DPI for consistency. Signed-off-by: Adam Ford --- arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi index bf047a9836ed..87a0f556cd2f 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi @@ -17,12 +17,12 @@ backlight_lvds: backlight-lvds { default-brightness-level = <6>; }; - backlight_rgb: backlight-rgb { + backlight_dpi: backlight-dpi { compatible = "pwm-backlight"; power-supply = <®_lcd>; enable-gpios = <&gpio_exp1 7 GPIO_ACTIVE_LOW>; - pwms = <&pwm0 0 50000>; - brightness-levels = <0 4 8 16 32 64 128 255>; + pwms = <&pwm0 0 25000>; + brightness-levels = <0 25 33 50 63 75 88 100>; default-brightness-level = <6>; }; @@ -136,7 +136,7 @@ panel_in: endpoint { rgb { /* Different LCD with compatible timings */ compatible = "rocktech,rk070er9427"; - backlight = <&backlight_rgb>; + backlight = <&backlight_dpi>; enable-gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>; power-supply = <®_lcd>; port { From patchwork Sun Dec 13 18:37:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11970955 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91030C433FE for ; Sun, 13 Dec 2020 18:45:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 675EE20723 for ; Sun, 13 Dec 2020 18:45:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387661AbgLMSjk (ORCPT ); Sun, 13 Dec 2020 13:39:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732770AbgLMSjh (ORCPT ); Sun, 13 Dec 2020 13:39:37 -0500 Received: from mail-il1-x142.google.com (mail-il1-x142.google.com [IPv6:2607:f8b0:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6AABC061282; Sun, 13 Dec 2020 10:38:32 -0800 (PST) Received: by mail-il1-x142.google.com with SMTP id c18so13771907iln.10; Sun, 13 Dec 2020 10:38:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=p6tsPoNMSLdKhY/7wLeVC20Btxn4HAVOwEt7BvWZpxY=; b=YQ5dsbUEIgwSExuxPO/FCa+OZTUjEQeIkiY3dMgi1R57gEOYZZm6yxiepUGG5ZXUir JMWAJQs2YJFc0AxqSFNFMp2zDq7zfd18QK2ClGTdPOhqvMADjBBDbPzfv735scazFyMI s9WbeezRf0rEwn5L3oZ58tGXWjetFDzYMirt/1Qu4HlSE0dwSobUClH2MIOhvx+Sgt2u oWVRzCf9XOpJVxeM7xKt6dq6fSf1AugiLVFm+w4IItsUHty4o6LdyHcYMOsZhE4MgPTF 6YUfYL7tJqIJP2WVxswdh+DixUSJLV6b+uNePOHXYGwigbvEWD4rq1VEtmnIkO0OZkhg j2cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=p6tsPoNMSLdKhY/7wLeVC20Btxn4HAVOwEt7BvWZpxY=; b=C3yuxMiCsCXOyjQ9BjPNLH2ZpQ/3sgsHkdZeeaDb6s8Y0NZ4v0Z6HuYSVLTeMo13OO ShQvv9Ps94jzTazQ8u2S4LElF1xMpRbCUrh+oS9tgOVy6KD7wm3nY3TOwnWxU4C4Wm9b TiP2wIWnJWxGGo1eVPmJbA85olCZyPSozeOkHad1KXkaMPVzhPeibu+h9Z2lJc7mjGHx VZpoc+ZyB+OJi3ZdmNWEX/IGOwcT7KFWgs31bY5zowJYVK884sap2A/I9EciBJsXWAuf RsAAGR51HWJYQsw3nyaxWI4LXiDU2EU+g8rfg1lDzrx1nfXNQOvXQrvtZkSVhmHWXOyJ D79A== X-Gm-Message-State: AOAM532XpzuhuD39ugb4yvALsae3C7p5NnssHhGoVAhPtCwqeBtyGZHw D1hBOSJYiozTllz4IFcbLaXSEWxEYsQyfg== X-Google-Smtp-Source: ABdhPJxDFdWVFGKzMVIOijxCctsIt4TZsnYu/dxBAVm0p31VKWXTDlo2aEZa+YR7pffJVz9m9CEHJA== X-Received: by 2002:a92:c102:: with SMTP id p2mr7282262ile.167.1607884712006; Sun, 13 Dec 2020 10:38:32 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:f45d:df49:9a4c:4914]) by smtp.gmail.com with ESMTPSA id o11sm7804532ioa.37.2020.12.13.10.38.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Dec 2020 10:38:31 -0800 (PST) From: Adam Ford To: linux-renesas-soc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , Geert Uytterhoeven , Magnus Damm , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 10/18] arm64: dts: renesas: Don't make vccq_sdhi0 always on Date: Sun, 13 Dec 2020 12:37:50 -0600 Message-Id: <20201213183759.223246-11-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201213183759.223246-1-aford173@gmail.com> References: <20201213183759.223246-1-aford173@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org vccq_sdhi0 is referenced from sdhi0, so there is no need to force this regualtor to be always-on. In theory it could help with low power modes in the future. Signed-off-by: Adam Ford Reviewed-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi index 87a0f556cd2f..f951bae2a1c6 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi @@ -201,15 +201,12 @@ sound_card { vccq_sdhi0: regulator-vccq-sdhi0 { compatible = "regulator-gpio"; - regulator-name = "SDHI0 VccQ"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; - gpios = <&gpio6 30 GPIO_ACTIVE_HIGH>; gpios-states = <1>; states = <3300000 1>, <1800000 0>; - regulator-always-on; }; /* External DU dot clocks */ From patchwork Sun Dec 13 18:37:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11970925 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 23D5BC433FE for ; Sun, 13 Dec 2020 18:39:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F2B102335A for ; Sun, 13 Dec 2020 18:39:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727843AbgLMSjl (ORCPT ); Sun, 13 Dec 2020 13:39:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733005AbgLMSjj (ORCPT ); Sun, 13 Dec 2020 13:39:39 -0500 Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC795C061285; Sun, 13 Dec 2020 10:38:34 -0800 (PST) Received: by mail-io1-xd42.google.com with SMTP id p187so14772511iod.4; Sun, 13 Dec 2020 10:38:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nmk+eviMQ8enegxteADww7ViwrA77/SammngwbF2N7Q=; b=EylyejQq3Hn7nOwJALdCD0H28ytN/ndEiv902VKb4qYGf2KuZ1aEta8dmv0YEtMsO3 uJtjgeBxeMvuGWcF4Riz7ugZmIOKoHl6BGsMTfvCA4jDRyadcHObO12vcVxqvCsUucTG kVhcs0oJ4Iog4UZ2vPYs8Ww87hx1gvI4pBC7p17DXa1KNegczeyuQyE67OFXY0jqkAjs 67tornLUlqDWbgaG824ZqEx/fhjXKHrhY0w7EElkoJE79DcxOawzNfYJ0KZNFg8t0dwU Le5A1FuNi5vxa3OHPjpxxD3V0uZax3i6eYwvuVX3aT7mwydOnZfBkq4it1Xhc5PG2nvV bkEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nmk+eviMQ8enegxteADww7ViwrA77/SammngwbF2N7Q=; b=ma9pE2IMXXCAaP63fIroDbx4gY3lQp3/BuVjdR8LAbQ0BxJrx+33WhcsrT5cpZTGkn 7TUkX6eKXM4D5hzwo5tFVF7ZO+PtvhIp1p54SdhkqXjG6lshDeLoqaIq2XT966Wan9OO TvV/vNhSEViMQdf6MJODvYKvprPoy3B7P8RcOhHxnHCSfMkoBNbHAoBuAjuVmT/L5SFt RvvgVMVhnQU+kltc2VGGnQpWr90mGYrkq9zRZIjWZjXtr4ya4Bz9u5fUW0lpuWQRBxMX qv9DOZicB9gi4FNvcPkyz4cVlfAXanXY+Km3F/H5yCRvekOKfrOGATXSCXIFzVsllfLW 3fxg== X-Gm-Message-State: AOAM531lwiSCpE+9jbnZBJYEJ/dpjVdJbA7BOrpiIMKvvbFlH0lAiqy2 2KOnGWf6h+13/lowGrfAf+YZ+Y4FU+zVfQ== X-Google-Smtp-Source: ABdhPJwNcsXm2xG2upy/MJ1xpI8ldbUozo4gOUAyVMlb9+LtTeITtTfsDeecpq7hzsM8nenv+D5ghQ== X-Received: by 2002:a5d:824b:: with SMTP id n11mr27535479ioo.27.1607884713968; Sun, 13 Dec 2020 10:38:33 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:f45d:df49:9a4c:4914]) by smtp.gmail.com with ESMTPSA id o11sm7804532ioa.37.2020.12.13.10.38.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Dec 2020 10:38:33 -0800 (PST) From: Adam Ford To: linux-renesas-soc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , Geert Uytterhoeven , Magnus Damm , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 11/18] arm64: dts: renesas: beacon: Remove redundant audio code Date: Sun, 13 Dec 2020 12:37:51 -0600 Message-Id: <20201213183759.223246-12-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201213183759.223246-1-aford173@gmail.com> References: <20201213183759.223246-1-aford173@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org The SoC's DTSI file already configures this. There is no need to do it again. Signed-off-by: Adam Ford --- .../dts/renesas/beacon-renesom-baseboard.dtsi | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi index f951bae2a1c6..beaea6de547b 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi @@ -649,23 +649,6 @@ &rcar_sound { status = "okay"; - clocks = <&cpg CPG_MOD 1005>, - <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>, - <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>, - <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>, - <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>, - <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>, - <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>, - <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>, - <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>, - <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>, - <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>, - <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>, - <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>, - <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>, - <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>, - <&cpg CPG_CORE R8A774A1_CLK_S0D4>; - ports { #address-cells = <1>; #size-cells = <0>; From patchwork Sun Dec 13 18:37:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11970949 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5882EC4361B for ; Sun, 13 Dec 2020 18:44:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2A63E20575 for ; Sun, 13 Dec 2020 18:44:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388643AbgLMSjl (ORCPT ); Sun, 13 Dec 2020 13:39:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733026AbgLMSjj (ORCPT ); Sun, 13 Dec 2020 13:39:39 -0500 Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1A45C061248; Sun, 13 Dec 2020 10:38:36 -0800 (PST) Received: by mail-io1-xd42.google.com with SMTP id i18so14777724ioa.1; Sun, 13 Dec 2020 10:38:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/OgZeJlCecpw/jV69+gT7Zez3Y1kSFf/SBD2vw0Ux2Q=; b=tSnrs/7FzmF6mfaLuacUNiYk/Ad39mxGqROYN5mgXlFOn9CeH4Og3byhIM4i9VYUOp DNO8nNnZWZ00aECzVnDKNfvGrv8wsvHP1dCNrqkrG2PEz8Qzm0kbdtNcHgjxQBCGOsxV RvQ2MDW9JBmmSizG3ontdtEzzxhqpltfZx65ct2vJTseF5gaDO/iz7cVLDzoqbhjd1p1 2hgq3bOiR7Jl1+qP4XB1+SaGKMZihJpkJgjKj4p34o2spJ2d7wR1evnq5BeFnrOY6p4s 5RfD9g2MCbpC7uKrLIvKzgTXLWOokl4osvaNl9H2y0WOyRsYTgaUNyMk16Sq53aHNfk2 KqjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/OgZeJlCecpw/jV69+gT7Zez3Y1kSFf/SBD2vw0Ux2Q=; b=iwJlYstY1FgshPQA9FxiDFAiH0tw9o1dw7JWCGhMlQ+wIgqy4kAs35AGSqt6rxBJqf L+BLWPF8h19AP0c+wJJGU95Mo5VCCiSVDxeIXuQuGN/I/z1/aBZ3L0KJHc9WcTjmwDKo E0UrOSmSKmLGP3NzR4IisPxt07xRuKdaWpEgRu6SezzboagGLl23VYqmqEjie0HNdKMf ml46B8xq8u1R68NVeMLgWLoNafM89ITIHsbGG+mBvQTn10uGphTvEQ4EnxThHCFDLImj THEOv8JLgp5Bi+k/3ULHlMzQz6/rEThy/A+k2pG7USvZGX5C548wy2COVCATR0wh92fs 0z1g== X-Gm-Message-State: AOAM5318aTIiSp5ak2BMr4vlsTIIbtyCA1YOrF3OHjQyb+S3gCxjaXAS yd+atVpGBUDZ2aXXn2182Ijjreuh1qmxRg== X-Google-Smtp-Source: ABdhPJyPh/wZ6QFwKP4YPqPV/IUi1Zpckn4JdOSPBuIzMkznX8wQBDEhGzhZvCnwerhMS0uvT4Ubbw== X-Received: by 2002:a6b:6b18:: with SMTP id g24mr27665386ioc.189.1607884715891; Sun, 13 Dec 2020 10:38:35 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:f45d:df49:9a4c:4914]) by smtp.gmail.com with ESMTPSA id o11sm7804532ioa.37.2020.12.13.10.38.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Dec 2020 10:38:35 -0800 (PST) From: Adam Ford To: linux-renesas-soc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , Geert Uytterhoeven , Magnus Damm , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 12/18] arm64: dts: renesas: beacon: Better describe keys Date: Sun, 13 Dec 2020 12:37:52 -0600 Message-Id: <20201213183759.223246-13-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201213183759.223246-1-aford173@gmail.com> References: <20201213183759.223246-1-aford173@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org The keys on the baseboard are laid out in an diamond pattern, up, down, left, right and center. Update the descriptions to make it easier to read. Signed-off-by: Adam Ford --- .../dts/renesas/beacon-renesom-baseboard.dtsi | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi index beaea6de547b..db3ef33faac5 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi @@ -40,38 +40,38 @@ hdmi0_con: endpoint { keys { compatible = "gpio-keys"; - key-1 { + key-1 { /* S19 */ gpios = <&gpio4 6 GPIO_ACTIVE_LOW>; linux,code = ; - label = "Switch-1"; + label = "Up"; wakeup-source; debounce-interval = <20>; }; - key-2 { + key-2 { /*S20 */ gpios = <&gpio3 13 GPIO_ACTIVE_LOW>; linux,code = ; - label = "Switch-2"; + label = "Left"; wakeup-source; debounce-interval = <20>; }; - key-3 { + key-3 { /* S21 */ gpios = <&gpio5 17 GPIO_ACTIVE_LOW>; linux,code = ; - label = "Switch-3"; + label = "Down"; wakeup-source; debounce-interval = <20>; }; - key-4 { + key-4 { /* S22 */ gpios = <&gpio5 20 GPIO_ACTIVE_LOW>; linux,code = ; - label = "Switch-4"; + label = "Right"; wakeup-source; debounce-interval = <20>; }; - key-5 { + key-5 { /* S23 */ gpios = <&gpio5 22 GPIO_ACTIVE_LOW>; linux,code = ; - label = "Switch-4"; + label = "Center"; wakeup-source; debounce-interval = <20>; }; From patchwork Sun Dec 13 18:37:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11970953 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DEF5DC4361B for ; Sun, 13 Dec 2020 18:44:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BADA720575 for ; Sun, 13 Dec 2020 18:44:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403823AbgLMSoE (ORCPT ); Sun, 13 Dec 2020 13:44:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388379AbgLMSjl (ORCPT ); Sun, 13 Dec 2020 13:39:41 -0500 Received: from mail-io1-xd43.google.com (mail-io1-xd43.google.com [IPv6:2607:f8b0:4864:20::d43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E99D0C061257; Sun, 13 Dec 2020 10:38:38 -0800 (PST) Received: by mail-io1-xd43.google.com with SMTP id i9so14777338ioo.2; Sun, 13 Dec 2020 10:38:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tu42vVD5H5wJbLGf/v+cEoWU/HtuQydQvHqelvZXFl0=; b=HNNW7zkzPgwt73Q3y+vPUovdvU1GGH9aZwSGtrz3p4V2juPiHTaQUqeE3rznRi2JKU eUdSiLcEQebecny32wTGQGKOXhbHQFw7RTzqv1YASLmz3jEXIAelALZfPvVoRG68eBzY Na6WOgxGvl6G4H28hBWt++z0MHFlNsn1xK1LBGf41TStYCb/bVr1vwrnNaKMQ2+bSwhp n9fdhRYau00P03+jLRdh0TLkA8sNjRLxh7sxrx8KO8cMdGoQt+i1NYg9VxghM8d2Vgy4 zdy/jzxdPCnWTh7sQJroY86QT2pvK4UZu6ONqhRtXHO8eHmkNCFj5oZzycQJrCPR2E37 9B3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tu42vVD5H5wJbLGf/v+cEoWU/HtuQydQvHqelvZXFl0=; b=nUVTYxb82xFUkSNMrNseuN3fVX/VOCL8dHpdExthaJIlGvviaLq1TjgZfl0q1xMNb/ moGo9UxU7FRb+Ts7txdY+tqM9IK3DYu8yqq0MMH3YtfeHZR1ednhhIHksTOGQ8nnSey5 ihtkTTbLNJhkz+z3Fezqe8u2WMxx74ijmST2RCPtWtS5ogNwY63p9wxq9tjyq5xNxfOh tS8qydmQqn9jnLnhUMpEZlTa/PRV2bubCbso1D7acYk3EvfbS317xBBh6w5/Pc2uydyn LJxk2Jw0cGglehAIZ1h0j1fNOU1buEoHHWRa24KDgt7UZ+fhz5z+5+KWPk1sEAsnSWuC rIwQ== X-Gm-Message-State: AOAM530B4Hs024hVGP2Ds8eSmrs90KM6rk0JsgVxit5O53dS2pNCU/rz J3b1xekmBqG/HP7B+vizLeiSuydIG4WAmg== X-Google-Smtp-Source: ABdhPJxL0kKsTibrxUxVBaW/LQux6q+2TYXMKtMu3WTi1qGbKnGuePcjAPYkjaNn73ehPTH36n+2ug== X-Received: by 2002:a02:b02:: with SMTP id 2mr28342075jad.15.1607884717904; Sun, 13 Dec 2020 10:38:37 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:f45d:df49:9a4c:4914]) by smtp.gmail.com with ESMTPSA id o11sm7804532ioa.37.2020.12.13.10.38.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Dec 2020 10:38:37 -0800 (PST) From: Adam Ford To: linux-renesas-soc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , Geert Uytterhoeven , Magnus Damm , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 13/18] arm64: dts: renesas: beacon: Enable SPI Date: Sun, 13 Dec 2020 12:37:53 -0600 Message-Id: <20201213183759.223246-14-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201213183759.223246-1-aford173@gmail.com> References: <20201213183759.223246-1-aford173@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org The baseboard routes the SPI to a header which can/will be configured at either the kit level or using device tree overlays. Because the baseboard be supporting more than one kit, enable at the baseboard level rather than a bunch of duplicates later. Signed-off-by: Adam Ford --- .../boot/dts/renesas/beacon-renesom-baseboard.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi index db3ef33faac5..200236b6e0ef 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi @@ -512,6 +512,13 @@ lvds0_out: endpoint { }; }; +&msiof1 { + pinctrl-0 = <&msiof1_pins>; + pinctrl-names = "default"; + status = "okay"; + cs-gpios = <&gpio3 10 GPIO_ACTIVE_LOW>; +}; + &ohci0 { dr_mode = "otg"; status = "okay"; @@ -565,6 +572,11 @@ led_pins: leds { bias-pull-down; }; + msiof1_pins: msiof1 { + groups = "msiof1_clk_g", "msiof1_rxd_g", "msiof1_txd_g"; + function = "msiof1"; + }; + pwm0_pins: pwm0 { groups = "pwm0"; function = "pwm0"; From patchwork Sun Dec 13 18:37:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11970951 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9FAB3C4361B for ; Sun, 13 Dec 2020 18:44:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 72CA42054F for ; Sun, 13 Dec 2020 18:44:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389478AbgLMSoD (ORCPT ); Sun, 13 Dec 2020 13:44:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388412AbgLMSjl (ORCPT ); Sun, 13 Dec 2020 13:39:41 -0500 Received: from mail-io1-xd44.google.com (mail-io1-xd44.google.com [IPv6:2607:f8b0:4864:20::d44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0ACEC0611C5; Sun, 13 Dec 2020 10:38:40 -0800 (PST) Received: by mail-io1-xd44.google.com with SMTP id q137so14746724iod.9; Sun, 13 Dec 2020 10:38:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DJdpaqMBlNikuEdPXn/eL3iojeQgmfhPrjnI1eDSeVQ=; b=SfdGP/OwdOx+LIPwT4gcBnYk7SIIozSe61B4OzITV/IvG5twbrzmS5W4CVSoNwIyLZ VYqhE3wlZe3TbHfbKFT/K2fReGdSgn7jO4W5B+jX5vZvY1m1cRKpAW8E67199TSi3B6b KjSPa2JHogUKTLY47quhTBUTbL2PXkMwSOmOWDpYqUERP/kKhKOZyDo8GNGiF4kUgWW0 mFieOORfodVV6gwaRQJXkkGgYlkuExpFDNPP/O3TgNhBjAWQK5kn5lXVGBgiK4DWtcdi 3gkn5gQcsS7xhgGwsJiECUQzNPDGckYAHCI7G8ToPnrh29xsfQREQh2c0EiQm0WYpvmX qE9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=DJdpaqMBlNikuEdPXn/eL3iojeQgmfhPrjnI1eDSeVQ=; b=CxSP9vpUgjv/JVfezlON6V1mkMykgTP/4or2Ir2W5eTAarcjIXq34ByuKNhr6//X91 d1nOq3ZMueOCyZh2XCaTnz4x2RmgQSWaIRNw/Gyw6ppdc83yuH8hlsixREkixUbql36k enHQzAP4YLx3KZO0/RMXVWj1pbeuKUkFvv69fIoJdG+5MQ/i4DI3+MotFQUFOEM7cMEz IA/oHKkxumZKCHfm5zd9vhCbLnol0bMeGsxOEjQmbSL9IiMRQnK2EIg3VQ9yt8EROgNM vsvk1XdWdM2TAhezeWjhBmXuk5yqHxMtsXygK6S8JHkPuTJzmMEd2cTpthwOVkvQqgYz R9Gg== X-Gm-Message-State: AOAM530pzf1eF7byPNoFM+OcZVbTfrY/i80aVThw4dAD/Cx4HrSO4eLK 1sxRejO6gwglKs0wUbaeLpHedi7GyqGU/g== X-Google-Smtp-Source: ABdhPJyswJzkI+2ilE+ogkjq+qt38sSCnuqIFBMa2wf9mu9tmGsWctE9Bt2Y/NtxN0cgiD4I46jWyg== X-Received: by 2002:a5d:8793:: with SMTP id f19mr27609789ion.106.1607884719910; Sun, 13 Dec 2020 10:38:39 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:f45d:df49:9a4c:4914]) by smtp.gmail.com with ESMTPSA id o11sm7804532ioa.37.2020.12.13.10.38.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Dec 2020 10:38:39 -0800 (PST) From: Adam Ford To: linux-renesas-soc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , Geert Uytterhoeven , Magnus Damm , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 14/18] arm64: dts: renesas: beacon: Correct I2C bus speeds Date: Sun, 13 Dec 2020 12:37:54 -0600 Message-Id: <20201213183759.223246-15-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201213183759.223246-1-aford173@gmail.com> References: <20201213183759.223246-1-aford173@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org For greater compatibility with upcoming kits that will reuse the baseboard and SOM-level files, adjust the I2C speeds to make it the most compatible with all devices. Signed-off-by: Adam Ford Reviewed-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi | 2 +- arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi index 200236b6e0ef..7f499282f851 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi @@ -343,7 +343,7 @@ &hsusb { &i2c2 { status = "okay"; - clock-frequency = <100000>; + clock-frequency = <400000>; pinctrl-0 = <&i2c2_pins>; pinctrl-names = "default"; diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi index b093a34b0fa0..b5ba45261c0b 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi @@ -110,7 +110,7 @@ &hscif2 { &i2c4 { status = "okay"; - clock-frequency = <400000>; + clock-frequency = <100000>; pca9654: gpio@20 { compatible = "onnn,pca9654"; From patchwork Sun Dec 13 18:37:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11970929 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85FD0C4361B for ; Sun, 13 Dec 2020 18:40:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5991D2335A for ; Sun, 13 Dec 2020 18:40:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730828AbgLMSkB (ORCPT ); Sun, 13 Dec 2020 13:40:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389284AbgLMSjy (ORCPT ); Sun, 13 Dec 2020 13:39:54 -0500 Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24900C0611CA; Sun, 13 Dec 2020 10:38:43 -0800 (PST) Received: by mail-io1-xd32.google.com with SMTP id d9so14773757iob.6; Sun, 13 Dec 2020 10:38:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=R/HHs2XgLog47FdAUtHaQujfusotHEedoMJlKH9zwmk=; b=jYsGGsVM0QKqTXmeCErNRsNXjwg7cc5lRzK+aZV/8OGSzNpTUmGH7xT8WGoKEDRlWp VvWbM5Q1tWA04Uwp0tF/UBggOG2EFkk2+DhcCkjZ/HZP45ZP0wfqEQQxOfY1ul6UKYhR +2F4NfzJZ0XU7IvlNTo4nFLsJea2vOnfVf/GNBbuVRBt3IuQxPYczzd3azBja1dxf7mg mlKbeO5zG3e9CwWSS9MYF1yeIaCXk7Z4nLr3XFQySL/lUJLA8zvggI1L8AIpdJ11ThdP /LAboHtwCZpc+ONw/3LwiXLIpuBBlRGY+jA64tkxdB05ImrSkIwA2o5G+L1cc0jKIMgz iuhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=R/HHs2XgLog47FdAUtHaQujfusotHEedoMJlKH9zwmk=; b=of8759x0jBWZ6Q2/elenYk282+Lg30ZDuYCC+5mTiMfclBbAA865sdWQoBKH+Nqg9d XsWL2O42n7QGt4L93AGGzDNdt1xvH6PIH/eqF+90SPCXpWR0PW0RP/Luk/vzBcFF0b1I DGAO+YAzTYZVRQVK2jX8KM/IaEtCR1wKABs7F/1YNE9x+RipWHGBYjE2z8GejptQXd49 C/L81OSBXw6H6YxzO/HEGZ04HPIyhYpH96iEEPotV0vV7yqI3p7BxZ4bOmnatXz/PmIZ zh8aspOWIdUkYxvy5wGIRiJ9W08zaHVtvnMZ10pdlscZoTOGBoGR7jf4an8LhNajuio8 m6KQ== X-Gm-Message-State: AOAM532Jgd+5+bDKLJZUGzPJTNsY5yiOLL5JDuYXT+8vgDmHJ8HQOS8e 9oa+RTq+ELAyt06DsbkvNw3boi23SVk8Xw== X-Google-Smtp-Source: ABdhPJyM6GnHCP2QOQDXtZxhfEY7KSS2FagUd1OXFXY1aPRVzb8Bc49EfVzD6PYN09W7GR+kc9qClA== X-Received: by 2002:a02:63cd:: with SMTP id j196mr1468494jac.61.1607884722006; Sun, 13 Dec 2020 10:38:42 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:f45d:df49:9a4c:4914]) by smtp.gmail.com with ESMTPSA id o11sm7804532ioa.37.2020.12.13.10.38.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Dec 2020 10:38:41 -0800 (PST) From: Adam Ford To: linux-renesas-soc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , Geert Uytterhoeven , Magnus Damm , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 15/18] arm64: dts: renesas: beacon-rzg2m-kit: Rearange SoC unique functions Date: Sun, 13 Dec 2020 12:37:55 -0600 Message-Id: <20201213183759.223246-16-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201213183759.223246-1-aford173@gmail.com> References: <20201213183759.223246-1-aford173@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org In preparation for adding new dev kits, move anything specific to the RZ/G2M from the SOM-level and baseboard-levels and move them to the kit-level. This allows the SOM and baseboard to be reused with other SoC's. Signed-off-by: Adam Ford Reviewed-by: Geert Uytterhoeven --- .../dts/renesas/beacon-renesom-baseboard.dtsi | 15 --------------- .../boot/dts/renesas/beacon-renesom-som.dtsi | 5 ----- .../dts/renesas/r8a774a1-beacon-rzg2m-kit.dts | 16 ++++++++++++++++ 3 files changed, 16 insertions(+), 20 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi index 7f499282f851..facb3e6d8010 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi @@ -273,21 +273,6 @@ &can1 { status = "okay"; }; -&du { - pinctrl-0 = <&du_pins>; - pinctrl-names = "default"; - status = "okay"; - - clocks = <&cpg CPG_MOD 724>, - <&cpg CPG_MOD 723>, - <&cpg CPG_MOD 722>, - <&versaclock5 1>, - <&x302_clk>, - <&versaclock5 2>; - clock-names = "du.0", "du.1", "du.2", - "dclkin.0", "dclkin.1", "dclkin.2"; -}; - &du_out_rgb { remote-endpoint = <&rgb_panel>; }; diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi index b5ba45261c0b..d68e9f5b8b38 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi @@ -13,11 +13,6 @@ memory@48000000 { reg = <0x0 0x48000000 0x0 0x78000000>; }; - memory@600000000 { - device_type = "memory"; - reg = <0x6 0x00000000 0x0 0x80000000>; - }; - osc_32k: osc_32k { compatible = "fixed-clock"; #clock-cells = <0>; diff --git a/arch/arm64/boot/dts/renesas/r8a774a1-beacon-rzg2m-kit.dts b/arch/arm64/boot/dts/renesas/r8a774a1-beacon-rzg2m-kit.dts index 2c5b057c30c6..581e4ec36bcb 100644 --- a/arch/arm64/boot/dts/renesas/r8a774a1-beacon-rzg2m-kit.dts +++ b/arch/arm64/boot/dts/renesas/r8a774a1-beacon-rzg2m-kit.dts @@ -26,4 +26,20 @@ aliases { chosen { stdout-path = "serial0:115200n8"; }; + + memory@600000000 { + device_type = "memory"; + reg = <0x6 0x00000000 0x0 0x80000000>; + }; +}; + +&du { + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 722>, + <&versaclock5 1>, + <&x302_clk>, + <&versaclock5 2>; + clock-names = "du.0", "du.1", "du.2", + "dclkin.0", "dclkin.1", "dclkin.2"; }; From patchwork Sun Dec 13 18:37:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11970927 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7A00DC433FE for ; Sun, 13 Dec 2020 18:40:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 44EE823123 for ; Sun, 13 Dec 2020 18:40:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390539AbgLMSkB (ORCPT ); Sun, 13 Dec 2020 13:40:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389472AbgLMSjy (ORCPT ); Sun, 13 Dec 2020 13:39:54 -0500 Received: from mail-io1-xd44.google.com (mail-io1-xd44.google.com [IPv6:2607:f8b0:4864:20::d44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA433C0611CB; Sun, 13 Dec 2020 10:38:44 -0800 (PST) Received: by mail-io1-xd44.google.com with SMTP id n4so14752102iow.12; Sun, 13 Dec 2020 10:38:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nHrku4p969TAUqir7FPQMxkNps9bIRFhqKRzmPC/DSM=; b=dRJoWvaiWGk5apyFbA6H+kwmbXv57fwOmQTLSLvBVSHAyBmwTEnMvXBZJYwxkeENmP WWgito9UCKdt1jpLuab/gaKJxzmTZx8nVyiYn6wRMXvRybURqww6+NCAHttLVngFpBYy brFzzTKFmLHRwe2rqy4TNiasOAIeVg/kSrM8FEgt8cmMZCXqpzahpvLbepuCprHQditY Ey0SCFTzMIMXyYQBXwOzjLtfNZWyc1xl3uAdfiYQhiKpzsQolMjZaNSb0C+cbPMMmlSM 3Wl1GEocEsz4ZZJY1oFFSU0jXXJ0nB3bFbXHwkwJf/MxZGT61K/azBwU3+Bzrlc5bkNj 37tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nHrku4p969TAUqir7FPQMxkNps9bIRFhqKRzmPC/DSM=; b=iFJNu+ZC6Ra1CXeyPdtu1toD4cV7z7jXp/mCGoB//lu9qidY1tIuvWYXIiQn3gjf/s 6NPvG3MLybzh1/zw7Ys/eNP7VsHqZyVjEpSw46/Emchy79nEhuUclA5WBDrM2hKG34A0 Bc7Aoujg+ia3PoHka1x0BKB/mjD9gMZXnHIJyxZlJXjxkuplmhjI3Gs+GM+iGDjLw1lv 8jzPzHtEFXhngYLBXmLU3l9eqJoN7cXzQYrnJJBivgGvMHon1DgqkRJcZeId7tjX37yq 58GuM0xemRVCraSPdD8iTGJ60CcLwgO218g3FbR8aW5RcaSpq8O79MhMfea1VTUiOQI8 caXA== X-Gm-Message-State: AOAM531xUtPQF1rB6RQCHBKW9rDGTXqPPiM3eK8tDmSTPBCFmNUvBXtH CjVcXW9QFSGDuiD6tAFt5cmqJYSwyd1vUg== X-Google-Smtp-Source: ABdhPJyleH0ECWvp7anq+AjLjNnJSTIQsUS2jca4Wvs+Q4owxRSgF6znLWsjaey4MNHbGDlDWgYLJw== X-Received: by 2002:a02:999a:: with SMTP id a26mr28820161jal.103.1607884724003; Sun, 13 Dec 2020 10:38:44 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:f45d:df49:9a4c:4914]) by smtp.gmail.com with ESMTPSA id o11sm7804532ioa.37.2020.12.13.10.38.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Dec 2020 10:38:43 -0800 (PST) From: Adam Ford To: linux-renesas-soc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , Geert Uytterhoeven , Magnus Damm , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 16/18] dt-bindings: arm: renesas: Add Beacon RZ/G2N and RZ/G2H boards Date: Sun, 13 Dec 2020 12:37:56 -0600 Message-Id: <20201213183759.223246-17-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201213183759.223246-1-aford173@gmail.com> References: <20201213183759.223246-1-aford173@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org Add beacon,beacon-rzg2n and beacon,beacon-rzg2h to the bindings list. Signed-off-by: Adam Ford Acked-by: Rob Herring Reviewed-by: Geert Uytterhoeven --- Documentation/devicetree/bindings/arm/renesas.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/renesas.yaml b/Documentation/devicetree/bindings/arm/renesas.yaml index fe11be65039a..5fd0696a9f91 100644 --- a/Documentation/devicetree/bindings/arm/renesas.yaml +++ b/Documentation/devicetree/bindings/arm/renesas.yaml @@ -130,6 +130,7 @@ properties: - description: RZ/G2N (R8A774B1) items: - enum: + - beacon,beacon-rzg2n # Beacon EmbeddedWorks RZ/G2N Kit - hoperun,hihope-rzg2n # HopeRun HiHope RZ/G2N platform - const: renesas,r8a774b1 @@ -154,6 +155,7 @@ properties: - description: RZ/G2H (R8A774E1) items: - enum: + - beacon,beacon-rzg2h # Beacon EmbeddedWorks RZ/G2H Kit - hoperun,hihope-rzg2h # HopeRun HiHope RZ/G2H platform - const: renesas,r8a774e1 From patchwork Sun Dec 13 18:37:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11970945 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0197BC4361B for ; Sun, 13 Dec 2020 18:43:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AB97723123 for ; Sun, 13 Dec 2020 18:43:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393138AbgLMSnA (ORCPT ); Sun, 13 Dec 2020 13:43:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389478AbgLMSjy (ORCPT ); Sun, 13 Dec 2020 13:39:54 -0500 Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1C87C0611CC; Sun, 13 Dec 2020 10:38:46 -0800 (PST) Received: by mail-io1-xd42.google.com with SMTP id t8so14763201iov.8; Sun, 13 Dec 2020 10:38:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hxZ75yiZZjAmfO6Ayk+Zr2KNsAPQLuLMGWRzVxl4gr4=; b=sxQM6RlnYDm2xBZqQULcTvLUhCf7CrRuNtZOSAWIFgoy/nEP9dQOlN1gi/FPGQjSsx sHAF+toiJwjd8moQRtjNoh727fnSjL2cgDUNb8Iy3fM5jaIoQAa/zBiiHvd8U4U5biyx sr6N6o/NVeheuH4nXA3AuyyS+um1Pr151DvFVZ74xEpzEzfnzdfp5PaKkxDDb/gjioyZ 0FYmKuCMYIZb3qtYM8A/jKdXc9rll0CJJYxguQ68Dh9qtU0zwumL3ik0qqqO6cgvd32N FORADDX+EkGsSHaKqd48/KRUg0KsJr6ufUlkXf2LKczVaA6JZ6mUx1W288bPeU+0CFN3 m66Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hxZ75yiZZjAmfO6Ayk+Zr2KNsAPQLuLMGWRzVxl4gr4=; b=M/mt5uOW5ngNajv/3KVnrXXeymKE0J0xYUxo1nS7pePfWxq4/HD3DvQJ3EBDldt4cc p/Ga5VevZelaPEmYLcY4+gI6UhffHjQ8nFROJmGf/4xiR/l0IXEgsbTw7mG/gfnez+lB lIjUSrQlbsFnEuTP/ybbn8qYn115S2Q+lupFEWeTh8xnLZd0eJXY0l2svMYJlXu7CjWp av3xoDUud4iXQl6enGJij+2b4aGnaXLZMiHxkGuJQmYU18zlC6raUtRPE+Hh4IOrOvIc TNu4XmpztFwCvG/2CLBINYlku5SGRTNra3x8Lwo6tYHE1ze/HLuAPcp2/Ann6Jj9aRGi pHnA== X-Gm-Message-State: AOAM530z6Fq0MdjJlCNihBMPOqIZ8PZJkh3QoJbxYZM44cIXUqvy0AVm QxDvuhrzilg3glxX9KGYc223I4FUCM4WDg== X-Google-Smtp-Source: ABdhPJywZrNKw5UvV6rXCm8Fmco+wQfuX1BR4kFryNMxnKCP74V5fJh3Q+Ko+kgi+JcawF4us2CiyA== X-Received: by 2002:a05:6638:f89:: with SMTP id h9mr28686537jal.89.1607884725882; Sun, 13 Dec 2020 10:38:45 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:f45d:df49:9a4c:4914]) by smtp.gmail.com with ESMTPSA id o11sm7804532ioa.37.2020.12.13.10.38.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Dec 2020 10:38:45 -0800 (PST) From: Adam Ford To: linux-renesas-soc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , Geert Uytterhoeven , Magnus Damm , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 17/18] arm64: dts: renesas: Introduce r8a774b1-beacon-rzg2n-kit Date: Sun, 13 Dec 2020 12:37:57 -0600 Message-Id: <20201213183759.223246-18-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201213183759.223246-1-aford173@gmail.com> References: <20201213183759.223246-1-aford173@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org Beacon EmebeddedWorks is introducing a new kit based on the RZ/G2N SoC from Renesas. The SOM supports eMMC, WiFi and Bluetooth, along with a Cat-M1 cellular radio. The Baseboard has Ethernet, USB, HDMI, stereo audio in and out, along with a variety of push buttons and LED's, and support for a parallel RGB and an LVDS display. It uses the same baseboard and SOM as the RZ/G2M. Signed-off-by: Adam Ford --- arch/arm64/boot/dts/renesas/Makefile | 1 + .../dts/renesas/r8a774b1-beacon-rzg2n-kit.dts | 43 +++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile index 3b8b03705917..ea3d7d9bc52e 100644 --- a/arch/arm64/boot/dts/renesas/Makefile +++ b/arch/arm64/boot/dts/renesas/Makefile @@ -8,6 +8,7 @@ dtb-$(CONFIG_ARCH_R8A774A1) += r8a774a1-hihope-rzg2m-rev2.dtb dtb-$(CONFIG_ARCH_R8A774A1) += r8a774a1-hihope-rzg2m-rev2-ex.dtb dtb-$(CONFIG_ARCH_R8A774A1) += r8a774a1-hihope-rzg2m-rev2-ex-idk-1110wr.dtb +dtb-$(CONFIG_ARCH_R8A774B1) += r8a774b1-beacon-rzg2n-kit.dtb dtb-$(CONFIG_ARCH_R8A774B1) += r8a774b1-hihope-rzg2n.dtb dtb-$(CONFIG_ARCH_R8A774B1) += r8a774b1-hihope-rzg2n-ex.dtb dtb-$(CONFIG_ARCH_R8A774B1) += r8a774b1-hihope-rzg2n-ex-idk-1110wr.dtb diff --git a/arch/arm64/boot/dts/renesas/r8a774b1-beacon-rzg2n-kit.dts b/arch/arm64/boot/dts/renesas/r8a774b1-beacon-rzg2n-kit.dts new file mode 100644 index 000000000000..01a233102976 --- /dev/null +++ b/arch/arm64/boot/dts/renesas/r8a774b1-beacon-rzg2n-kit.dts @@ -0,0 +1,43 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright 2020, Compass Electronics Group, LLC + */ + +/dts-v1/; + +#include "r8a774b1.dtsi" +#include "beacon-renesom-som.dtsi" +#include "beacon-renesom-baseboard.dtsi" + +/ { + model = "Beacon Embedded Works RZ/G2N Development Kit"; + compatible = "beacon,beacon-rzg2n", "renesas,r8a774b1"; + + aliases { + serial0 = &scif2; + serial1 = &hscif0; + serial2 = &hscif1; + serial3 = &scif0; + serial4 = &hscif2; + serial5 = &scif5; + serial6 = &scif4; + ethernet0 = &avb; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&du { + status = "okay"; + + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 721>, + <&versaclock5 1>, + <&x302_clk>, + <&versaclock5 2>; + clock-names = "du.0", "du.1", "du.3", + "dclkin.0", "dclkin.1", "dclkin.3"; +}; From patchwork Sun Dec 13 18:37:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11970947 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6B205C433FE for ; Sun, 13 Dec 2020 18:43:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3C4502054F for ; Sun, 13 Dec 2020 18:43:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728823AbgLMSnA (ORCPT ); Sun, 13 Dec 2020 13:43:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389529AbgLMSjy (ORCPT ); Sun, 13 Dec 2020 13:39:54 -0500 Received: from mail-il1-x144.google.com (mail-il1-x144.google.com [IPv6:2607:f8b0:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3FEFC0611CD; Sun, 13 Dec 2020 10:38:48 -0800 (PST) Received: by mail-il1-x144.google.com with SMTP id 75so1755616ilv.13; Sun, 13 Dec 2020 10:38:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8U041WmRtyq8BrXAJ3gOrPaoRGECeAfxoPRSHkkfdX8=; b=ScRCo9H/n9rcd41zcQ+TpdXmygMaZAocyJdzDRB9f+v9BNYWxVpGozPUIoAIBx//CO Q6OdVoCgB7G319Y4h+ulvlrQoiYhbQjthHbjfcs2Va1sjKZsoRpClnjmIdzbpcVeD700 OGb/uKOZWNAlS7Ll9SWpppEcdNkbL1EvUCJU0OdA33WnVRXY29WxMqNZcAUX/e1WLlGL BiTHZCfuDwNcMUooCxJxlg33AgnlJNYtSQyLgyNV1mRukYzjDKXPAOheefKipYoqn/R7 sFaW6PIMOIYap+oHK8IU4S/t9ZkmK2w7tiT7KMILpPh8/eJfZKtBbm4CaQRxWJ/5QkcS 93+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8U041WmRtyq8BrXAJ3gOrPaoRGECeAfxoPRSHkkfdX8=; b=ZMyIimco08OuWhN7dsBUUasFtX7pdrMSCJDkbUSzkhkVLGpDbMZ616NG9qZ4Hvxjm0 6E9a67b4BGDGT4zeeIgLDn6vJPxin0TczYqmuY1VlZGCv8tgWx1YhT1gsAn8a0Z11fwo GEm1d7hYbFEnSIAZUJkm/yZST9qkeLwxYx1xrh9Q5o7RdzkokptY1wQoass4f/2Q7a7p 2xo/EYbjtEX1B7g6l1txwPFOKFycFwGZvEI391E0eu9BvZjzj6kNz2iZyZCSuLwFqlZ2 QD1TPOuQ7K1RdBocr8ycgkcSpgcrfYccR/LXlkPkw4fBomXpX1DruvhFtF1hXyyq4pIE lxeA== X-Gm-Message-State: AOAM532pxF9nTxoiZLmjTOHmC8Fq2iSxL8i4r+b6TmLPokyikJIV5zR4 viHR8jPqrF1tPCxc6YxsqpLTw0bejaNwkA== X-Google-Smtp-Source: ABdhPJzPYh8wQw0Vw60pTqRwBugHjKzTNFBVh5w9mw4JaSxbSt55aritY+vpq0jrkgg0C5H3nlguUA== X-Received: by 2002:a92:cb0d:: with SMTP id s13mr30298321ilo.73.1607884727809; Sun, 13 Dec 2020 10:38:47 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:f45d:df49:9a4c:4914]) by smtp.gmail.com with ESMTPSA id o11sm7804532ioa.37.2020.12.13.10.38.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Dec 2020 10:38:47 -0800 (PST) From: Adam Ford To: linux-renesas-soc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , Geert Uytterhoeven , Magnus Damm , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 18/18] arm64: dts: renesas: Introduce r8a774e1-beacon-rzg2h-kit Date: Sun, 13 Dec 2020 12:37:58 -0600 Message-Id: <20201213183759.223246-19-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201213183759.223246-1-aford173@gmail.com> References: <20201213183759.223246-1-aford173@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org Beacon EmebeddedWorks is introducing a new kit based on the RZ/G2H SoC from Renesas. The SOM supports eMMC, WiFi and Bluetooth, along with a Cat-M1 cellular radio. The Baseboard has Ethernet, USB, HDMI, stereo audio in and out, along with a variety of push buttons and LED's, and support for a parallel RGB and an LVDS display. It uses the same baseboard and SOM files as the RZ/G2M and RZ/G2N kits. Signed-off-by: Adam Ford --- .../dts/renesas/r8a774e1-beacon-rzg2h-kit.dts | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a774e1-beacon-rzg2h-kit.dts b/arch/arm64/boot/dts/renesas/r8a774e1-beacon-rzg2h-kit.dts new file mode 100644 index 000000000000..8ff5856ac727 --- /dev/null +++ b/arch/arm64/boot/dts/renesas/r8a774e1-beacon-rzg2h-kit.dts @@ -0,0 +1,48 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright 2020, Compass Electronics Group, LLC + */ + +/dts-v1/; + +#include "r8a774e1.dtsi" +#include "beacon-renesom-som.dtsi" +#include "beacon-renesom-baseboard.dtsi" + +/ { + model = "Beacon Embedded Works RZ/G2H Development Kit"; + compatible = "beacon,beacon-rzg2h", "renesas,r8a774e1"; + + aliases { + serial0 = &scif2; + serial1 = &hscif0; + serial2 = &hscif1; + serial3 = &scif0; + serial4 = &hscif2; + serial5 = &scif5; + serial6 = &scif4; + ethernet0 = &avb; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@500000000 { + device_type = "memory"; + reg = <0x5 0x00000000 0x0 0x80000000>; + }; +}; + +&du { + status = "okay"; + + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 721>, + <&versaclock5 1>, + <&x302_clk>, + <&versaclock5 2>; + clock-names = "du.0", "du.1", "du.3", + "dclkin.0", "dclkin.1", "dclkin.3"; +};