From nobody Sun Feb 8 05:40:31 2026 Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (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 F18A935C194 for ; Fri, 9 Jan 2026 13:44:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767966274; cv=none; b=lynaKrgeqKzGRwg2acxHtMVrKgzddt1TuvxEix0PbAvLlExZRcnVIPYatYpZkIJIQb9DOO3InCFsXBle5HjC5Ev7Nm3DTavTiinIm/m9fEBH/Yvo/6v2tPoGC0g3INEoFEiW8bfXvj/8Q+C9cWeIb1AKJpT9PQhDYI3rrFkAmMo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767966274; c=relaxed/simple; bh=1LQ7pgQADLkv3Q2JfJ0YKNTNCFMPBPWWQX+7eb5Jfpc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=KhBs7S8Oi3c46Ia3hxWV8UISFRZ12hqeB5NZ6NuE1dDla9B150tEZ3rBiC0UxQeHLNyLYojinqSXapEwZzInxKdh3dWJU2WONJkiEcxg+HEgy5dgqiNRgSyGwTrM9Ou5DarShafYa2iNldTGDWMwaUtiXTA/ZWFN0efKe3vA1eA= 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=T22xqPjo; arc=none smtp.client-ip=209.85.221.42 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="T22xqPjo" Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-42fbc305914so2899798f8f.0 for ; Fri, 09 Jan 2026 05:44:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1767966269; x=1768571069; 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=SvvQmiFOUMr/XdsMeV6yI6szLxAkwyU8Gztse0HmU4Y=; b=T22xqPjoUng3R0/lbVqftLHXYgAkCfQn9SJwHiC5fAy1/qCs7D450jYCl3UW1zjeHy RZ9JTxonquhy3i+wQZJQ9/ndBGBuS2jSRINlJLj5Bj/2RkrfVcqs31laj+PDzfnESoBq FUs3irdpEZ4dSCGtLxTfOGfrasm6ICBTK9o7C8kD9g8qSYj3bdFb3yf0xJWYvdDjS3ao IhZMadggx/q87TczZtxQIHGcBDZ89GR+b9y3zLCTbYZSJHDIeBqTCES3yLa+ISRS0waH 47Vf/ThVhpohJLwOsNO+HXGHZ4wPv+vP50ahkaufIw1ZwpHpuC3nk/RViYvjj6KSfm9k XzGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767966269; x=1768571069; 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=SvvQmiFOUMr/XdsMeV6yI6szLxAkwyU8Gztse0HmU4Y=; b=LjRTFKE0XSLevVMTv9YfkoqIZKSa47Vb4BnwtPFvyyhPG4jOZOZDajE3n3FvlAa11Q t0mIsSXzNGXniwXLlNbye50KEN7aRuvQ3KUtwI/beFC6R9VBcoxS18kmtwVtHhbJbm6J L1Q62MC9aPRX/rp8yI4NtYqQFiNccdVxx6U40dqIs+42cBE+gF75QqDg+o7Jv2KSwDvF hKujNYrBxWX5jqDvDpSqZd2Ym4k1UO2LySFjZ2QZogl3IQ1L/wsPw1MnlWxfDJKcBWfI jDGjLd2n8FPL06GG/Vzq7e9kjVgW79+aATkIOTkre1OqwbXepa5vN4x/Wo5oTkI07LaI 5Ocw== X-Gm-Message-State: AOJu0YyGqVigCf1WvelmW4/v96I4mWTm+PMVKglNwABasRMGRQyx7pnX I1qAE0dPkwqmlvkWAM755fVd+OcwiobYkaaIfFoe0zLldX57b4c/50VkZIhwOQ== X-Gm-Gg: AY/fxX5pigJtypEqEvtDnawLplvKtpNRDFf51uf6jUzz7XrK0kVzxJ567WIQHpS3iKa D3ExCV5/99gdZTmngYIbFltxnRzkW9MmJ2yjpx5igy6sZzr3khBSo4lqI3o0CLCuWSBKrvZdKPz Djnkn5sUriTMPqWRUahOPNlpkgEgtTqD7J1I167Hyv6RtdHtpp3odsx5fQPYHKmqbdVNz2cfHh7 4Urg/lw29FL7TlkRYePBCNJPmCSCnKIx2gAuqcZlm2i4IYoF8tosD3xyZcsBBkphvdZBLLXf3ue o0vD9H5B+gRj1gaR4lpfDuxw9wA8mUIlkGyO0SZKBOHgPsy+P6uK18lK3Ev+yMZ6b8JDRvunBc8 e8PctVo3ZuMH+7LGHyN5uJLix/HSyY3oPTDyC1F1qOBTy5AKFdqiLjvI30TuTOulKn+xmjmI1RR ZQn+MgB+aw8pyU3u9jGiOc4tlMANTGUSZiERxvlyQA/YNgaa8Jojrirofrj/tK6nD1EA1OryirG IA= X-Google-Smtp-Source: AGHT+IEcyqPvQXXgSb8upUybhhoHWlS++tR42ZMn0J3rAkpHIq7i7iKiZeRqR+4mcCGlOkEYTV7yLA== X-Received: by 2002:a05:6000:420f:b0:430:fc0f:8f9f with SMTP id ffacd0b85a97d-432c37982f5mr11382930f8f.37.1767966268426; Fri, 09 Jan 2026 05:44:28 -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 ffacd0b85a97d-432bd5fe83bsm22896047f8f.38.2026.01.09.05.44.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jan 2026 05:44:27 -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 v3 2/6] dt-bindings: gpio-mmio: Add opencores GPIO Date: Fri, 9 Jan 2026 13:43:53 +0000 Message-ID: <20260109134409.2153333-3-shorne@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260109134409.2153333-1-shorne@gmail.com> References: <20260109134409.2153333-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: Geert Uytterhoeven Reviewed-by: Linus Walleij --- Since v2: - Fixup patch to simply add opencores,gpio and add an example. Since v1: - Fix schema to actually match the example. Documentation/devicetree/bindings/gpio/gpio-mmio.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/gpio-mmio.yaml b/Docume= ntation/devicetree/bindings/gpio/gpio-mmio.yaml index ee5d5d25ae82..d44edc181e0a 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 @@ -160,3 +161,11 @@ examples: intel,ixp4xx-eb-write-enable =3D <1>; }; }; + + gpio@91000000 { + compatible =3D "opencores,gpio"; + reg =3D <0x91000000 0x1>, <0x91000001 0x1>; + reg-names =3D "dat", "dirout"; + gpio-controller; + #gpio-cells =3D <2>; + }; --=20 2.51.0