From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (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 AC93731ED8D for ; Mon, 15 Dec 2025 18:40:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765824054; cv=none; b=FNgk6dYmjz7GkcZsTWiw6+2OvGvRfKbNrKiMjP5HPE+dkVMR0n5VzhizfMe7JQ0s57GENVIOR6TKvK89UrSzclpMIWf7SUdGGNVbkRX6vQoQWs2l0x946BLVkhHSwQ6Th40aH86/yU5GwTv5vQj1ZHGMr8W5DlfQucnF2zGHhHA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765824054; c=relaxed/simple; bh=lIVXipTQUVpTOtDEFUYihhyCWJmbz98l7oWne/NFb7Y=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JNTR6gvdK1oc0h8YQakrtx7ZG72yrV7zkOTHzsD0SXOnpTST/BEK6Aze2dgKgh3T+uNczbNzBY+Dk7aVitxaDv0owAj3i2Q/9SbpEnbgqjz/rFoRNvzpYG75ZwWepBF0dMoSGFvTDPXVlP9o/TjCXwX/XcIWrZbEOfm2SVSw/bo= 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=nAb+sZvA; arc=none smtp.client-ip=209.85.221.54 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="nAb+sZvA" Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-42fb2314eb0so2725528f8f.2 for ; Mon, 15 Dec 2025 10:40:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765824051; x=1766428851; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=9CyBTq9jLEiMDCmEowsuiPxhEFRUD4GVU2KPfPukCJE=; b=nAb+sZvAqbk0+0fa7+lJd27J73fsbUCOsQmoXfZLkJkJOpvLUtNqD6W9lSr95DuyYp 7XcNEOgdMomo6hL1vuXtKpfWoAG4OZb+vQoFDkWhFDhlx20AQTeqCRBkt9XWiUhlr8Yz kBuxgsQNwSIa+KHKVtTTFevZ96md6N8r34Tx16re+dB2o1gOCDW0yLrqUs8Bh/5Y3njA aOKbtWZMQap4Y60d1Ugrr/Kc2zOTnvhdnhu9vXYkkFco6pK/9KqqahxdJyMJnFJMJ6ii Px2InM/DARYhXax97Ua5qHnkNs4hfRrkTbw7wVh4jybhsuv1ACNripFISh+rWvpMMl03 K6Vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765824051; x=1766428851; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9CyBTq9jLEiMDCmEowsuiPxhEFRUD4GVU2KPfPukCJE=; b=DrC1IgLR/YMNmKVlnqtStXWjb7dHWOWKQQj9ggnTyA8Qzo4vD3Y2Sm9UxRYc4552LT WjzjiHY8CWPFThTerEj4npRTPV8vMmm9I58+BZvbTIwZq4TXr2Z28HU7BnBBIPNrka3U irqx0xYPWDk2jS5CiazUP+4GLkQbgi6GWpPRjgF4RUF6WwE80ozIVAAkMu+tn4EY3IYB kfHQxRTpUs0NGQENxY2WwouCbRwS88ZrKxwPEmLy/gyLV062NU8zDf3ODHR8ZPzkG5YZ HV4lhFr5dK1rD9CldzbxpOK/2QZ5fCF9J87aie8OXNcjW/LoH3tgYWgoU1/i30L+OzQW c7vg== X-Forwarded-Encrypted: i=1; AJvYcCUniJ3VSONnoY+mG9jQu5R8F8E8YkqeTVbn6kHAl47lRHxYhyFtvhrGYCXCU7AKhsFWa9POjMq5UGUV@vger.kernel.org X-Gm-Message-State: AOJu0Yzw60xRo7O1njofWgGYDwcWyx1IRRCE19ZmLPjy4ohMKiO00HOG tKXgnMD0Fc6AGjGVNHmu0pl3RgGmUI3+pNqtW4iXZ/fXAsoH+IH1cFM/ X-Gm-Gg: AY/fxX6s4tzt2+FNksPRFmctxTb3XxW0MrsCTXR/8vVM/DG3CVhmLPcd9ndpj4XIglW USUc7AHhNfdqcBTzAGv9lOwVLmoDURJxfcVHXcLkTp42nSPH55d977JaCgTihh4MRzHKu11uSOX xYC1rlRg29bQ2eHrQCDA31lyY1kR6RnHvNEsmEnqoYgnZmgeZXiiHjaE8BpiVRplHcuuoH5amcd Q9buLEg5l2Ck1jDB/jsnus6GyTmY5txSnrmFPoIgpBSyn/OvYFGPiJL3GSF7hzE89madV/TiVoF UZ/Am+RDh+rNU/ERwwpWtCAV+gAKU5n7FsShDL1LPFffHgl4q7gssI66FhQls062vSf3ImYYyt5 AuaRge4w643LYIc1FNCNamGpuFXgByq4qBMYs0WSesKOfweW55BgqIOLLmjbfxXpOFU6cTXsFjV 9QE9wr3nLQPK8Tgxy877Ob0To5RizZgnPYWHBSRv9Tf3znzxGgebKDYdTTKUfeOE4/ X-Google-Smtp-Source: AGHT+IFpW6CxSU45/d3ozXnd56s4i9wy9U479O5ED3vRIcHNNAFa5Ur26ZBdU+1QKOAT3KavHokbqg== X-Received: by 2002:a05:6000:230f:b0:430:fdb8:8510 with SMTP id ffacd0b85a97d-430fdb886c1mr4417808f8f.24.1765824050820; Mon, 15 Dec 2025 10:40:50 -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-430f268d459sm15401602f8f.32.2025.12.15.10.40.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Dec 2025 10:40:50 -0800 (PST) Date: Mon, 15 Dec 2025 18:40:49 +0000 From: Stafford Horne To: Conor Dooley Cc: LKML , Linux OpenRISC , Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 1/5] dt-bindings: Add compatible string opencores,gpio to gpio-mmio Message-ID: References: <20251214180158.3955285-1-shorne@gmail.com> <20251214180158.3955285-2-shorne@gmail.com> <20251215-skillet-perceive-2b564a29ed71@spud> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20251215-skillet-perceive-2b564a29ed71@spud> On Mon, Dec 15, 2025 at 04:57:45PM +0000, Conor Dooley wrote: > On Sun, Dec 14, 2025 at 06:01:41PM +0000, Stafford Horne wrote: > > In FPGA Development boards with GPIOs we use the opencores gpio verilog > > rtl. This is compatible with the gpio-mmio. Add the compatible string > > to allow as below. > > > > Example: > > > > gpio0: gpio@91000000 { > > compatible = "opencores,gpio", "brcm,bcm6345-gpio"; > > What you have done below does not permit this, it only permits > opencores,gpio in isolation. > pw-bot: changes-requested Understood, I was not familar with the new schema. I was trying to follow what was seen in some other patches, now I see where I went wrong. I will fix this and use the schema validation tools to verify. Thanks for pointing it out. > > reg = <0x91000000 0x1>, <0x91000001 0x1>; > > reg-names = "dat", "dirout"; > > gpio-controller; > > #gpio-cells = <2>; > > status = "okay"; > > }; > > > > Link: https://opencores.org/projects/gpio > > Signed-off-by: Stafford Horne > > --- > > Documentation/devicetree/bindings/gpio/gpio-mmio.yaml | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/Documentation/devicetree/bindings/gpio/gpio-mmio.yaml b/Documentation/devicetree/bindings/gpio/gpio-mmio.yaml > > index b4d55bf6a285..0490580df19e 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 controller > > - intel,ixp4xx-expansion-bus-mmio-gpio > > + - opencores,gpio > > > > big-endian: true > > > > -- > > 2.51.0 > >