From patchwork Mon Oct 28 08:25:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 13853169 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C3986D13570 for ; Mon, 28 Oct 2024 08:29:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=JD1gpuPdeMSA2j2RSvSJ0iBB62kklTnosNoaU0V14Uw=; b=JIbpjwT7+TAquA NFJKtc78pPCGqV+Yl5TgAwe11UJceAEjyanqOsrbgi4AYttG51i9s31x9U29xq1VrmcjmXYotN83b CLswLfwYSMt+sJ2OGC5GpZpHAv3T71wJY1t2X3CPUuMRHseT6aotWlch7yPYLq1939zYkr3PbVdZn UWd5p1fvfv7cscdVxnBZxBzj20Ku5J8KF3sxJub0UG56mPFBGD/Xx36fO7bW8F4xoMvx+IvXVhh/S OujOLFrXN9ujJ1El62ijVbEOlYAVEB/QRtCMWTEZCk5N9aPmUl82gfOn8kWvG2qeYfbp8C22y4ECl Dt8VGrp0tfcp1FoNvyEw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t5L7H-0000000A5et-1I7m; Mon, 28 Oct 2024 08:28:47 +0000 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t5L55-0000000A57W-3QwS for linux-riscv@lists.infradead.org; Mon, 28 Oct 2024 08:26:33 +0000 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-72061bfec2dso1518842b3a.2 for ; Mon, 28 Oct 2024 01:26:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=riscstar-com.20230601.gappssmtp.com; s=20230601; t=1730103991; x=1730708791; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=MwNPF7Xr5meifwUXJRYWBlzUxnsK/tjPyZKH5q5KIa0=; b=VJvxXks5O1jzqsNob5G4F+/qnVmfcJMq6uo7G050e9BAb6D7G48nMAliXh13uGZo9m EiWNsmurMeFn3/y9Q9XVd1tV902iMqbAHzKEvWmalQeHvrzECkmPy0R5Uv7yJZHOIMLq p6TpF0u5WsstMscJK2girVZqgWILEOS3CZ3EDjFY8KkvWCt5VK34NceP/T9BEHnE/ldn gwpqk0u0uu5nIKwsAG++3drp2afujRKCv45mS9NGJrCxthUjvVcnoUMlhE7eTqxKn3UG DrEWaldonty1jc1FDCtyRlijOIt2XQpdoJeUbezaOQ9If7rq7NK29A9LWpLeFiDaavFE hXDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730103991; x=1730708791; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MwNPF7Xr5meifwUXJRYWBlzUxnsK/tjPyZKH5q5KIa0=; b=K7N2HmM6xqL7Lubsrne2XpYN9fQSgKH+g7L+zXJs4bVH7bp9DPWRDg3Ur1ta990mAr eDWqjY1YNuaKbjhJsA1ubV8ccf9Bk1vuvRzWfDbTkEmxPY4dUg96rhfRSZVf8xnHdCHv H13jMSgib+b9EDN/x5inV55nzVLIR2C/QzeYtLZJ+T1ZMgDHY29VLeRYFMfuny4XxEl0 za7jeumFl6LqC7yYZhy96FcWZ+/vPwU6gFwqKNjuv0TjM/Qmmwn225ixumnPYxtaqTjv 72xOvNUz/aeU4lC9JH839xrGPXFUNSPfY+fmxl3OrXYb+K6TEPLwqyy2od3PwquwOzFk c21w== X-Forwarded-Encrypted: i=1; AJvYcCXCE/WgLhPTwPIejn7rZM++X1xSjZzcwqCh2LU8w0eeeR3zQw7vPHzfHrBJrPZfwFVQl4wsmDKmIAy3Dg==@lists.infradead.org X-Gm-Message-State: AOJu0Yy2IB79lFv12VLWKditAQDW6mG5vs+ceHc1O261uCpFVcrBSFES 9Ntm8+F3m+gmiPKf+VQ6Zy9IFh06VRAF5lDMJn7LuxowcJKIqRXSnRjLHzEVi6g= X-Google-Smtp-Source: AGHT+IHju2H63ovx35vxWV3fakzOEuWmj1RtH9OyMmVpZRFGzW4IXwophE/GQPM7KmpSabJGej9FZg== X-Received: by 2002:a05:6a00:b83:b0:710:9d5d:f532 with SMTP id d2e1a72fcca58-7206306d438mr10332340b3a.19.1730103990736; Mon, 28 Oct 2024 01:26:30 -0700 (PDT) Received: from localhost.localdomain ([2a11:3:200::401b]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7205791e451sm5195419b3a.24.2024.10.28.01.26.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Oct 2024 01:26:30 -0700 (PDT) From: Guodong Xu To: Conor Dooley , Rob Herring , Krzysztof Kozlowski , Emil Renner Berthing , rafal@milecki.pl, Greg Kroah-Hartman Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Neil Armstrong , Heiko Stuebner , Michael Zhu , Drew Fustini , Alexandru Stan , Daniel Schaefer , Sandie Cao , Yuning Liang , Huiming Qiu , Alex Elder , linux@frame.work, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Guodong Xu Subject: [PATCH v7 0/5] Add DeepComputing FML13V01 board dts Date: Mon, 28 Oct 2024 16:25:48 +0800 Message-Id: <20241028082553.1989797-1-guodong@riscstar.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241028_012632_151366_4C115151 X-CRM114-Status: GOOD ( 25.29 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org This series updates Device Tree related files to introduce the FML13V10 board from DeepComputing, which incorporates a StarFive JH7110 SoC. This board is designed for use on the Framework Laptop 13 Chassis, which has (Framework) SKU FRANHQ0001. The original three versions of this series were posted by Sandie Cao from DeepComputing. Her mailer configuration caused mail threading errors, which led to some confusion. After some discussion, we have agreed to take over moving this series toward acceptance. In the original series (v1 to v5), the FML13V10 board DTS file disabled some nodes that had been enabled in a common included DTSI file. We proposed fixing this in a follow-on series. However there was some disagreement about the right way to do this. In the end, Emil requested that we resolve this by adding two changes to the next version of the patch series: - Do not enable any nodes in the common DTSI file that would need to be disabled in a board DTS (or DTSI) file. (Note that there still might be nodes enabled in the common file.) - Because it will differ dependent on board, do not define the "dr_mode" (dual-role mode) property in the common DTSI file, defining it in the board files instead. To address this, starting from v6 of the series, two new patches had been added to the beginning of the patchset. The first patch no longer enables nodes that would need to be disabled for the new FML13V01 board, and enables them instead in the existing boardas that need them enabled. The second patch moves the definition of the "dr_mode" property for the usb0 node out of the common file and into the board files. The remaining three patches are roughly the same as the three patches in the previous version of this series. The final patch has been modified, because it no longer needs to disable certain nodes that had previously been enabled. Below is a version history, including direct links to all of the patches (note: in v1, v2 and v3, a single link to each series doesn't work). Best regards, Guodong, Alex v7: - Add Emil's reviewed-by on patch 1, 2 and 5 - Corrected commit description typo in patch 1 v6: - Updated to apply to the latest version of riscv/for-next - Move nodes enablement from jh7110-common.dtsi into board dts/dtsi - Do not specify the USB "dr_mode" property in the common file - Add Emil's reviewed-by on patch 4 (previously patch 2) https://lore.kernel.org/all/20241027144448.1813611-1-guodong@riscstar.com/ v5: - Remove the extra "From:" line in commit messages of patch 1 and 2 https://lore.kernel.org/all/20241020134959.519462-1-guodong@riscstar.com/ v4: - Board name was changed from FM7110 to FML13V10 - Descriptions for all patches in this series were updated slightly - Add Rob's ack on patch 2 - In patch 3, device nodes were updated to reflect their proper status https://lore.kernel.org/all/20241019162605.308475-1-guodong@riscstar.com/ v3: - Update board features into description - Add Krzysztof's ack on patch 1 https://lore.kernel.org/all/20240925053123.1364574-1-sandie.cao@deepcomputing.io/ https://lore.kernel.org/all/20240925053123.1364574-2-sandie.cao@deepcomputing.io/ https://lore.kernel.org/all/20240925053123.1364574-3-sandie.cao@deepcomputing.io/ https://lore.kernel.org/all/20240925053123.1364574-4-sandie.cao@deepcomputing.io/ v2: - Add deepcomputing into vendor list. - Add deepcomputing,fm7110 into model compatible list. - Framework Config will be included in later a patch. https://lore.kernel.org/all/20240924080650.1345485-1-sandie.cao@deepcomputing.io/ https://lore.kernel.org/all/20240924080650.1345485-2-sandie.cao@deepcomputing.io/ https://lore.kernel.org/all/20240924080650.1345485-3-sandie.cao@deepcomputing.io/ https://lore.kernel.org/all/20240924080650.1345485-4-sandie.cao@deepcomputing.io/ v1: - Add framework dts and config. https://lore.kernel.org/all/20240923053621.1585972-1-sandie.cao@deepcomputing.io/ https://lore.kernel.org/all/20240923053621.1585972-2-sandie.cao@deepcomputing.io/ https://lore.kernel.org/all/20240923053806.1586080-1-sandie.cao@deepcomputing.io/ Guodong Xu (3): riscv: dts: starfive: jh7110-common: revised device node riscv: dts: starfive: jh7110-common: move usb0 config to board dts riscv: dts: starfive: add DeepComputing FML13V01 board device tree Sandie Cao (2): dt-bindings: vendor: add deepcomputing dt-bindings: riscv: starfive: add deepcomputing,fml13v01 .../devicetree/bindings/riscv/starfive.yaml | 1 + .../devicetree/bindings/vendor-prefixes.yaml | 2 ++ arch/riscv/boot/dts/starfive/Makefile | 1 + .../boot/dts/starfive/jh7110-common.dtsi | 10 -------- .../jh7110-deepcomputing-fml13v01.dts | 17 +++++++++++++ .../boot/dts/starfive/jh7110-milkv-mars.dts | 22 ++++++++++++++++ .../dts/starfive/jh7110-pine64-star64.dts | 22 ++++++++++++++++ .../jh7110-starfive-visionfive-2.dtsi | 25 +++++++++++++++++++ 8 files changed, 90 insertions(+), 10 deletions(-) create mode 100644 arch/riscv/boot/dts/starfive/jh7110-deepcomputing-fml13v01.dts