From nobody Sun Feb 8 05:26:58 2026 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (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 B52C4341072 for ; Wed, 17 Dec 2025 08:09:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765958943; cv=none; b=O7BuRtxObGRv+jwlK8cCNzVC7Y+xY1Tnj4MxXdhIntf/cFwCOgA0fKb7jGOXzk+/RHcM0oSa/K6PMFtO0rW8QOshU/UsEGZf+UOYhoTI1vNFBXGMNzxITAK3rmLTDhJGMpw3tkqDYlaJHxhUy8tY6F3oF5u5Qfs1k/ejDPXWk7k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765958943; c=relaxed/simple; bh=WYGDwtO9eQNVNa8ZVym/Vt5s9Af72lv4Y1u8XOfzFPM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=GDrkOFYyJXQ2L8mutT+4PmfNOQ6A1Y1Dc7yWqy3wOb37evaMVjJU0oyBeH/QHvtinsd3ikLV9EMUhocFeuQAGCm780+aAgS1w8O0R+rWpMmzrv4elGpdUw8MQagPZav/flTO6GEqRZWIMytnZ760kH/Ru6aIUucYRXh2rLP6dhQ= 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=OnwZvAxH; arc=none smtp.client-ip=209.85.128.51 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="OnwZvAxH" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-477a1c28778so59533755e9.3 for ; Wed, 17 Dec 2025 00:09:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765958939; x=1766563739; 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=MNdbat0FCjuFkU/WW3WZpT0/Ox10m6+452sPx2EkmMU=; b=OnwZvAxHh53g7oaA2/aZE6FPlfIY0YYKx2wfwSo3lQza6vHpDCZ070Std54DpfK9xb /hSrFjvgPrHM96TzkBYgxjQTvjuzWkIYpTIbjxIZvfJLtvllO33zSlfv/YR6mSMwW3P9 CuQgXGS/KVxwNr9Z7rsC4rXulpCMS5GR6hqYrhsAD68K1cf00N7GXeAGisR/m8+CkecY GCIYp9A2yN+tLq4JQBpEhA4ylx2Oo4o42kCG0JvwyOEES0KT/ZfRAkCW5mI1v4gd4ti2 F2KSnNtPc9xgdOpmxrk16xD3t8ykkugKGnbMwlfIRporRpOle47MD564F/YX4qX3flxB vmNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765958939; x=1766563739; 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=MNdbat0FCjuFkU/WW3WZpT0/Ox10m6+452sPx2EkmMU=; b=S+3QMdwyzkOijhcoAhscbQo4UNHivdYF3g6ZzNnNKmzPfZzENs58ZPYsVkq2/IJUh5 y6R3qL9pmDha9F/MwQuQ9Hy9ZTkFsK/horCLgP0I4eJi1LZcpejwQuG6xE1eS4X3kI83 2QPWNquKfTEISwjHdt6yD8IktqlLxdmeBvw/e7kB349Mf5ziJ7S5mXcC41E+f4AgUkAj DnVTTo7kwQo0/2UavH8f7gqj9lRkuRpSGNrSJndtkGxIS0KNll4Rb/6jxttENlHGT0Ll Ds7cyGlhs2WJxR+Gy7hB0Ex/VuDMXtGnFP/E5UoQglZKsnDHAF+qeO/Y/uBOlS9oMV75 i8IA== X-Gm-Message-State: AOJu0YywrMwF6BUYBXoZSiz2TBqcjw0ZoygTwb/B7D6BHwZhTtdK7CFy GHRsHwXeJGXK/DUxGqlYwJjTxU/w3kOsvw5Vcz2bURklX/UNGPvyNrFGks0lPg== X-Gm-Gg: AY/fxX4z/8h+ReXdjmch7Gb9hhGlJMSajD/ITDaQDQlQeK1uExk2ilzuSTQCJ68B8z2 ZL7UTYB9dUoLS2mXB2U61qAVziC7GWURjSBd7F8FEDTMUs7YTWDRJL3HR48mfJOmA1TgTgSc/PM aqLkO/kJ1bREnMgY5CCH+QL0EAL6dbqEcZd+mrjkM4fZy3nmsFzE/r4NfMPqAk28MklMxXr1ERT WsLqYXaGwUBixzKnEYBgkDX1+oKZ+f/A4trTDbeTOCZxpjOjW28zGT4ORKk/V6BliLtIz3Kd7A2 V5urNmfbpLUSUvWnsmTaF81yI9uJTfU27WSaZK81/NvPjgDcax2lJiSed//+xhWwQto8fIrpIyn wTX6Uit+DBJsHdIjVbp5PQT33Bb1qYU1zWeMd/BDTMN9rq/eK2LVQz98lktLSxL3ikg4JkwTIA4 QWSSxGk6O4BN3DphQZnIY5xDOJMC65IreW8/8du4YRLq/rKsehwjo/jP+/RbGU11P2 X-Google-Smtp-Source: AGHT+IGIniiX4z2xcB+HJw7rpdiF/WcO2McouN4KlikrTH48po4ehonwpvhBjzZMT7mg2YbyGVhW7A== X-Received: by 2002:a05:600c:4ed0:b0:477:79c7:8994 with SMTP id 5b1f17b1804b1-47a8f90ea5fmr200713865e9.30.1765958938898; Wed, 17 Dec 2025 00:08:58 -0800 (PST) Received: from localhost (brnt-04-b2-v4wan-170138-cust2432.vm7.cable.virginm.net. [94.175.9.129]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47bdc1cb6a8sm25518315e9.2.2025.12.17.00.08.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Dec 2025 00:08:56 -0800 (PST) From: Stafford Horne To: LKML Cc: Linux OpenRISC , Stafford Horne , Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2 1/5] dt-bindings: Add compatible string opencores,gpio to gpio-mmio Date: Wed, 17 Dec 2025 08:08:27 +0000 Message-ID: <20251217080843.70621-2-shorne@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251217080843.70621-1-shorne@gmail.com> References: <20251217080843.70621-1-shorne@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" In FPGA Development boards with GPIOs we use the opencores gpio verilog rtl. This is compatible with the gpio-mmio. Add the compatible string to allow as below. Example: gpio0: gpio@91000000 { compatible =3D "opencores,gpio", "brcm,bcm6345-gpio"; reg =3D <0x91000000 0x1>, <0x91000001 0x1>; reg-names =3D "dat", "dirout"; gpio-controller; #gpio-cells =3D <2>; status =3D "okay"; }; Link: https://opencores.org/projects/gpio Signed-off-by: Stafford Horne Acked-by: Conor Dooley Reviewed-by: Linus Walleij --- Since v1: - Fix schema to actually match the example. .../devicetree/bindings/gpio/gpio-mmio.yaml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/gpio/gpio-mmio.yaml b/Docume= ntation/devicetree/bindings/gpio/gpio-mmio.yaml index b4d55bf6a285..6fcf5fd2cb66 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-mmio.yaml +++ b/Documentation/devicetree/bindings/gpio/gpio-mmio.yaml @@ -18,11 +18,16 @@ description: =20 properties: compatible: - enum: - - brcm,bcm6345-gpio - - ni,169445-nand-gpio - - wd,mbl-gpio # Western Digital MyBook Live memory-mapped GPIO contr= oller - - intel,ixp4xx-expansion-bus-mmio-gpio + oneOf: + - enum: + - brcm,bcm6345-gpio + - ni,169445-nand-gpio + - wd,mbl-gpio # Western Digital MyBook Live memory-mapped GPIO c= ontroller + - intel,ixp4xx-expansion-bus-mmio-gpio + - items: + - enum: + - opencores,gpio + - const: brcm,bcm6345-gpio =20 big-endian: true =20 --=20 2.51.0