From nobody Sun Feb 8 14:10: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 E02F019C540 for ; Tue, 13 Jan 2026 16:15:15 +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=1768320918; cv=none; b=A0CayYWk19kClNC+Pyzee832IRCyqkE1ge4XhJqXOxd7IwZPx7mRGS9Z6MFdZ0deQsQToIqGPzrwmIu/aFnXfNqAMQGdTl/ymTIPoePHSBfAJf2LJ601/FpQvl2rLLsZd3j1NpNcDFjK/Y0UHXnsvhbsjN6E3gQpKcYum2BGkPs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768320918; c=relaxed/simple; bh=RA2MpMFiQcW8woGky10vbDaNAxzlqZLD9Qto0cY6qXw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FP8lnnivVsYrERO13SZDVAOEIY63L2odkeV9FimHa1rOxzmaTFO5zpq2yPClyl/cuDm1TSXFLKQnJXzGR2/aBVPY314RGI2kbtk4srC7KAcKR16RVT118XCtfDDtODm/PI5tm5ytjLEukjc5IYCCACCKmaacqvrs2Z23nuJPm9Q= 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=WHVkvVZp; 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="WHVkvVZp" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-47775fb6cb4so42937675e9.0 for ; Tue, 13 Jan 2026 08:15:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768320913; x=1768925713; 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=iFO76MpaV7TKA3kGHuuWwQjUOsm9CcTqHJpQLHw5X70=; b=WHVkvVZp2tFn5fN3VtseiKJ4MUg2bBz3rTLusO4W+lEFKP2Yx1ZXpSxk0l+3Tts4l0 kgrgL4f5xvg8bgqt1ss7OxTbRg0kK2MA2idmBMM9ZWlsmOHJxGoHA/0cLrQXjCF4BPTZ lgJ3LtWMfzrt3z0/2dHULeRYcZEW2cEIAHXahwm6H/maf7DBqXm//hszdUPIlHjU6uHg f5YUetVj3ocJ95zdOMcwbApYj1KwOjx2Fs8DASZ+SS3MSL4PuQT469C5pNh1yuFB2DNM FcbB9Q9Seq79gCJPeCn+IqSo4At3FSu8CeBe6yn9yAXFdB6yLtxyCjY8f6suGJF0sK0B udCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768320913; x=1768925713; 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=iFO76MpaV7TKA3kGHuuWwQjUOsm9CcTqHJpQLHw5X70=; b=MzRLB2NbsUdfqEU2d/SLgwZQZhyeKXc2hXBCqEXA6vwJvhe5tMEMHH7NpaGGBJYS+E e9wD5DaOqM3jIGBry+lprdKXthK9zBSrqbbUIgWSZcJlVzBgOD5drjR+q1XBJ/m50lap NZjMNMxeSy66LFlLfnNbyTUUmv1hoXuyN7EzNQVc21Iv677anWvg/SYe6VRd9Hn6fn3W gdDVvfiOxnLjfrg9DnnRqPWcFZOvxxb4YC88AXbX2WTNxBeCGGIyJepYGSolE7YYUY7d gIeoCF1Uy9LnGkg09D2Ll+ZedkjTp9OAA+Rf9CGhzM7CG1XOjIBwEt2Q/vgjG8nEFalQ QC2g== X-Gm-Message-State: AOJu0YzlDjwaCsxTpzps7Do95zPWKGfvVfj0SCF5kT7mafary4IJt/2T EYZpQoY2+7Zx0dTKZ8+neWokNXSyOnrtZ3LmLSqNA/ZO3aTakvPW4Tr/1nJEZg== X-Gm-Gg: AY/fxX4T+FVCJAkthmyAtXsg9OdyAVjpgR9c48rIgg3exaDdhTiqRYseA0p4z0BgJAc nYmx9cbB7cxZqio/mYE7e0aOyjDkx1iWCFJzjIBTKZ6pjuZFITwaW6wnGCiERT3VuCCs7pHEuJG 8x6kiY8H2hXuPeg8XduKzQaj1IjfoWGkxApaNeE9517nZGg3AioCws5cs17uancinHtcWQWpqU6 eKllinOwHlkGsWAXWX9irWzDRMp6mlAGBIRR6HvmyTzODCOvBfGKXI9aS5mrrlNHh4iByMxxBjt qanVwGscpOauURJsxVt3B7ZRZP6vg3EVdCVLKtGWo03677+SOG7XpSoEzVH2LR003v11awS6OBt 4vh9KT17/ypgp2w/efRV/thVqcIsukA6Ua+h5E6bTTqaypiJRHJoq5dyvJ0f541IdybvrAPcaEP RQDF3pr0mbmiyInFS9ihCKwu9SWqtueGTtBVXCZMiz1YLaUfdzkyKZDjukUbZ/M4Ne X-Google-Smtp-Source: AGHT+IHTmM9+1s27vLw2S1CrS8QJkz3b9Itz6K3HmIo/KuWYYIxo4nw1Xc0bBi5bp063eE8Hi+T2eQ== X-Received: by 2002:a05:600c:890e:b0:479:3a88:de5d with SMTP id 5b1f17b1804b1-47d8f284042mr148197935e9.36.1768320912845; Tue, 13 Jan 2026 08:15:12 -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-47d7f4184e1sm403936465e9.4.2026.01.13.08.15.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jan 2026 08:15:10 -0800 (PST) From: Stafford Horne To: LKML Cc: Linux OpenRISC , devicetree , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stafford Horne , Linus Walleij , Geert Uytterhoeven , Bartosz Golaszewski , linux-gpio@vger.kernel.org Subject: [PATCH v4 1/6] dt-bindings: gpio-mmio: Add opencores GPIO Date: Tue, 13 Jan 2026 16:11:34 +0000 Message-ID: <20260113161152.3688309-2-shorne@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260113161152.3688309-1-shorne@gmail.com> References: <20260113161152.3688309-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" Add a device tree binding for the opencores GPIO controller. On FPGA Development boards with GPIOs the OpenRISC architecture uses the opencores gpio verilog rtl which is compatible with the MMIO GPIO driver. Link: https://opencores.org/projects/gpio Signed-off-by: Stafford Horne Reviewed-by: Linus Walleij Reviewed-by: Geert Uytterhoeven --- Since v3: - Removed example. - Re-order this patch to be before adding compatible string to driver as p= er device tree binding patch rules. - Add Reviewed-by's. Since v2: - Fixup (replace) patch to simply add opencores,gpio and add an example. (It was incorrect to specifying opencores,gpio with brcm,bcm6345-gpio as opencores,gpio is not the same hardware, its 8-bit vs 32-bit) Since v1: - Fix schema to actually match the example. Documentation/devicetree/bindings/gpio/gpio-mmio.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/gpio/gpio-mmio.yaml b/Docume= ntation/devicetree/bindings/gpio/gpio-mmio.yaml index ee5d5d25ae82..a8823ca65e78 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-mmio.yaml +++ b/Documentation/devicetree/bindings/gpio/gpio-mmio.yaml @@ -23,6 +23,7 @@ properties: - ni,169445-nand-gpio - wd,mbl-gpio # Western Digital MyBook Live memory-mapped GPIO contr= oller - intel,ixp4xx-expansion-bus-mmio-gpio + - opencores,gpio =20 big-endian: true =20 --=20 2.51.0