From patchwork Fri Sep 29 00:07:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 13403591 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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 095C7E743D4 for ; Fri, 29 Sep 2023 00:07:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232303AbjI2AHn (ORCPT ); Thu, 28 Sep 2023 20:07:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232263AbjI2AHm (ORCPT ); Thu, 28 Sep 2023 20:07:42 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BD71180; Thu, 28 Sep 2023 17:07:41 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-4065dea9a33so360335e9.3; Thu, 28 Sep 2023 17:07:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695946059; x=1696550859; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jg6m2EjjbiYtqCsw8AOrTuHGKcD7Fqnb3Sq4Z2r1iXQ=; b=mXqrv6xXmzzedcFAqe0Pr+PdE0cu7x1G6L2T9hBySdc0JHuU7DhHT6CsNOHwwWde64 dVvbf4T4gOBBFajOOT0Y1S3ER/qDGdqYuE1aRrdfiGn5H8+QIj28Tgk+g4OnBcY8KoJl 6BjWNkBwLSPOJQt/5+1Ub+6tIjsS4XH+eRjyciAPLOMlF+NZXpm2b0Da3t44DYdPaJx+ KdT2qLtq0vwM8OlQDa9XB2K2oNgbCZnsxUCkhhhIX/tVtPmBZqMwQwVirTGbz4wEtuJe eFC1VfIlfQgM2YIVemnhOUvQ/3jcGTZWWvH5dnZMpWEnNdEWI6rC1BIA3TlZcxAkRsCh MvIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695946059; x=1696550859; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jg6m2EjjbiYtqCsw8AOrTuHGKcD7Fqnb3Sq4Z2r1iXQ=; b=DBf2NSylPTYth88JPW9HDNLS/ZlusMy1Bb0/mWod70VSbx3MmeUgJSxQrMwiDahMYo cl8XRDOcBW1TPYnYFkIJsVZ/DRrwgQLOr/APf9qXIHREEOwxK9t+UejoTEtSVWX+Rci8 5WRHBBat++AJmKrCbo2VvmRoqL0YawW3hPNGTKjZ11jpaRpMEhCC64BQetXoGDNJ9DAx POLx9AMsFlrnE5aif5eFBQtu2hc+2sG/nqvTVkVz04+FrhemF2jIDSqlfmAN1kc/Q0B0 cHA8KXClJtwqs6VopSCHWGj18kduM0kMa4TvrBxW/HeTddoeJZVdgHisjNzR0ZwlCo8n Hu9Q== X-Gm-Message-State: AOJu0Yz0ZqGJUIOGL2hK/waAKi4vJKm1Z2/+SYqLfKy55xDb2ATFX+J7 3ams4sMYst2b3+VVDFMGfp0= X-Google-Smtp-Source: AGHT+IEGAB6L//kDZLyguasSEjhI9XkPX5IsinA20g0k8iBjOCXCgphovzf/UhPDNxE5yXRjG9y0JQ== X-Received: by 2002:a05:600c:2242:b0:401:bf87:9898 with SMTP id a2-20020a05600c224200b00401bf879898mr2654028wmm.25.1695946058991; Thu, 28 Sep 2023 17:07:38 -0700 (PDT) Received: from prasmi.home ([2a00:23c8:2501:c701:fe98:5e2c:1821:4cb6]) by smtp.gmail.com with ESMTPSA id y20-20020a7bcd94000000b004030e8ff964sm245667wmj.34.2023.09.28.17.07.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 17:07:38 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Geert Uytterhoeven , Magnus Damm , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: Rob Herring , Krzysztof Kozlowski , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Biju Das , Prabhakar , Lad Prabhakar Subject: [PATCH 1/5] riscv: dts: renesas: r9a07g043f: Add L2 cache node Date: Fri, 29 Sep 2023 01:07:00 +0100 Message-Id: <20230929000704.53217-2-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230929000704.53217-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20230929000704.53217-1-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Lad Prabhakar Add L2 cache node for RZ/Five SoC. Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven --- arch/riscv/boot/dts/renesas/r9a07g043f.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/riscv/boot/dts/renesas/r9a07g043f.dtsi b/arch/riscv/boot/dts/renesas/r9a07g043f.dtsi index 6ec1c6f9a403..c8d63a8f7d86 100644 --- a/arch/riscv/boot/dts/renesas/r9a07g043f.dtsi +++ b/arch/riscv/boot/dts/renesas/r9a07g043f.dtsi @@ -29,6 +29,7 @@ cpu0: cpu@0 { i-cache-line-size = <0x40>; d-cache-size = <0x8000>; d-cache-line-size = <0x40>; + next-level-cache = <&l2cache>; clocks = <&cpg CPG_CORE R9A07G043_CLK_I>; operating-points-v2 = <&cluster0_opp>; @@ -56,4 +57,15 @@ plic: interrupt-controller@12c00000 { resets = <&cpg R9A07G043_NCEPLIC_ARESETN>; interrupts-extended = <&cpu0_intc 11 &cpu0_intc 9>; }; + + l2cache: cache-controller@13400000 { + compatible = "andestech,ax45mp-cache", "cache"; + reg = <0x0 0x13400000 0x0 0x100000>; + interrupts = ; + cache-size = <0x40000>; + cache-line-size = <64>; + cache-sets = <1024>; + cache-unified; + cache-level = <2>; + }; }; From patchwork Fri Sep 29 00:07:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 13403592 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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A9216E743D5 for ; Fri, 29 Sep 2023 00:07:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229653AbjI2AHo (ORCPT ); Thu, 28 Sep 2023 20:07:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232313AbjI2AHn (ORCPT ); Thu, 28 Sep 2023 20:07:43 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B6B4F3; Thu, 28 Sep 2023 17:07:42 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-40652e5718cso11559195e9.3; Thu, 28 Sep 2023 17:07:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695946060; x=1696550860; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pm3MReQA9cm+BZNe/kSQElihaB6e5dEwV1F0BtOWf0o=; b=ITGTgJoRQLNlLtPH9M7dMqi7/bsE5FvLQPby41FDoBZfe1hCZWTRM7tyTjPS8ysCeK ZZ4EcSPiUt/MwqsXgq8qVON+fcn7ZxSLh0Sy6FmMuQfk2MbGbEFV3/955xpTayPhnb0K gALwfqvP8TsmMcNV6rI8KefQZu5FeyhvdKCJHfVjdr1z0LsZcz79v43XiIiSkraosEvn 3g8jGMvJQFYClTyThYeTGxV5GykC3bb9UXhQ5E2iSHCC5PaO63bew/qlL6UdYd2g7KxH 0w0cCHUEMbx7Ir+z+bC7QiRAm8hsswymQfQdFPgPZ+but7480oW8Gfhm2t9rdIztO4px Bdgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695946060; x=1696550860; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pm3MReQA9cm+BZNe/kSQElihaB6e5dEwV1F0BtOWf0o=; b=eNJVde9x/CGOk+zO0myolUBrgiA01OhC8zlb0ATq/uHceSQ/XiXWHzbcdVoqZoWGkz PZISvHvYP38PZUc2OB7WE4zK9U9l9DCXM04VsqdFfOaJVCoOStpEjQ8+6jmV2whegy7I W8yOgZa5PM5P5KqE2UUonPW2Z22iErKJEynDDJ96XOkVu4We7bDGnzbrAdrZlMNWuLZs wWY15pL7QNZ7ap1ASxGWWp0aKAwFkQJ0XblUtHNufiChrtfLiPT7iKyR7Hr22dK2TRgG G/LHS9Qz/xCsIaSItyMXkl3rcnYLxjE4UuCqOtkUhrA0VNHDhbEhhr2S+JUwkymMdRUQ 62FQ== X-Gm-Message-State: AOJu0Yw+lDw8HcASwZOXXElzHlv9O0E0eD0a93zFX6dBsbpYMbh02Bf1 G+KHgBFS983CKSRa43tgXWo= X-Google-Smtp-Source: AGHT+IFWzGmco5cPbyfqxkrqCJyu84aUIbOKGKp+ve4yALFAWxrMQaa4gbTmfwoH8DYCTzRn8jum7g== X-Received: by 2002:a05:600c:252:b0:403:b64:ad0a with SMTP id 18-20020a05600c025200b004030b64ad0amr2423544wmj.26.1695946060336; Thu, 28 Sep 2023 17:07:40 -0700 (PDT) Received: from prasmi.home ([2a00:23c8:2501:c701:fe98:5e2c:1821:4cb6]) by smtp.gmail.com with ESMTPSA id y20-20020a7bcd94000000b004030e8ff964sm245667wmj.34.2023.09.28.17.07.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 17:07:39 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Geert Uytterhoeven , Magnus Damm , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: Rob Herring , Krzysztof Kozlowski , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Biju Das , Prabhakar , Lad Prabhakar Subject: [PATCH 2/5] riscv: dts: renesas: r9a07g043f: Add dma-noncoherent property Date: Fri, 29 Sep 2023 01:07:01 +0100 Message-Id: <20230929000704.53217-3-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230929000704.53217-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20230929000704.53217-1-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Lad Prabhakar RZ/Five is a noncoherent SoC so to indicate this add dma-noncoherent property to RZ/Five SoC DTSI. Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven --- arch/riscv/boot/dts/renesas/r9a07g043f.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/boot/dts/renesas/r9a07g043f.dtsi b/arch/riscv/boot/dts/renesas/r9a07g043f.dtsi index c8d63a8f7d86..b0796015e36b 100644 --- a/arch/riscv/boot/dts/renesas/r9a07g043f.dtsi +++ b/arch/riscv/boot/dts/renesas/r9a07g043f.dtsi @@ -43,6 +43,7 @@ cpu0_intc: interrupt-controller { }; &soc { + dma-noncoherent; interrupt-parent = <&plic>; plic: interrupt-controller@12c00000 { From patchwork Fri Sep 29 00:07:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 13403593 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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0A6F0E743D2 for ; Fri, 29 Sep 2023 00:07:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232443AbjI2AHv (ORCPT ); Thu, 28 Sep 2023 20:07:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232340AbjI2AHp (ORCPT ); Thu, 28 Sep 2023 20:07:45 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C2B319C; Thu, 28 Sep 2023 17:07:43 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-32483535e51so1447918f8f.0; Thu, 28 Sep 2023 17:07:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695946062; x=1696550862; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=F8HxEWXITaOb/JDj2iD2RcKd3MGklKT/rakg7oiqV24=; b=iCz0GG2xVaHaFPGR1DwtawA4x3pGvbQsRhQUZVeSLE9cHU1SBBaOtYWdpfnxlbacly lwPavHllaKMwpR6qmYkQXxvl2921sVLqhN7rCXp44DDMnXmFWYFZ8POs2GHtoLts07b2 0ukshVPW07hH5EOwLNrSe111oEIKKCsAXLO0IolWBTVlvqFwee1uMDSQy/3zyH7MUyYk EYNPPRo5tw+6Mnn81ygwgjFWoi/se5hScjn3pOjClBhgAsFuIP54SApVaw0KqRTguFXd 3sLQ7UgOF9PQmkqrsFgNGeHxU3vCAa7RjIIpVZEeND1L1AidtxHwt5OWGaTPP+aQJG/d Kqfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695946062; x=1696550862; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=F8HxEWXITaOb/JDj2iD2RcKd3MGklKT/rakg7oiqV24=; b=OiHzfRxVTjEwFigKNBzrQodfpAhsCXuEC9Ue+5hzzpJrbErF3iNXe/y7Qn9LdJJaBU QFBKJ/8lCS1IO1IkI00bxMhvd9yvaQwKMCQvETKbJD1LP47JuwcuEvU3Ge7o1gYP+rYY 6Caczq2F4BZdqOtnAPOki/5HplyvHk8LJrBD8FzTY3ba0a/PKrT5461toysL3VoRHzaK hMMwJKML9GLbJhjhX0gHAuiF8S5uvlMVHL80pFj8NbWy60wfDJUYaM2cvF/vHSOOozpJ 925HCwO9V1eBHcqww4ygQYxu8AiZz9erbhmfQwhR4EzhVhyxRBSS7PlfOjyDjI99CK8B Dqrw== X-Gm-Message-State: AOJu0YzPWPxIfAf/AM5xo71FM4kk4LrVvkCLc7VbFEhFsBjmfRQLB2Ni ysF1M03SnfDewe/CXKkta5sIZtz6hz/qpnrw X-Google-Smtp-Source: AGHT+IGnYvQpsT1nJIqqtVw96jze0gmURdXGdBK7wCDw7rx9bHLFZ6vcVVEiI0KcBP2Rarl0Ln9O8Q== X-Received: by 2002:a5d:538f:0:b0:322:4892:17f with SMTP id d15-20020a5d538f000000b003224892017fmr2568104wrv.7.1695946061536; Thu, 28 Sep 2023 17:07:41 -0700 (PDT) Received: from prasmi.home ([2a00:23c8:2501:c701:fe98:5e2c:1821:4cb6]) by smtp.gmail.com with ESMTPSA id y20-20020a7bcd94000000b004030e8ff964sm245667wmj.34.2023.09.28.17.07.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 17:07:41 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Geert Uytterhoeven , Magnus Damm , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: Rob Herring , Krzysztof Kozlowski , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Biju Das , Prabhakar , Lad Prabhakar Subject: [PATCH 3/5] riscv: dts: renesas: rzfive-smarc: Enable the blocks which were explicitly disabled Date: Fri, 29 Sep 2023 01:07:02 +0100 Message-Id: <20230929000704.53217-4-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230929000704.53217-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20230929000704.53217-1-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Lad Prabhakar Now that noncoherent dma support is added for RZ/Five SoC enable the IP blocks which were disabled on RZ/Five SMARC. Now with this patch we get support for the below peripherals: * DMAC * SDHI * USB * RSPI * SSI Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven --- .../boot/dts/renesas/rzfive-smarc-som.dtsi | 23 -------- arch/riscv/boot/dts/renesas/rzfive-smarc.dtsi | 56 ------------------- 2 files changed, 79 deletions(-) diff --git a/arch/riscv/boot/dts/renesas/rzfive-smarc-som.dtsi b/arch/riscv/boot/dts/renesas/rzfive-smarc-som.dtsi index c62debc7ca7e..433ab5c6a626 100644 --- a/arch/riscv/boot/dts/renesas/rzfive-smarc-som.dtsi +++ b/arch/riscv/boot/dts/renesas/rzfive-smarc-som.dtsi @@ -7,25 +7,8 @@ #include -/ { - aliases { - /delete-property/ ethernet0; - /delete-property/ ethernet1; - }; - - chosen { - bootargs = "ignore_loglevel"; - }; -}; - -&dmac { - status = "disabled"; -}; - #if (!SW_ET0_EN_N) ð0 { - status = "disabled"; - phy0: ethernet-phy@7 { /delete-property/ interrupt-parent; /delete-property/ interrupts; @@ -34,14 +17,8 @@ phy0: ethernet-phy@7 { #endif ð1 { - status = "disabled"; - phy1: ethernet-phy@7 { /delete-property/ interrupt-parent; /delete-property/ interrupts; }; }; - -&sdhi0 { - status = "disabled"; -}; diff --git a/arch/riscv/boot/dts/renesas/rzfive-smarc.dtsi b/arch/riscv/boot/dts/renesas/rzfive-smarc.dtsi index c07a487c4e5a..a8573fdfd8b1 100644 --- a/arch/riscv/boot/dts/renesas/rzfive-smarc.dtsi +++ b/arch/riscv/boot/dts/renesas/rzfive-smarc.dtsi @@ -6,59 +6,3 @@ */ #include - -&ehci0 { - status = "disabled"; -}; - -&ehci1 { - status = "disabled"; -}; - -&hsusb { - status = "disabled"; -}; - -&ohci0 { - status = "disabled"; -}; - -&ohci1 { - status = "disabled"; -}; - -&phyrst { - status = "disabled"; -}; - -&sdhi1 { - status = "disabled"; -}; - -&snd_rzg2l { - status = "disabled"; -}; - -&spi1 { - status = "disabled"; -}; - -&ssi1 { - status = "disabled"; -}; - -&usb0_vbus_otg { - status = "disabled"; -}; - -&usb2_phy0 { - status = "disabled"; -}; - -&usb2_phy1 { - status = "disabled"; -}; - -&vccq_sdhi1 { - status = "disabled"; -}; From patchwork Fri Sep 29 00:07:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 13403594 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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B8B7E743D3 for ; Fri, 29 Sep 2023 00:07:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232554AbjI2AHv (ORCPT ); Thu, 28 Sep 2023 20:07:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232367AbjI2AHp (ORCPT ); Thu, 28 Sep 2023 20:07:45 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 427AB180; Thu, 28 Sep 2023 17:07:44 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-4064876e8b8so33732875e9.0; Thu, 28 Sep 2023 17:07:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695946062; x=1696550862; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QykmGOhFH5Jg2YbpjBw5TT8uCu2shmkEPyDr16ah5mo=; b=gzZNZaN9YLQXtDOgmzrITqdifrwrXZtF/B2/wdcbjbhKI1cwZ42Oq4K74l5zlB3Enc ODVidH1NDX/RvcXIyhmu7rbuNxB8IKN1JEajk7q9+ONkZaGg9Zlou8iQG1gH1iaN5ssa HMGSVVhmTDF7QCZ64Fs4nJBOfabD0MwHWBGHxnYI9ZFeQ5KmzukInNjRdf1JnVZbPckZ pW+uvrhAhNZBReooCHggAcgpo5llwE+h0vfcNu/aok0EKEKb1loE2FnaOVlBnruBYf6v uj1215D8zpg6Vh6+qgh5qmsp+P47wPpk8bjm97vCzF/5UCgI1+63J/MiYk8M01A6l0C5 FgyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695946062; x=1696550862; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QykmGOhFH5Jg2YbpjBw5TT8uCu2shmkEPyDr16ah5mo=; b=RcPFumi52wFM6kfbbKRXOrD2UVlCbrNowORzjEwlupDA+FU1FVxv3RgicTAsL/nD4G OFRYoreInaW2lbDIG9HP2dT4lC5/ovAJoBNMAWPUuAOBmPaKgD1/9HJRaJse955nZalt EniLJBynJacb6SfoQ8UrakBLbCEGR2IqTHQLefiucR7LEffyLodT2ZWM0c9bHNCKc91V KHPvVBz7XGdFExbmwytIN1LFV08R6rS4vI0+V/ugUorY/fHdltSHhWc1dqOek+gR3RqP SLv0d8lxr6G3SYf9rfHKzbyhMIx2lIO9Tak+bIuVX5XqBsV+YyTbimLDwDusaHniCUc9 qaXg== X-Gm-Message-State: AOJu0YxH5p4lC06RCDMVIdTCoyfwQ5XQnwpdxT/oUu/Te6KOiKBkG0wN KdVfsfiQfKnmUDo51a39YZE= X-Google-Smtp-Source: AGHT+IGcyD2e2QJk+LbGAQCmTqrP38BeiU/fWbbAOj645xzShm9qaJzxb8HaVmLacKAeJbhw5CVjJw== X-Received: by 2002:a05:600c:21c5:b0:406:45c1:a657 with SMTP id x5-20020a05600c21c500b0040645c1a657mr2522204wmj.6.1695946062630; Thu, 28 Sep 2023 17:07:42 -0700 (PDT) Received: from prasmi.home ([2a00:23c8:2501:c701:fe98:5e2c:1821:4cb6]) by smtp.gmail.com with ESMTPSA id y20-20020a7bcd94000000b004030e8ff964sm245667wmj.34.2023.09.28.17.07.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 17:07:42 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Geert Uytterhoeven , Magnus Damm , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: Rob Herring , Krzysztof Kozlowski , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Biju Das , Prabhakar , Lad Prabhakar Subject: [PATCH 4/5] riscv: dts: renesas: rzfive-smarc: Drop dma properties from SSI1 node Date: Fri, 29 Sep 2023 01:07:03 +0100 Message-Id: <20230929000704.53217-5-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230929000704.53217-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20230929000704.53217-1-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Lad Prabhakar With DMA enabled audio capture/playback has some echo noise. So for now switch to PIO mode until fixed. Signed-off-by: Lad Prabhakar --- arch/riscv/boot/dts/renesas/rzfive-smarc.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/riscv/boot/dts/renesas/rzfive-smarc.dtsi b/arch/riscv/boot/dts/renesas/rzfive-smarc.dtsi index a8573fdfd8b1..85f96e24a96e 100644 --- a/arch/riscv/boot/dts/renesas/rzfive-smarc.dtsi +++ b/arch/riscv/boot/dts/renesas/rzfive-smarc.dtsi @@ -6,3 +6,8 @@ */ #include + +&ssi1 { + /delete-property/ dmas; + /delete-property/ dma-names; +}; From patchwork Fri Sep 29 00:07:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 13403595 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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B149E743D0 for ; Fri, 29 Sep 2023 00:07:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231485AbjI2AHw (ORCPT ); Thu, 28 Sep 2023 20:07:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232481AbjI2AHv (ORCPT ); Thu, 28 Sep 2023 20:07:51 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E8F61A3; Thu, 28 Sep 2023 17:07:45 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-4064014bca5so53355195e9.3; Thu, 28 Sep 2023 17:07:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695946064; x=1696550864; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Z5OD6QfO8UFj6rBKfs0pqCOiEIzLk/acverJtq6us9U=; b=ByeliCh8+azC4Va3VVAnn+o0WTP7l5jEirsZ6A15hZofoOm+5YWXtHD0E4YA7ec9Bj PjCCVLxiqvIzaXL/Me25sUMOK2mqddIbsVSDqYbmkYsXP4wsb+ypxOGvCnN7oWDvZhxo hUaGd19t5JmR7XS/3GWsRY3V5S5OyASAEQ/lWsuvxWvz3obWPBpvfkhFeWz64FuK5fr5 fP/LmNj+KqrX4nbQWgwY9P4qbcbLDZ1JN6Fy5v2VzSyXhYpoE9LT4mK96FRUSKVM1BAW c8kLk6xA9CuPR0ASjHtyZY8id+xeeM71Wwzr+/ZPbG83lm5t1PSNg7uxOXOdBvEth8GI VPnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695946064; x=1696550864; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Z5OD6QfO8UFj6rBKfs0pqCOiEIzLk/acverJtq6us9U=; b=AJRhT6gU7I1KuGaTzLRAMubj9COY21tk80ErW+efxXEaf7CLRHJMiuoOiXZ71U4AYu ZpSRbrkpsG+W/INQjHS3rijksjtvNvwiG578ArMk6Fy8v/FAZnt9Tg2UtKZ0yIWFcDca idBQLm/xxoaHM0XqpfD3JVFbwmM+qyn3pFx07o5Kyqg8ivBmjPhs9ZY3td1siqrckVCc TFU62VWbPHm5PCwWgB1ozjLjglGt8Rj6oc5chILeXlm3IRGQF4P446aCvDe6TgK7GLmK 3ZBqD45xOGM9Oqc/bbn3mvwW/vVppYT2pUXK3KkroBgKSUgzvANBMfwTom/2UV39o1EA q38A== X-Gm-Message-State: AOJu0Yy7A3Cf8s+QaYv1FtgTfnBstFSqG4g+JEXIvl2I5Mpq1Ei6pFrv yA9Edzt1blssci9K//2TAxY= X-Google-Smtp-Source: AGHT+IEZsec19x4Dyp5Qyd9/dFnOI7gl2COruqQpH5xdgflyCZasqF1DinDundjYp1jJ68yPiLXLMQ== X-Received: by 2002:a7b:cb8d:0:b0:406:177e:5df7 with SMTP id m13-20020a7bcb8d000000b00406177e5df7mr2657926wmi.29.1695946063658; Thu, 28 Sep 2023 17:07:43 -0700 (PDT) Received: from prasmi.home ([2a00:23c8:2501:c701:fe98:5e2c:1821:4cb6]) by smtp.gmail.com with ESMTPSA id y20-20020a7bcd94000000b004030e8ff964sm245667wmj.34.2023.09.28.17.07.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 17:07:43 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Geert Uytterhoeven , Magnus Damm , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: Rob Herring , Krzysztof Kozlowski , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Biju Das , Prabhakar , Lad Prabhakar Subject: [PATCH 5/5] riscv: configs: defconfig: Enable configs required for RZ/Five SoC Date: Fri, 29 Sep 2023 01:07:04 +0100 Message-Id: <20230929000704.53217-6-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230929000704.53217-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20230929000704.53217-1-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Lad Prabhakar Enable the configs required by the below IP blocks which are present on RZ/Five SoC: * ADC * CANFD * DMAC * eMMC/SDHI * OSTM * RAVB (+ Micrel PHY) * RIIC * RSPI * SSI (Sound+WM8978 codec) * Thermal * USB (PHY/RESET/OTG) Along with the above some core configs are enabled too, -> CPU frequency scaling as RZ/Five does support this. -> MTD is enabled as RSPI can be connected to flash chips -> Enabled I2C chardev so that it enables userspace to read/write i2c devices (similar to arm64) -> Thermal configs as RZ/Five SoC does have thermal unit -> GPIO regulator as we might have IP blocks for which voltage levels are controlled by GPIOs -> OTG configs as RZ/Five USB can support host/function -> Gadget configs so that we can test USB function (as done in arm64 all the gadget configs are enabled) Signed-off-by: Lad Prabhakar Acked-by: Conor Dooley Reviewed-by: Geert Uytterhoeven --- arch/riscv/configs/defconfig | 52 ++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig index ab86ec3b9eab..1e81c865a271 100644 --- a/arch/riscv/configs/defconfig +++ b/arch/riscv/configs/defconfig @@ -36,6 +36,13 @@ CONFIG_SMP=y CONFIG_HOTPLUG_CPU=y CONFIG_PM=y CONFIG_CPU_IDLE=y +CONFIG_CPU_FREQ=y +CONFIG_CPU_FREQ_STAT=y +CONFIG_CPU_FREQ_GOV_POWERSAVE=m +CONFIG_CPU_FREQ_GOV_USERSPACE=y +CONFIG_CPU_FREQ_GOV_ONDEMAND=y +CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m +CONFIG_CPUFREQ_DT=y CONFIG_VIRTUALIZATION=y CONFIG_KVM=m CONFIG_ACPI=y @@ -94,6 +101,7 @@ CONFIG_NETLINK_DIAG=y CONFIG_CGROUP_NET_PRIO=y CONFIG_NET_9P=y CONFIG_NET_9P_VIRTIO=y +CONFIG_CAN=m CONFIG_PCI=y CONFIG_PCIEPORTBUS=y CONFIG_PCI_HOST_GENERIC=y @@ -101,6 +109,11 @@ CONFIG_PCIE_XILINX=y CONFIG_PCIE_FU740=y CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y +CONFIG_MTD=y +CONFIG_MTD_BLOCK=y +CONFIG_MTD_CFI=y +CONFIG_MTD_CFI_ADV_OPTIONS=y +CONFIG_MTD_SPI_NOR=y CONFIG_BLK_DEV_LOOP=y CONFIG_VIRTIO_BLK=y CONFIG_BLK_DEV_NVME=m @@ -123,8 +136,11 @@ CONFIG_VIRTIO_NET=y CONFIG_MACB=y CONFIG_E1000E=y CONFIG_R8169=y +CONFIG_RAVB=y CONFIG_STMMAC_ETH=m +CONFIG_MICREL_PHY=y CONFIG_MICROSEMI_PHY=y +CONFIG_CAN_RCAR_CANFD=m CONFIG_INPUT_MOUSEDEV=y CONFIG_KEYBOARD_SUN4I_LRADC=m CONFIG_SERIAL_8250=y @@ -135,16 +151,24 @@ CONFIG_SERIAL_SH_SCI=y CONFIG_VIRTIO_CONSOLE=y CONFIG_HW_RANDOM=y CONFIG_HW_RANDOM_VIRTIO=y +CONFIG_I2C_CHARDEV=m CONFIG_I2C_MV64XXX=m +CONFIG_I2C_RIIC=y CONFIG_SPI=y +CONFIG_SPI_RSPI=m CONFIG_SPI_SIFIVE=y CONFIG_SPI_SUN6I=y # CONFIG_PTP_1588_CLOCK is not set CONFIG_GPIO_SIFIVE=y +CONFIG_CPU_THERMAL=y +CONFIG_DEVFREQ_THERMAL=y +CONFIG_RZG2L_THERMAL=y CONFIG_WATCHDOG=y CONFIG_SUNXI_WATCHDOG=y +CONFIG_RENESAS_RZG2LWDT=y CONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y +CONFIG_REGULATOR_GPIO=y CONFIG_DRM=m CONFIG_DRM_RADEON=m CONFIG_DRM_NOUVEAU=m @@ -152,39 +176,67 @@ CONFIG_DRM_SUN4I=m CONFIG_DRM_VIRTIO_GPU=m CONFIG_FB=y CONFIG_FRAMEBUFFER_CONSOLE=y +CONFIG_SOUND=y +CONFIG_SND=y +CONFIG_SND_SOC=y +CONFIG_SND_SOC_RZ=m +CONFIG_SND_SOC_WM8978=m +CONFIG_SND_SIMPLE_CARD=m CONFIG_USB=y +CONFIG_USB_OTG=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_PLATFORM=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_HCD_PLATFORM=y CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD_PLATFORM=y +CONFIG_USB_RENESAS_USBHS=m CONFIG_USB_STORAGE=y CONFIG_USB_UAS=y CONFIG_USB_MUSB_HDRC=m CONFIG_USB_MUSB_SUNXI=m CONFIG_NOP_USB_XCEIV=m +CONFIG_USB_GADGET=y +CONFIG_USB_RENESAS_USBHS_UDC=m +CONFIG_USB_CONFIGFS=m +CONFIG_USB_CONFIGFS_SERIAL=y +CONFIG_USB_CONFIGFS_ACM=y +CONFIG_USB_CONFIGFS_OBEX=y +CONFIG_USB_CONFIGFS_NCM=y +CONFIG_USB_CONFIGFS_ECM=y +CONFIG_USB_CONFIGFS_ECM_SUBSET=y +CONFIG_USB_CONFIGFS_RNDIS=y +CONFIG_USB_CONFIGFS_EEM=y +CONFIG_USB_CONFIGFS_MASS_STORAGE=y +CONFIG_USB_CONFIGFS_F_FS=y CONFIG_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_PLTFM=y CONFIG_MMC_SDHCI_CADENCE=y CONFIG_MMC_SPI=y +CONFIG_MMC_SDHI=y CONFIG_MMC_SUNXI=y CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_SUN6I=y CONFIG_DMADEVICES=y CONFIG_DMA_SUN6I=m +CONFIG_RZ_DMAC=y CONFIG_VIRTIO_PCI=y CONFIG_VIRTIO_BALLOON=y CONFIG_VIRTIO_INPUT=y CONFIG_VIRTIO_MMIO=y +CONFIG_RENESAS_OSTM=y CONFIG_SUN8I_DE2_CCU=m CONFIG_SUN50I_IOMMU=y CONFIG_RPMSG_CHAR=y CONFIG_RPMSG_CTRL=y CONFIG_RPMSG_VIRTIO=y CONFIG_ARCH_R9A07G043=y +CONFIG_IIO=y +CONFIG_RZG2L_ADC=m +CONFIG_RESET_RZG2L_USBPHY_CTRL=y CONFIG_PHY_SUN4I_USB=m +CONFIG_PHY_RCAR_GEN3_USB2=y CONFIG_LIBNVDIMM=y CONFIG_NVMEM_SUNXI_SID=y CONFIG_EXT4_FS=y