From nobody Sat Jun 13 23:22:58 2026 Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) (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 8E5AC390CB8 for ; Sat, 13 Jun 2026 19:24:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781378645; cv=none; b=kUi+GWGwsupPkqOKiGdewQ1bZrTfwGiJFi2kyvs2ePL0rYhPSWFh2SEifo5ZWtizorzL7HyGiDZ05zXpfDNRX0el5P5jeAAVDC05vCcrFO4Irauu50MSiS6pWutAW5BPAuI4/sWRwF7n0F2kCyx+4m5Qx8BbwQxG5DBJ5NUcbsM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781378645; c=relaxed/simple; bh=7rwSq0SrGdEQBmnV4uKLdu242Sdx64fS4O/VIHJ/K30=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=S17Mn7PE05cSxyTkg829klCLhiAfK329lpRVRwTX3LrerpkiGNNKYKidqJWo7/dynS1x3G8b/tc1y5YkantTCNmjp66dvP5UTjwYeVOIeVf9RnLmePY+o/GtJ3PLj0pMlHcCJafk90wG54x7tZFyh8seLiATi3HdF0kzkOsaPWw= 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=Kz5zFqut; arc=none smtp.client-ip=209.85.210.169 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="Kz5zFqut" Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-84237c55ef9so1335192b3a.0 for ; Sat, 13 Jun 2026 12:24:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781378641; x=1781983441; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=w8022n++FT6lM5F9jV25aEA6KvKK+0yJkAo/E3Gfkzw=; b=Kz5zFqutp4Ec9Dxcb0vx1iqJFZ38Z0fRtTQBxTf+tfgrq6V9h7hVnmJ9aLcGnPOomL KxdJMythu+MATQbFX3Aa0sfqWresLlEdjl/Zcmj4RZEo8jWdvyjHBQ6zfJZ7lPl6mmvt 8ZkQ0CrL2Ad2kPLZj6tqAT6rNL+IlpXy3m3nuK9unxV4rmRbWnUdv/+NZSLWx86cFYCp 9PIyab8TjPaMoYIOTS85IA60O/z8ZO0QHElihMCPfduYKnI+B7NmEGbPOI2pOqocGEDd OKhFG9al1eXVNRWToOW5rBlggMUTQky2OnXaDY+TeuCjEMeBJHTT8I1W0Tds2+LbmKj2 SOtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781378641; x=1781983441; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=w8022n++FT6lM5F9jV25aEA6KvKK+0yJkAo/E3Gfkzw=; b=XG5m5hPBtlGUK85pZenVSgnG5Kp2jkePnWaFnifndiU+3QbfZIwFyOYZLRKcrT+zYg ApW8uWUQ32e3owqvlL5t7uojjO+v6lJb6g6GTd9Qx3fma4pjxjthvqBhEWd8huwvcFTd Cz2Bdi9cGaacRHGI14x/iou/2DcsKA04XNfq39njUAsN60ufJbg92O6EE1FGJVQEGYN9 Ek7ej0OdEp6TsWp9y+U1xSS0SN8Iuc32qfkfDDcYUeMDhM0ZQdNCAZRBe7ldfY3AmLMK +t0n4TNC7ox2Y2fzv/tgeXruwHSCeJyaBXTNDPPJJRFJ8PoifLtTOWcol86k1UX4pUVm rktA== X-Forwarded-Encrypted: i=1; AFNElJ8l89iEKoO9ZDRCBv17V4W3JXSM3ZKKvfJqKZmiMBui0kLLIudAe6Wre8B/SKIIJbuArb0ADnK9Ccyr8GQ=@vger.kernel.org X-Gm-Message-State: AOJu0YwvSBlOE/vlYNCYmhUTbRFJg/XKQE+luBX+ia0j+oAKL+mKSYxg FLt6eRUrMOahbZSGGmFgHZ9/gPMafTHdBWrMH6E8lufXbUO1XzWQY37j X-Gm-Gg: Acq92OEKq0mNznONR2eeWoR5ITCRkZ2MhHNchffEA31eSE+R/gVxqVb5dRZkSDXr00f TLFvgpioadCYEzr9ilw18OJR1Cl9re4tZ9y1JA0WCja+8I/oUHe+uSKsIn/OkixuNcoXx+YPM9v 1BukI0A5fSoini3KK7rpdDnFIW4HagxNIwADBh23A801ZKvx6OwzhXx5nVYfyn1O+VREpyxyb/i sbIbkzFqgExlZcMbFicWW9qymnR1fWSQDAz/CwkHrJ/LEeef010LZfsjJPPLEklH1XJsRPGl5RQ WzRyXS4uy96ohnQHji5MDAmIxilRzt3d5K06KnwQDnNakr3kwFZMfz6d6Xp60jsRZtQeHkC8pvw VGKoTw76MBBdd3Z6VnoD88zGffjoBjIKGQzOTLvgxeE/H1E9O/uE5+4wsQuJmzLRRvzhjTkedSB P5gQm2otXOWRm0NIaEp1VfRHQBhgY7Rllefy5NAITJ9sSjkkStSe3ojYRYJIsiXqDOT0iChwkbg yb2bdFM X-Received: by 2002:a05:6a00:2451:b0:842:7f81:8079 with SMTP id d2e1a72fcca58-8434ceb199dmr8246337b3a.37.1781378640746; Sat, 13 Jun 2026 12:24:00 -0700 (PDT) Received: from fedora ([103.181.54.100]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8434acd96d8sm6725155b3a.19.2026.06.13.12.23.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Jun 2026 12:24:00 -0700 (PDT) From: Ninad Naik To: broonie@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, david.daney@cavium.com Cc: linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, me@brighamcampbell.com, linux-kernel-mentees@lists.linux.dev, skhan@linuxfoundation.org, Ninad Naik Subject: [PATCH v2] spi: dt-bindings: octeon: Convert to DT schema Date: Sun, 14 Jun 2026 00:52:33 +0530 Message-ID: <20260613192233.2229933-1-ninadnaik07@gmail.com> X-Mailer: git-send-email 2.54.0 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 octeon-3010 to DT schema Signed-off-by: Ninad Naik --- Changes in v2: - Change the maintainer from Mark Brown to David Daney. - Use soc node wrapper instead of root node in the example to handle address-cells and size-cells requirements. - Remove interrupt controller provider from the example. .../bindings/spi/cavium,octeon-3010-spi.yaml | 61 +++++++++++++++++++ .../devicetree/bindings/spi/spi-octeon.txt | 33 ---------- 2 files changed, 61 insertions(+), 33 deletions(-) create mode 100644 Documentation/devicetree/bindings/spi/cavium,octeon-301= 0-spi.yaml delete mode 100644 Documentation/devicetree/bindings/spi/spi-octeon.txt diff --git a/Documentation/devicetree/bindings/spi/cavium,octeon-3010-spi.y= aml b/Documentation/devicetree/bindings/spi/cavium,octeon-3010-spi.yaml new file mode 100644 index 000000000000..e35e661d0a58 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/cavium,octeon-3010-spi.yaml @@ -0,0 +1,61 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/cavium,octeon-3010-spi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cavium, Inc. OCTEON SoC SPI master controller + +description: + The Cavium OCTEON SPI controller is an SPI master controller found in + OCTEON SoCs. + +maintainers: + - David Daney + +allOf: + - $ref: spi-controller.yaml# + +properties: + compatible: + const: cavium,octeon-3010-spi + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + soc { + #address-cells =3D <2>; + #size-cells =3D <2>; + + spi@1070000001000 { + compatible =3D "cavium,octeon-3010-spi"; + reg =3D <0x10700 0x00001000 0x0 0x100>; + interrupts =3D <0 58>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + eeprom@0 { + compatible =3D "st,m95256", "atmel,at25"; + reg =3D <0>; + spi-max-frequency =3D <5000000>; + spi-cpha; + spi-cpol; + pagesize =3D <64>; + size =3D <32768>; + address-width =3D <16>; + }; + }; + }; +... diff --git a/Documentation/devicetree/bindings/spi/spi-octeon.txt b/Documen= tation/devicetree/bindings/spi/spi-octeon.txt deleted file mode 100644 index 431add192342..000000000000 --- a/Documentation/devicetree/bindings/spi/spi-octeon.txt +++ /dev/null @@ -1,33 +0,0 @@ -Cavium, Inc. OCTEON SOC SPI master controller. - -Required properties: -- compatible : "cavium,octeon-3010-spi" -- reg : The register base for the controller. -- interrupts : One interrupt, used by the controller. -- #address-cells : <1>, as required by generic SPI binding. -- #size-cells : <0>, also as required by generic SPI binding. - -Child nodes as per the generic SPI binding. - -Example: - - spi@1070000001000 { - compatible =3D "cavium,octeon-3010-spi"; - reg =3D <0x10700 0x00001000 0x0 0x100>; - interrupts =3D <0 58>; - #address-cells =3D <1>; - #size-cells =3D <0>; - - eeprom@0 { - compatible =3D "st,m95256", "atmel,at25"; - reg =3D <0>; - spi-max-frequency =3D <5000000>; - spi-cpha; - spi-cpol; - - pagesize =3D <64>; - size =3D <32768>; - address-width =3D <16>; - }; - }; - --=20 2.54.0