From nobody Sun Feb 8 23:25:52 2026 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (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 B0F632C859 for ; Tue, 13 Jan 2026 16:15:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768320921; cv=none; b=KyiQSC4pu0CZkAsEMN8uYlaEKXA7bd/okWS+6l6yFGPnTlOdH9acALVgpTsxTr8ufwNruBzeP02HuwZ9GiOJLRd0qnkHkJJHvfjm9mulXyEH4vw1e6rj3DcgtMvZ5v9nLyQhtku2t17HTNiu/X4m8yiwCr3n8x9sKmjF+tj+ga0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768320921; c=relaxed/simple; bh=FnV3NQEZpSrckq7ZRbBQNezPa9LjdzizI84I9YL8+Ts=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=JTF/HenwAbqlgSK2NfKc/G+xYJgYF+gxTv5rNiqi8bFp8SUW088wVxKXuNWShNl/0Lhvx2l3Lqyj43g06KbjcOdo2yQBQ8DUt5Cws015u/J0e0YDjTu0w8/1KFT5k5kS735F4hj6OPpjgIxjBgYdRP+M+uTFXiErO1t2/518/FI= 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=ZeWg//FZ; arc=none smtp.client-ip=209.85.128.48 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="ZeWg//FZ" Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-47d5e021a53so57849235e9.3 for ; Tue, 13 Jan 2026 08:15:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768320916; x=1768925716; 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=6KrS+lv5lwDbRvbVFcdtMBkDtiHuhxyAyg1FHmuvd6Q=; b=ZeWg//FZIeQ5P5Q/HgM8xuUr9VaP0c++F2pn/qTYyZ6xPCAXlejHI6LudXakkiE1r/ MWYPj/WBWKSnCDox77Wn06wfe+ds3IrFzaaYPDfNR+pNK08xZ58DBnuwtmYUhYRQ+Afs KCaE3xNX14mGn1AGIH3taswtS4MLJK2vE5sDAp6w0yZx7ZQywQg6SbnBRqsqQYb+odSd SxWVaHbnT9cSBVkaebPQaezhKrTzhCZo+32rtyFTOK6hNXrsMwVbjQhiZwPhJeswxxDV ASk21IRmEnWXtkSuGhhZiVX8F/F4x4ewQgXLnsoTRx++XakJ2WS8Fsrsy67A8hewUyMM uH6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768320916; x=1768925716; 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=6KrS+lv5lwDbRvbVFcdtMBkDtiHuhxyAyg1FHmuvd6Q=; b=MpbJtkOmP3Kc+ODWWK780WeZPu9lqzT4TlqfIYbD8dALBrisVMyGZjcmjW0FhL8pEX L6A/BpjrS4OVW61KH63qTjCoby8wroGoFLKv0XPtOBFLxSb2rD7BkZft2BPDRs/HJVcA /ef8dhDtgZt4pCjsPjvvulJlo7NsHcMZemp7h1rpESDSiMBYwFDJF9l/ypk//lSWr0uG 3VnHp3h9Ebkm8TkI0I4BKsmfVXOANNg4KIvuyoSK8aDiljDJE+tJFliVeJ4F5qXWjH8a EPfEm109wUepx1lfJ1iwE7+fQVFgMnjenPn8wbVYkMPl66+Fxpuwt6TAj5jR8XOfvoV8 AyCQ== X-Gm-Message-State: AOJu0Ywx9eQBsF4RexKH8zymbaY8ElRXVcTVolwqs1Q5vdyJz7AEklb+ 036IUSU92LgxhtVY03fIei5UP+CQVC63vQgXRm+PEs/o6wnEpdsViIn3foTnSg== X-Gm-Gg: AY/fxX4R/Nd/eqPttv/lqUzrPyhH4OdpRZm0S77KOhYS7MTI9QiM8W8a5bWQgYqHvkc phxrAAf4UAwgSK9iRemYdS3oTq/LIQw3Ik8wcg96OBjbf0XxUiW3Eki4umaz5q+e4VX3C1lP5Cd 09mnCyP+ckqXhNdhBFaDJX4yLZi7awoCN20Q2WgAKMDwvpJH4ImBYyX1FmUV5xDVUNY8buXG3p7 kJHFoWXd7zdWSIEU/cdqlCfX+gm1V7QQ+yaW0WYE2k5T01DnebhGBBNli9TJ1dZ89sSUNUN2Rgi NOFcUaUf3OJ/2DAamFAC6QrHELgfL0V6u2QXkbH4iuupeNwSQJJKShLGj/xSsnQLOolftnH3r70 bU5kR2uSFQiDVfyvDssLPSsEP/XhTkJfLHMbOz6yobyJ+tITlhPYkh9oJlmeb3+Mg9Fn9/rWelS joAP9k4wFUhfAPbfLK3Q3LTlnR4x7URN/thJ2bhrSEnv1R6G4zn8CA9zkOKj8B767P X-Google-Smtp-Source: AGHT+IFY7anv3CNwWIMho0+cvlpNv8144HIzUKvGLCKenedti8elP6yPkg0qEPScLVQhzPLK3UPXeg== X-Received: by 2002:a05:600c:83c9:b0:47b:e2a9:2bd9 with SMTP id 5b1f17b1804b1-47d84b3b719mr285114485e9.31.1768320915920; Tue, 13 Jan 2026 08:15:15 -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-432bd0dacd1sm44182976f8f.4.2026.01.13.08.15.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jan 2026 08:15:13 -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 2/6] gpio: mmio: Add compatible for opencores GPIO Date: Tue, 13 Jan 2026 16:11:35 +0000 Message-ID: <20260113161152.3688309-3-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" On FPGA Development boards with GPIOs the OpenRISC architecture uses the opencores gpio verilog rtl. This is compatible with the gpio-mmio. Add the compatible string to allow probing this driver from the devicetree. Link: https://opencores.org/projects/gpio Signed-off-by: Stafford Horne Reviewed-by: Linus Walleij Reviewed-by: Geert Uytterhoeven --- Since v3: - Order this patch after the binding patch. - Add Reviewed-by's. Since v2: - New patch drivers/gpio/gpio-mmio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-mmio.c b/drivers/gpio/gpio-mmio.c index 5daf962b0323..edbcaad57d00 100644 --- a/drivers/gpio/gpio-mmio.c +++ b/drivers/gpio/gpio-mmio.c @@ -724,6 +724,7 @@ static const struct of_device_id gpio_mmio_of_match[] = =3D { { .compatible =3D "wd,mbl-gpio" }, { .compatible =3D "ni,169445-nand-gpio" }, { .compatible =3D "intel,ixp4xx-expansion-bus-mmio-gpio" }, + { .compatible =3D "opencores,gpio" }, { } }; MODULE_DEVICE_TABLE(of, gpio_mmio_of_match); --=20 2.51.0