From nobody Mon Feb 9 17:56:21 2026 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (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 57BD33ACA75 for ; Thu, 15 Jan 2026 15:10:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768489840; cv=none; b=sQoXFzAsE3pd7NLDGIalQbGETpEbYj8NUbTbdQrIcP+a7RR2tXQ505tUklwL4JP0VexHFFiNGX0WJt0zxnNr5rgubkYovRKgXngOAr5oq7VwXg4OokEG21zKO3BDvbq5g+UUudUcvrLIxbNCzTDW2+DmIjWgSaWFnfgMxQzURh4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768489840; c=relaxed/simple; bh=QL67zO2OXNn7d293fXZUWqsB5I5Tjghhi53EjdI7gqU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ph0XYxq1fYFcUiNo+ydbnMC1l3ittx2d4rustliniQudZ3KwUL73DpWZz0uxCBRFqz899wcss2tDMyt1vWfBRRjbcpA7XSpqkyIfe/3qr+Kj7vqJwrdr58kBMpeQEJDXr8ihlDY8cFDG7Qg1MalvZFIyYFmVJ7jAsfj/310Ex6U= 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=JWvtb05M; arc=none smtp.client-ip=209.85.221.41 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="JWvtb05M" Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-432d28870ddso519537f8f.3 for ; Thu, 15 Jan 2026 07:10:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768489825; x=1769094625; 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=7KyUY1CKl3fCa1LRr33ngkD0vxuK8KXOZ0/VtJmlEFc=; b=JWvtb05MBamycS/ROxb2C9GOaRTqsNyEzgj8yvxERVPpYjBxqHtssz43oGNrrHppK1 x+Hgz0A20Do5YsPM5ZKoPhBLNtMQSvfeBBu0MfGFrAxS6Iv4LSwve4YK1ytWVzDkijdp m6kf6YxlgET7199gdWZgbryU4luh8QzQX7WIdtBWS7orgETvmkOmZjA/WuTnt7MCatTG oUxiI6av+xCKhr/RYE7Xehk6pIr9sANw4u2/CBg3fKU9Xv4IXuIyNHnzRC2Ht5C4Yprz fTNTyT8bw0DMXeyG55ZulzAn1XAWyxgv+WIXdX1LmLkQ8raLJwqms0QgMYURTau3BVdW j0CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768489825; x=1769094625; 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=7KyUY1CKl3fCa1LRr33ngkD0vxuK8KXOZ0/VtJmlEFc=; b=qCFFZIHsGQEgPXhoud93CUCNroothRzurYNUQvtEDDCq4iv7KwyoOhsRnf+6anUG+7 sbz/f/pciD2jfyM3NTAipQjmfXUwMtHCe65BVJDNeLCX8PUoriWC5MW0Zz6iudzQR+GP Vlxv0yk/hkilmvmgnt5S5N2MSQ3hlCgKitbTF87CUl8sqCFDwSQfLBep2+6A/wpAy9XQ 5QhuK8BOQ4rsz/GpiX8wz3KeFWHZfFTZkoiWXob4qqfSiW2XsQa0yYYPHuQqv9TIl1y0 yy7wRvk9JwchUJHqNm26EUqlpL9NaRf39lORBpBy5a3StvCbXvCngBeGBsiz+B3rbf1v ohtA== X-Gm-Message-State: AOJu0Yz9/FXM6jq8nEFR2JGjGQuP2kCYudIuWWDLoQD4lz7T5fYFffrW UGw43wmwv+B1T7fBFfxUlMVdCTl70VU5EqU+22KyFytiw1vZmZWokimEH1N+PQ== X-Gm-Gg: AY/fxX6oqt4sU7l1d+8CGSmm2n06I+L0zoG13A1OOwHVjSIY6+8uERe6Ad2OTgE/vXy HYPhZjVFRTh3QaH+fIBYepBnwMbrO05h8rGGNi6NyiBYmhlFJRbxuCZ7rxDfTi4vNLduefAQ7Km p/YsVAyu0qCCMoIkelbb/qPbMPCTOcD3S54pNWJvQMyUq7lFhxAmS1NIrtjTeWlp2pDNjlXPOeG y0UD/i9zzeZ1pgn88y9BTyFY6zZ00oAFObij4LcULKZMSV72QMgUFrVr6fk5kumVZOAaj3O6XwN 2O4GM4CodLEg+Y0IvMqCH+V2og+aTz+kT1KHziJSK2h/phucGD1EYU/EDQM3Hxayayw1Hb5SQA0 782+oyWwcP4o8EnXBemwV57fxLZq/f3chR0KYuL+KygC9Ok5+3rzEPB5FX8JUlZaZhYQoZB5VI9 sNymLg8UtgUC+vcYe+p0n2t2NvwFy/hG+/lf9UjbIXVtE5Ci2oodZT6TUhDq5a8Ekl X-Received: by 2002:a05:6000:22ca:b0:432:8651:4071 with SMTP id ffacd0b85a97d-4342c4ff4e4mr7932953f8f.18.1768489825150; Thu, 15 Jan 2026 07:10:25 -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-434af64a6c0sm6528481f8f.5.2026.01.15.07.10.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Jan 2026 07:10:24 -0800 (PST) From: Stafford Horne To: LKML Cc: Linux OpenRISC , devicetree , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stafford Horne , Geert Uytterhoeven , Krzysztof Kozlowski , Linus Walleij , Bartosz Golaszewski , linux-gpio@vger.kernel.org Subject: [PATCH v6 1/6] dt-bindings: gpio-mmio: Correct opencores GPIO Date: Thu, 15 Jan 2026 15:09:57 +0000 Message-ID: <20260115151014.3956805-2-shorne@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260115151014.3956805-1-shorne@gmail.com> References: <20260115151014.3956805-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 compatible with brcm,bcm6345-gpio. It has a different register map and is 8-bit vs Broadcom which is 32-bit. Change opencores,gpio to be a separate compatible string for MMIO GPIO. Also, as this change rewrote the entire enum, I took this opportunity to alphabetically sort the list. 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 Reviewed-by: Linus Walleij --- Since v5: - Updated comment based on comments from Krzysztof and Geert. - Added reviewed-by's. - Sorted the enum list and added not to commit message based on comment from Krzysztof. 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..1b2d253b19c1 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 + - intel,ixp4xx-expansion-bus-mmio-gpio + - ni,169445-nand-gpio + - opencores,gpio + - wd,mbl-gpio # Western Digital MyBook Live memory-mapped GPIO contr= oller =20 big-endian: true =20 --=20 2.51.0