From nobody Sun Feb 8 14:10:44 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 DEDFB31987E for ; Wed, 14 Jan 2026 15:14:23 +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=1768403665; cv=none; b=RSIMZmBTw5Dkvcjc5pz+88K58MQG/kFT1CTivChnrLDmuIyt+0r35bXwRlwYpTyNzDMB9joQahd5Tjo9qNbnhlgn7Rq71c5qZwmP+xqXf2LrMygHA87Kcowmb/GgI2XA8WYt11P35gwFKmhfGRzHaMUYG6jVr6imY8BnbdNfpyc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768403665; c=relaxed/simple; bh=i1sxNWay3OrLSO3MFPSI+TEryrt2fH9KJo4+hr4Oujo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=j+F9sy68nkxnkIqI5CM1FXwmu8Pmdrfam7UkItmO9+9YR8uSuq+JXCHPn6l933PP9ktD/w9ZjhJr2K05lGkcBwNZUi1WH/pjFNABn0ZO4btnFs1ULRttLeI4I67hYbnX/IeX0Xm+SZG2Cwe2+Gz6HkJ6RjnJpqBGSAAGWX3HE0A= 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=L2Aet/NC; 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="L2Aet/NC" Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-477a2ab455fso81443025e9.3 for ; Wed, 14 Jan 2026 07:14:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768403662; x=1769008462; 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=1b8JXi4AZ9AeOAP9TFfNlUgwjeng9UHzVaIg37xeoa0=; b=L2Aet/NCnTLdq96q8bIc8VeauRAU8UeZYJoRZEtl4Je0AKsqv5BdI2kEk4+UuQYPxr JYqiWU61wQfQZoEwplAZ0LFgONlo/zVSPpMlUNjqr5Z5H9S31YOgUY0OS+cmuiQAQPXN Xrrv7F3nZ5TuDCH2keAKsuhMgmXaXf1RWu6mcVDzXF0DcnUWRe4shNIdlzAZLAK87m2q YFddBaMybE5AQqo/pQXUc5EaChEX4Gatfg5hd1gEkplBz73Rqs7nlaim32/1he5H3GOx CDWVg4WS0vkW0OHE11m9DNXoLNEBhoVou9fZ35RU5MX4SlHiWZ93wruNLC+ANCQYNEVR o3NA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768403662; x=1769008462; 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=1b8JXi4AZ9AeOAP9TFfNlUgwjeng9UHzVaIg37xeoa0=; b=Dr2EyO9T0U2I7gw4w5H3RUM916mhCEhtM8EHkxarqm9CbPlk9EMsD/H2Kl5XmIW4fF 5tznD7aLTjmxHnViWW5lXlU+Tx9/73RbEYG5IwQ7p7R5siKKdTVySr4slUFe38nWlwPE WRmzBVeiNENgfld7pfLbE17wXtf+eYtuG2brjrf7HjSPu6MuZK5ea0zedGpVSXO+QSAs CB43nHu0r9petRP6U2HLSJJN/rzn/Zh6Pl4WeIY9PFj7HxIvNcpBLbkKmGzheh6AKzEt jyMsoP5r4Wws+dlo+u8AV/0RN1PdpoQNV4jexNAHpO7Ab0kBOKdnQU+3I5YuFQi4tXwO Fx+A== X-Gm-Message-State: AOJu0Yw1cGqZNCEkYXHGp3mO5wsM8WRq6yAEfreKOLDEV7jRCtAGdY3H 7LIP/baUbRCf2XneQartMRpSEYkQcMHzRii0Z72vaAJEnLfzvfTcdnhP+BbBCQ== X-Gm-Gg: AY/fxX5eCZ2HyVQvuOXGXp8OnE0VeunyQy0kplcwE9xog8qwm4lH014gankYPTrOexQ iE4c9KTGwTnTKYvZBQ+CvTGATyx0IuIp1g+3Am+1qoj9JxDbDaw7+H3HgGUiqx4t82ZwNukv2Vj E+01oq4REmpTZZt00L+Jon8nt3leYJeB3JWJ+PjJ0j2WgcWCbgDh9DHv64i3ClowvvENv2Stelx 2TxHUOh40CRbqDjDa+6PRsvWdntM4+TXHKgwMou53BxvTIFSa2oGarNREwlgb9UH6NzeIzMYIMe E3Ev68c/VfUNCWInXMZNVSsaQTRH0jEo8KC6eWHZm/WykyoS+IC6AOXrmrm6pvbVmXlA+YjHLoK 4VSd7Ls1Su8N3mGxlOLRaMYTRAWcEajS7MJTCyvwMnUgMjsaLQl8TiPWuybLmC0RKGZVd3ztC/Z rzKNtBKid70jxCIK5IKgejHNn43sUOft7bq8fHi5ib1E3fAiaBEq9H9LSS1zCQWnCM/GOs1YXOi sU= X-Received: by 2002:a05:600c:4f56:b0:46e:4b79:551 with SMTP id 5b1f17b1804b1-47ee33993eemr47277185e9.31.1768403661606; Wed, 14 Jan 2026 07:14:21 -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-47ee55d4279sm33909775e9.8.2026.01.14.07.14.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jan 2026 07:14:20 -0800 (PST) From: Stafford Horne To: LKML Cc: Linux OpenRISC , devicetree , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stafford Horne , Linus Walleij , Bartosz Golaszewski , linux-gpio@vger.kernel.org Subject: [PATCH v5 1/6] dt-bindings: gpio-mmio: Correct opencores GPIO Date: Wed, 14 Jan 2026 15:13:10 +0000 Message-ID: <20260114151328.3827992-2-shorne@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260114151328.3827992-1-shorne@gmail.com> References: <20260114151328.3827992-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 commit f48b5e8bc2e1 ("dt-bindings: gpio-mmio: Add compatible string for opencores,gpio") we marked opencores,gpio to be allowed with brcm,bcm6345-gpio. This was wrong, opencores,gpio is not hardware equivalent to brcm,bcm6345-gpio. It has a different register map and is 8-bit vs braodcom which is 32-bit. Change opencores,gpio to be a separate compatible string for MMIO GPIO. Fixes: f48b5e8bc2e1 ("dt-bindings: gpio-mmio: Add compatible string for ope= ncores,gpio") Signed-off-by: Stafford Horne Reviewed-by: Geert Uytterhoeven Reviewed-by: Krzysztof Kozlowski --- Since v4: - New patch. - Rebased old patch and rewrote commit message. .../devicetree/bindings/gpio/gpio-mmio.yaml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/gpio/gpio-mmio.yaml b/Docume= ntation/devicetree/bindings/gpio/gpio-mmio.yaml index 7ee40b9bc562..a8823ca65e78 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-mmio.yaml +++ b/Documentation/devicetree/bindings/gpio/gpio-mmio.yaml @@ -18,16 +18,12 @@ description: =20 properties: compatible: - 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 + 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 + - opencores,gpio =20 big-endian: true =20 --=20 2.51.0