From nobody Thu Jun 25 01:53:41 2026 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 07503404BD0 for ; Wed, 10 Jun 2026 12:18:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781093918; cv=none; b=UrdiF7T3w3c2ox54p9Nbnu8R6nUa2MbF83RgZHyVGvDN4Oeoe6Ejb69gM1AoKnMqjW6jIWIqTlZLXoTl4vhGa2ZRNJhxCuDgC/I0/3QxVKkMdOqU/cYqKqWd3Ywc+uGqGFynE+t6cP6Hj//tl09NcDejTZgiUnL2gjmNhS/eH48= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781093918; c=relaxed/simple; bh=ems2LpTiwpTPgbOwaVQx5TOJZKGRhpPlPNAONUo8hZE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=hZoI1aaWQ6s2SY4A52M94Xqr2tDquTusFr+C9vjyw94WopjMr/h8y+LltW565/JpUvdeaUeRXUgtb7vwPtZvN60/NYxPese6TgXXyEkR2rc/2rc0QsO3x8Cx0EjES+OeIvDVuY4qQTb/nvMAmrVrn9tb64HpHu3iUtHuBEoqspY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=X4ISy8kh; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="X4ISy8kh" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-490af320e2aso73320945e9.2 for ; Wed, 10 Jun 2026 05:18:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781093915; x=1781698715; 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=NPfdSQj9vTm35G3KAdx9EH2tKkR1Y8xAGyUsxKN7pqw=; b=X4ISy8kh0WIlnIMU+YW+yQEt9VpK+bIC7DxYRmM5lTx1KgJ+SsYNXtGUDz2WaBqwFy bYhrejwzKc1DFwLhPRUK3AY5zO//qaUkT6EHeqs+TkkCpBoGUphI7j87lO01rjxJEUeQ WrkmptJ3l6K4VYJfaoSO/H9zRP6SPz+6Q8FykTpGJy0j/Ht9+dnAi9vKCdQxFT0UZbrl t5V4Yv8AynKgZQdPtxUShRLHt7wNnJBsbrRtQnOJPLT1u8OSKJ8aQ8qrkPnxvWKy+K61 5mnMnR1NF5xV2E4KAdHij09n7wWdM3KrTL2FrtdlrTck8NkvBiVGvYTQl3I2MxrR/c8k 3Wqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781093915; x=1781698715; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=NPfdSQj9vTm35G3KAdx9EH2tKkR1Y8xAGyUsxKN7pqw=; b=sCT6+aP2koX1AfTJ1OAlMl/4uSvM60Z3+CznEi4/18FdWbPt/fi1iwUvD4f8kRzNyE djIWswOB/yAAH3sbEiIwCsCi0TNypO7HZLddTav5NJvVjVo5sYx+k1AFbIizBuuWPD+m 7/rbDzBRlcdhmgcnwhozAypJKoxo3AKYbwEvFrADWnk8bdwpd6moVYdGQLgh3rMn8xEh P1UFCcZ2m/PZAXBkWKegnzSsm2w0xd9mJs65fof9sLnjykyvQys/4rBIvk/Z+J3/yGcJ QvPUbPFvO27K9ogaOCkk3QWMBrFztcoZT1Ee9YX3DDwctJrzPXaQ3jFGTeMSO7LXCvYs RcRQ== X-Forwarded-Encrypted: i=1; AFNElJ+h9nuhqfHW1QMD/RcimP1kARCwKKbMGZQ/wGpVD6DumMyLY6Ls/zsHiSP66Uf6lb8BLDwIbLr+qvjo20s=@vger.kernel.org X-Gm-Message-State: AOJu0YwGZ29U3KRnGTJbSfBe6R2sQA1BpwhaN/2cd5AvmfslCFH0XBQk 5+rlIK9cYM4AhBrE9zgPXXo7J9TH7yHsnszIkF3BaU3nAQ06dgzwS8X5 X-Gm-Gg: Acq92OEs9Q3PJSLpcmUcXG4EXnBUI3wMUxyOBQEBjAoNTdHKFRMR5IMbud+ayGdf5V1 ffSQMnRNpH9t4CwHzRr/IDl3EhyJ0RAL2KKrRgi55eGC9h7M+vC73ixLmtVESFamZPNGVBm6DLn 2hi2ARbYBUIs7VO36mFJsWkbPGjt6bONPlCyeiYoSE8dXh+utTYH2/qrlCLVDfHtSI0ayAlXTAl YerCxKur6wW2iIxCo1f3BUqiyZf304hXMgj7xRnNnKeOFHZATaEjynnmiGVAZp6zXTb62amtrtg 0KEtYG1Qxt6iW7POCjbAqwroVNA5pi9sDflooyRmmswQl1tp3yelub2KSkmT4RU+DHo24ROcPGt D3m+MzuSbAliXjPFowgnwK41IA/bjFTwbyqGxssWzpBEYyWL33trxVq9Qj1JfTcK9zXQuHVuCmJ 46qXaYBaf6nDq02mDc5MV+MGZC40pclnGqR8qHoIkJ775eHTiMeyk386o= X-Received: by 2002:a05:600c:a117:b0:490:c2a3:23d0 with SMTP id 5b1f17b1804b1-490c2a32441mr294659765e9.35.1781093915295; Wed, 10 Jun 2026 05:18:35 -0700 (PDT) Received: from taln60.nuvoton.co.il ([212.199.177.18]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-490bc413adbsm566553095e9.15.2026.06.10.05.18.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jun 2026 05:18:34 -0700 (PDT) From: Tomer Maimon To: andrew@codeconstruct.com.au, broonie@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: openbmc@lists.ozlabs.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, avifishman70@gmail.com, tmaimon77@gmail.com, tali.perry1@gmail.com, venture@google.com, yuenn@google.com, benjaminfair@google.com, Krzysztof Kozlowski Subject: [PATCH v5 1/3] arm: dts: nuvoton: npcm7xx: Drop bogus FIU memory reg-names Date: Wed, 10 Jun 2026 15:18:20 +0300 Message-Id: <20260610121822.2524634-2-tmaimon77@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260610121822.2524634-1-tmaimon77@gmail.com> References: <20260610121822.2524634-1-tmaimon77@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The NPCM7xx FIU controller nodes only describe the control register block, but they still advertise a second "memory" entry in reg-names. Drop the bogus name so the DTS matches the resources actually present in each node. Signed-off-by: Tomer Maimon Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi b/arch/a= rm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi index ab3c3c5713ae..a16450abea0e 100644 --- a/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi +++ b/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi @@ -191,7 +191,7 @@ fiu0: spi@fb000000 { #address-cells =3D <1>; #size-cells =3D <0>; reg =3D <0xfb000000 0x1000>; - reg-names =3D "control", "memory"; + reg-names =3D "control"; clocks =3D <&clk NPCM7XX_CLK_SPI0>; clock-names =3D "clk_spi0"; status =3D "disabled"; @@ -202,7 +202,7 @@ fiu3: spi@c0000000 { #address-cells =3D <1>; #size-cells =3D <0>; reg =3D <0xc0000000 0x1000>; - reg-names =3D "control", "memory"; + reg-names =3D "control"; clocks =3D <&clk NPCM7XX_CLK_SPI3>; clock-names =3D "clk_spi3"; pinctrl-names =3D "default"; @@ -215,7 +215,7 @@ fiux: spi@fb001000 { #address-cells =3D <1>; #size-cells =3D <0>; reg =3D <0xfb001000 0x1000>; - reg-names =3D "control", "memory"; + reg-names =3D "control"; clocks =3D <&clk NPCM7XX_CLK_SPIX>; clock-names =3D "clk_spix"; status =3D "disabled"; --=20 2.34.1 From nobody Thu Jun 25 01:53:41 2026 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A41FA406819 for ; Wed, 10 Jun 2026 12:18:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781093923; cv=none; b=GJjIAgCTdqElVGSJI7o10P5GWGk33RVjUaM9TNNt1lHZDd1cGJA4jwWXV0l1X8jj7E+9Sd9wGMnDczR2h5YHutO9ZcNkJkJvg3qLWtt4ap+fY1bVqmvcQ7nd9BtAx4H95f8xcSuj6HheC061dsmPzZZASCY5tnn2Hu1y0+utn+g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781093923; c=relaxed/simple; bh=yysbUW3aZgPyrjC1A+db48LbzRljGcyZydolnzYEPR0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=O5fSwjUveL9lM2CRGmL9V4NPxL1Ix5kxsGF85HvLgDTzAAPPd6S/7+1a8LTF+BYGxG2L+xSZjolHxE4aHdKMq8NVYgWoM8uV11wANagqVrU7WCUiNApbA6P5zwOPMDGWuluIAJbvwKHjA4KgWF8dhdYZ5Bil5//T2+KqWHr15to= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Xp+XMkQo; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Xp+XMkQo" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-490bc6a7958so59393375e9.1 for ; Wed, 10 Jun 2026 05:18:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781093918; x=1781698718; 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=U7tivorkStwB1FS3/hWit3SBK6zemxB0rzwIUjUwnSE=; b=Xp+XMkQoK1AdUznczIqALISNLzJ9hxgULuS9WFghNCBtb68CEXAwPVdugSoqcx9k3F SEVuZgV1n6BMaO9jitBERr63hM+/dq4rWhib2g2BgJa/J0X62nX3y9NxC577TtOIkI0J Pjs+qbEutNdHF7pbdpn3ZDxzdLCX63ZEfo5DnQmyAL89Me068Jghayw5QQSnw7Xvnnxz /ECXOqR1qprFRzsmhnFVVkQ9XmG8HciKiamVMaQsYSyyD9q+vvFSJwvhPxmniIg2fBoG lYN8Dt08LWKPaC4JUs2iXnYfDAwq6TCWHPP54d39w+9RO2PqW+m5gwAd9HpbBMVbvi6H zKwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781093918; x=1781698718; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=U7tivorkStwB1FS3/hWit3SBK6zemxB0rzwIUjUwnSE=; b=POMEyrEz1l8hKiuW/z4e8GbNz59/mUUekYGLr9bGlj9tCm+jgNajXCpbR6sYs9vlfW YcND8tFKgY64x1kYvnjZKEwN5RUch09aky42k3AWVoC+Y3G41ZMISJNypoZzvH8d2eO/ qFGJx49EYY1n4PLpVxi5P7yVhthuDq/WWV3S6mDDSq2+2Z1lkT30BrIyXa6ACTak2QLZ I6NCFgEVpeVS2Xz/xA7j0IQEmlnuvMbGchIh03+eMdwSjVf96pXyRF6swft5GdY+Ngs2 53i8XUoAoUnAnz0jy/maGrzSn100EKwb9rxW0FJfk5hhj8azBqLhr5Lo2dy0EyN5a3WZ hOsg== X-Forwarded-Encrypted: i=1; AFNElJ8jEdxmgUE9O77tkYwg4ldZmdN8vxwO8A8TJYZ5YeKi5TPtGsKMZV+nLuC/rMBVvuCH1reAXyaQu+CNJ/Q=@vger.kernel.org X-Gm-Message-State: AOJu0YxQmHAbXdVtrM8T/VuPWKw5TeA3KH5T5RMHqobOtTCAveazH7Ns PkKbb38ogJY6PRbHjWBJQBreNGw6iisWbRV0Bejk052pguF3h1MaHg9b X-Gm-Gg: Acq92OEuq8WHkWmADAZBtU7/Og62+rE9VjLoI9wiXMM//36cUvFAbil2nTFwGgDW+Mf Kdw7nNt9SoOpCus02X8Kp5BMgEAQznLhRhusyipp8vUafevDVTw++IKlPFcdmIrGnsAo3geYWL0 DvHGVp4mjel5HW4enp/qAU9C4c1QdP+zCEcG3YzVqPAUGW2TJ8LhsFmxSUZcRExeLQM/g1iRrsk TI7mL8mdQz0ix/FpjniJEq0ptEgPIx/5CcBFxjKH37fRh9fFr1dnql9pc7Ddj/Ode3ZHKhU7zQf oz4isRBpA+ley5R7+rh9VjxUD0cqTtwF+C4wBTM11qkZczJbdHHHz3fhUhEdJ2V+JpAo2ruQ0tX 0+sIaa0uHyaX+lzr8/h1LmicWhuwUBa3Yx4LcuOWghk8L1JgfUCqZYOX0Is2CXZGxyhsvMNzfJd PPllb9+93Bi9EhRTD3t23TDgmfFzviBuQKOfuyO0cjxhQsrkbZML8SGqw= X-Received: by 2002:a05:600c:4750:b0:490:9dc3:3483 with SMTP id 5b1f17b1804b1-490c2cb81fbmr286119175e9.2.1781093917817; Wed, 10 Jun 2026 05:18:37 -0700 (PDT) Received: from taln60.nuvoton.co.il ([212.199.177.18]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-490bc413adbsm566553095e9.15.2026.06.10.05.18.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jun 2026 05:18:37 -0700 (PDT) From: Tomer Maimon To: andrew@codeconstruct.com.au, broonie@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: openbmc@lists.ozlabs.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, avifishman70@gmail.com, tmaimon77@gmail.com, tali.perry1@gmail.com, venture@google.com, yuenn@google.com, benjaminfair@google.com, Krzysztof Kozlowski Subject: [PATCH v5 2/3] arm: dts: nuvoton: npcm7xx: Drop redundant FIU clock-names Date: Wed, 10 Jun 2026 15:18:21 +0300 Message-Id: <20260610121822.2524634-3-tmaimon77@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260610121822.2524634-1-tmaimon77@gmail.com> References: <20260610121822.2524634-1-tmaimon77@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The NPCM7xx FIU controller nodes reference a single clock, but their clock-names properties are not described by the FIU binding. Drop the undocumented names so the DTS matches the binding. Signed-off-by: Tomer Maimon Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi b/arch/a= rm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi index a16450abea0e..83cd10b47273 100644 --- a/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi +++ b/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi @@ -193,7 +193,6 @@ fiu0: spi@fb000000 { reg =3D <0xfb000000 0x1000>; reg-names =3D "control"; clocks =3D <&clk NPCM7XX_CLK_SPI0>; - clock-names =3D "clk_spi0"; status =3D "disabled"; }; =20 @@ -204,7 +203,6 @@ fiu3: spi@c0000000 { reg =3D <0xc0000000 0x1000>; reg-names =3D "control"; clocks =3D <&clk NPCM7XX_CLK_SPI3>; - clock-names =3D "clk_spi3"; pinctrl-names =3D "default"; pinctrl-0 =3D <&spi3_pins>; status =3D "disabled"; @@ -217,7 +215,6 @@ fiux: spi@fb001000 { reg =3D <0xfb001000 0x1000>; reg-names =3D "control"; clocks =3D <&clk NPCM7XX_CLK_SPIX>; - clock-names =3D "clk_spix"; status =3D "disabled"; }; =20 --=20 2.34.1 From nobody Thu Jun 25 01:53:41 2026 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3DE1E3AFD08 for ; Wed, 10 Jun 2026 12:18:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781093924; cv=none; b=BFKuBPoCNlqQecTlRUUPpI8P420iGPq+ptG/Rds9SKZv4QzUu7HFRH4eczUOUFQ3Ka4S00Tn0YcaKR+uZ7qe0LL5toSOACEfud8PUeDgvG4iDhYEj/kue9/DUUfyJT/eUvRBzPKHafcz8gmINftO4Wv45TPYa8UW5FL8c7LKKwI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781093924; c=relaxed/simple; bh=JsztznW3Xmh/xeI6ZlgYjv1v61PArbh6D8QyccieYy0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=n1K7KuQFIZzUesN1qKRhFoPYN+Y7paIOc+HJjAw0MQ/Phk1mg+1aFUoWwmxatBBuv05qHb7dZxLFi7aWRcqJhMRQe94KhzsCdnoqZcTa0Os2jHMwGEOFExnkii+SE7rzZcIOIcTM1CgNVWtAfTgEZEPbB4k6+KFTysFDNvrD9do= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=AcmjuJ91; arc=none smtp.client-ip=209.85.128.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="AcmjuJ91" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-490b3e03939so55531015e9.1 for ; Wed, 10 Jun 2026 05:18:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781093920; x=1781698720; 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=hVBJJGFYjcbuEOi6xjg9aXQreuuYV6xXp7Ov8MwZ6W0=; b=AcmjuJ91/vEPVNZVsA9ynB/T1eoWWt1qJ8U29dNiGoltyEN3nZkSmQJJCzj3cFIOHH 5iVxg8+iNbN+Ho8pahfSXKr+MMOC78j7Jo1bH/idRxo0QpGMizDbpajiPyLpZ+qrtYnP qO6I/x8jdJS6ZNL7bdgGPdp1OUORyfoAZNBaawQ1SclDkgMtG+78uiJxUbfa32dn8Qz5 WKwCtKciPQUwbJob5Tw0rqEjSu37l5CCWr+mNSOUXMZM/9nTK3WufkmtZ4K6Cle3j/SE vj+Rqjt16booH6N0vjnhJKow61s2Pp9Eqf/J5GgJFh0umeA3b5aFQN8gxkM7Thw3fPz6 nsmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781093920; x=1781698720; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=hVBJJGFYjcbuEOi6xjg9aXQreuuYV6xXp7Ov8MwZ6W0=; b=PpzZwJgcycyUOgq1QfsulosCY8alPmhHsoKMLgE5y4gNPI+ovjxJA1+eD7z0yp8Zjj ZRDFX5fGS78G53TlyOkozGAb73zEDtcheMg3XM76+Zrknqn04VVmjgH6OuI7PCzlYUBG AOUq1z4FxyE2hX+gffF2YFNFE+KbZ1DUwmb6WITA10SakvsMr0157PH12lM5qKsSy0uh F21C9oQB6VX0ut2G4IADIalILBJAmGfIbpq4p0ilGYdMg8MndA9jY7iRQRSK26O5lze/ KLzrhqLY+qd779LBc+LMTP+EqOJjjb96s1QQFjG7SRaJ4+jZaQnMb97dQij/h0I1rB4X K4YA== X-Forwarded-Encrypted: i=1; AFNElJ+BST1SUaiDDrw7bdJXTu0Z9pXjRx8a0uWWkUsNR3j2MK7O8D5snSsT5EWbFuwUY+4fTgCAstdPpGIcxlo=@vger.kernel.org X-Gm-Message-State: AOJu0YzzjOeE5zal88H/MoDLVbtoTok/Yr/SdtwhrIOVd/6KMrvI+4LO zZiVlmH5cBnOdYe2K786XTJgiXxUIUrmPZGPTWM37AzPOWWGnxXU1pup X-Gm-Gg: Acq92OGjSdY1RwXMOUCK4+p4iF0ktiemS2nrVOMVM2R+Ry0cxWEM3nrkSDoXtiJlg+R t8820l0DlqizW8leq+kZizbzE2u9/jAGgijAWVuwRf0osATtzMGoxcLSEHEbmCWChNidkIZ72qD 2nWK/tl5iBPUW3IhtrOK5RoK9ERuUoDzgcNfn5IGw31KCo0fyYqGKz+v9iUyHvAqNJavEn7ah18 350orjDA2PRaCmTM0pYi0ysWVunYaPl/gZQsTnSZ0stlMCnYORUoa87NdcWg3LsqOc86B16NQXG cA7nesf/ihF/+ltKJpBv2tfDO8EMoTxw68LYlTV0Y8hqvlIQCZwG9cnP/D1zCfBhp6dmYkRHWp6 4442BEz0bshFfXZ/ajMzzdzswe8kKeuq/1dsObP1TN7mM2x/vaDdI2Gf1xoUR2+aHUaLSr6k/ei 2kX24D/uBqgQoY1qcfUGtoENrlUKvTRAYXUwsT9qYbaeNi X-Received: by 2002:a05:600c:8519:b0:490:3cf0:8d81 with SMTP id 5b1f17b1804b1-490c2d0e9a2mr302554865e9.13.1781093920430; Wed, 10 Jun 2026 05:18:40 -0700 (PDT) Received: from taln60.nuvoton.co.il ([212.199.177.18]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-490bc413adbsm566553095e9.15.2026.06.10.05.18.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jun 2026 05:18:40 -0700 (PDT) From: Tomer Maimon To: andrew@codeconstruct.com.au, broonie@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: openbmc@lists.ozlabs.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, avifishman70@gmail.com, tmaimon77@gmail.com, tali.perry1@gmail.com, venture@google.com, yuenn@google.com, benjaminfair@google.com, Krzysztof Kozlowski Subject: [PATCH v5 3/3] spi: dt-bindings: nuvoton,npcm750-fiu: Convert to DT schema Date: Wed, 10 Jun 2026 15:18:22 +0300 Message-Id: <20260610121822.2524634-4-tmaimon77@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260610121822.2524634-1-tmaimon77@gmail.com> References: <20260610121822.2524634-1-tmaimon77@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Convert the Nuvoton NPCM FIU binding to DT schema format. Document the required control registers and the optional direct- mapped flash window separately, matching the driver behavior when the direct mapping is not described. Signed-off-by: Tomer Maimon Reviewed-by: Krzysztof Kozlowski --- .../bindings/spi/nuvoton,npcm-fiu.txt | 58 ------------ .../bindings/spi/nuvoton,npcm750-fiu.yaml | 93 +++++++++++++++++++ 2 files changed, 93 insertions(+), 58 deletions(-) delete mode 100644 Documentation/devicetree/bindings/spi/nuvoton,npcm-fiu.= txt create mode 100644 Documentation/devicetree/bindings/spi/nuvoton,npcm750-f= iu.yaml diff --git a/Documentation/devicetree/bindings/spi/nuvoton,npcm-fiu.txt b/D= ocumentation/devicetree/bindings/spi/nuvoton,npcm-fiu.txt deleted file mode 100644 index fb38e96d395f..000000000000 --- a/Documentation/devicetree/bindings/spi/nuvoton,npcm-fiu.txt +++ /dev/null @@ -1,58 +0,0 @@ -* Nuvoton FLASH Interface Unit (FIU) SPI Controller - -NPCM FIU supports single, dual and quad communication interface. - -The NPCM7XX supports three FIU modules, -FIU0 and FIUx supports two chip selects, -FIU3 support four chip select. - -The NPCM8XX supports four FIU modules, -FIU0 and FIUx supports two chip selects, -FIU1 and FIU3 supports four chip selects. - -Required properties: - - compatible : "nuvoton,npcm750-fiu" for Poleg NPCM7XX BMC - "nuvoton,npcm845-fiu" for Arbel NPCM8XX BMC - - #address-cells : should be 1. - - #size-cells : should be 0. - - reg : the first contains the register location and length, - the second contains the memory mapping address and length - - reg-names: Should contain the reg names "control" and "memory" - - clocks : phandle of FIU reference clock. - -Required properties in case the pins can be muxed: - - pinctrl-names : a pinctrl state named "default" must be defined. - - pinctrl-0 : phandle referencing pin configuration of the device. - -Optional property: - - nuvoton,spix-mode: enable spix-mode for an expansion bus to an ASIC or= CPLD. - -Aliases: -- All the FIU controller nodes should be represented in the aliases node u= sing - the following format 'fiu{n}' where n is a unique number for the alias. - In the NPCM7XX BMC: - fiu0 represent fiu 0 controller - fiu1 represent fiu 3 controller - fiu2 represent fiu x controller - - In the NPCM8XX BMC: - fiu0 represent fiu 0 controller - fiu1 represent fiu 1 controller - fiu2 represent fiu 3 controller - fiu3 represent fiu x controller - -Example: -fiu3: spi@c00000000 { - compatible =3D "nuvoton,npcm750-fiu"; - #address-cells =3D <1>; - #size-cells =3D <0>; - reg =3D <0xfb000000 0x1000>, <0x80000000 0x10000000>; - reg-names =3D "control", "memory"; - clocks =3D <&clk NPCM7XX_CLK_AHB>; - pinctrl-names =3D "default"; - pinctrl-0 =3D <&spi3_pins>; - flash@0 { - ... - }; -}; - diff --git a/Documentation/devicetree/bindings/spi/nuvoton,npcm750-fiu.yaml= b/Documentation/devicetree/bindings/spi/nuvoton,npcm750-fiu.yaml new file mode 100644 index 000000000000..965904a98785 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/nuvoton,npcm750-fiu.yaml @@ -0,0 +1,93 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/nuvoton,npcm750-fiu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nuvoton NPCM Flash Interface Unit (FIU) SPI Controller + +maintainers: + - Tomer Maimon + +allOf: + - $ref: /schemas/spi/spi-controller.yaml# + +description: | + NPCM FIU supports single, dual and quad communication interface. + + The NPCM7XX supports three FIU modules: + FIU0 and FIUx support two chip selects + FIU3 supports four chip selects. + + The NPCM8XX supports four FIU modules: + FIU0 and FIUx support two chip selects + FIU1 and FIU3 support four chip selects. + + The FIU control register block is always required. The direct-mapped + flash window is optional because the controller can still access flash + through the UMA path when that mapping is not described. + + Alias convention: + The '/aliases' node should define: + For NPCM7xx: fiu0=3D&fiu0; fiu1=3D&fiu3; fiu2=3D&fiux; + For NPCM8xx: fiu0=3D&fiu0; fiu1=3D&fiu3; fiu2=3D&fiux; fiu3=3D&fiu1; + +properties: + compatible: + enum: + - nuvoton,npcm750-fiu # Poleg NPCM7XX + - nuvoton,npcm845-fiu # Arbel NPCM8XX + + reg: + description: + The first resource is the FIU control register block. An optional se= cond + resource describes the direct-mapped flash window used for direct + read/write accesses. + minItems: 1 + items: + - description: FIU control registers + - description: Memory-mapped flash contents + + reg-names: + description: + Resource names for the control registers and optional direct-mapped + flash window. + minItems: 1 + items: + - const: control + - const: memory + + clocks: + maxItems: 1 + description: FIU reference clock. + + nuvoton,spix-mode: + type: boolean + description: Enable SPIX mode for an expansion bus to an ASIC or CPLD. + +required: + - compatible + - reg + - reg-names + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + spi@fb000000 { + compatible =3D "nuvoton,npcm750-fiu"; + reg =3D <0xfb000000 0x1000>, <0x80000000 0x10000000>; + reg-names =3D "control", "memory"; + #address-cells =3D <1>; + #size-cells =3D <0>; + clocks =3D <&clk NPCM7XX_CLK_SPI0>; + + flash@0 { + compatible =3D "jedec,spi-nor"; + reg =3D <0>; + #address-cells =3D <1>; + #size-cells =3D <1>; + }; + }; --=20 2.34.1