Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp396868lqp; Wed, 22 May 2024 07:48:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUflmk/eClhCdMXQZ8V+gpnv/Lt8LKj2NnUo5b9Qjt9+ilDBJlKBbmjR6uBX8+BJizBp+FBXLyniCKSwNb9AL2zBCgujyTSYHO+DDXfrQ== X-Google-Smtp-Source: AGHT+IHCEJzvlK4XrAWTXSkCca7SpwQBNJztPQzJqY2ondgRMit7IZFAFjuj3VYbhdWvLtw1SXN4 X-Received: by 2002:a50:d744:0:b0:578:1023:3677 with SMTP id 4fb4d7f45d1cf-57832c44fa4mr1594876a12.42.1716389335992; Wed, 22 May 2024 07:48:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716389335; cv=pass; d=google.com; s=arc-20160816; b=O9bh7UCLJVTTS+DNMKvtDdPwYRsHcyQ/203eq/5UNuGPFKg9yVONu1Gv+4psrMcGVL MSqcgZRkzZuUmuWZjvtlaxUOgGS37+5kbfWk1NhGgfnugsg8kXxwOF6Mpl6E72OYjWVT NNOTgRQDcMS4JKXrGga6bmKFus7fIQC/ireua7HCVSUQYV87dPAo6XSpso2CyBX1YA5S B8ozFhh87ggqiFn3dhPp8T7V+RsyWdP7J4mtp6Xb5C/pit0AhG5tCwvvdyaGduKy8WHv PuzsvCCYGphcj7eQMCQee1qP0j9lzIBxNcCNFKu3GBwLzk0/p0L+HhDa52wVi/IUWBy+ Zomg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=cwYsyJJsB6HmMf7Do8oMnbMPP3X+BteY62wQ9qF2kCs=; fh=VFZkZiU3ZzJvFN0kSqBHP4Akdv+1fmoClMZYFpemc6k=; b=fG1TAIdu7lUazvWKLyCnX18105efphLpFTEb87rbyQrgcoFa4heVszXOfoQAquBRjt FJx+xbfXfCf/F9bSCwQzWqast/XL1xv6unCyDt7Kvr7LK77GQz1UGrnHCL/mbTXcgMTY 5XX+2JIhUjnJINZXjUdKXCSPk/X0Vv0BgmVTP0UdOG4G0CjLHZ5yla3NTwf2qz2Sm2ZJ YYYNGWrNNI+O5etpDccFmdBy+L/4dhMt7PAP48YMsDcs5AI1x3DAlh3wmV556sesKgbT uf1RK92iYmCXfU1IVq0CaS3kO5O6l+OAN29nsKlayIJD4UXLqzzG3Rs+dFYT2coa6HPn LBZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VyKt44RB; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-186384-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186384-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c328968si14773462a12.422.2024.05.22.07.48.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 07:48:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186384-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VyKt44RB; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-186384-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186384-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B2E231F21E1B for ; Wed, 22 May 2024 14:48:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A92A21D6AA; Wed, 22 May 2024 14:48:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VyKt44RB" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CB8CE171D8; Wed, 22 May 2024 14:48:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716389327; cv=none; b=CnWuG+ZRjDqJaCV6tNAgUEeMe2hAi59A5DqEMhPmYsDKMEMR6JHtv6Ia+MBcamdKZcF+2P83ABKG2BT4xxz50IPhYB5aExsVotFZ+yi443BFIa9F49mrAHkxoDQxrdGItMYwEKNoENYNGDIyteEgZnhY/YypFlPYfYxxVhNhqxY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716389327; c=relaxed/simple; bh=REZ/hGrrzdHHLNt53xBnhdfv5bXUdy4C2BSdNp8ahJY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tx/LT9YCMuEpmmHMKyGnjRTGbQ3J7wGvO4LYbJsutjTfugSj1MDo0jvYJ6LmZGB1Ez+S/dAeHxZCPoU6y6bmAhuEYLvSLRHoIjqOKFA6aNxQ8sFiw/QR/Q12ELc9azLJQ/UmhzYjTGYC0KmV4H20a4Ue9KqvsqySCV3XSNB4Ga8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VyKt44RB; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1E77FC2BBFC; Wed, 22 May 2024 14:48:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716389327; bh=REZ/hGrrzdHHLNt53xBnhdfv5bXUdy4C2BSdNp8ahJY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VyKt44RBSErFmvyFyzhROeJTgR8rCsm4yXCS9l06pIafvLLNuYwp7hwsY+M6svEpl b9ZjlA8CLjhiApVDHBoVORImCP7OJ91F5N2wi/62ArL8mWQrKAQF3p2cokY/6Mnvqi H8FWXMDjNn9+NQXMzfYJrjs8iLBTY0jmakihRNxNHHhya41G2SWXnAuti2U+UTRTPL 9KfaENgbb4MgEaVj/MqVSrvAS4IquTOBbpKZoY8xczLlGyVLHcEDvLg/zU0QxOm46Q 5KIdK0uuJPvPi6dbRoUxyLwCEjEExI2nlJiLdr74fL4i+5zJ0t1TvCD7WDudARHD37 +2T/VfDE5OSUA== Date: Wed, 22 May 2024 09:48:46 -0500 From: Rob Herring To: Sean Anderson Cc: Linus Walleij , Michal Simek , linux-gpio@vger.kernel.org, Krishna Potthuri , linux-kernel@vger.kernel.org, Andy Shevchenko , linux-arm-kernel@lists.infradead.org, Conor Dooley , Krzysztof Kozlowski , devicetree@vger.kernel.org Subject: Re: [PATCH v2 1/2] dt-bindings: pinctrl: xilinx: Add support for function with pins Message-ID: <20240522144846.GA3277292-robh@kernel.org> References: <20240520150424.2531458-1-sean.anderson@linux.dev> <20240520150424.2531458-2-sean.anderson@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@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: <20240520150424.2531458-2-sean.anderson@linux.dev> On Mon, May 20, 2024 at 11:04:23AM -0400, Sean Anderson wrote: > Support specifying the function per-pin. The driver doesn't care > whethern you use pins or groups for this purpose. > > Signed-off-by: Sean Anderson > --- > > (no changes since v1) > > .../bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml | 344 +++++++++--------- > 1 file changed, 176 insertions(+), 168 deletions(-) > > diff --git a/Documentation/devicetree/bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml > index f13d315b5d5e..d3b258245e28 100644 > --- a/Documentation/devicetree/bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml > @@ -42,179 +42,187 @@ patternProperties: > $ref: pinmux-node.yaml# > > properties: > + pins: > + description: > + List of pins to select (either this or "groups" must be specified) Express as a schema: oneOf: - required: [pins] - required: [groups] > + items: > + pattern: '^MIO([0-9]|[1-6][0-9]|7[0-7])$' > + > groups: > description: > List of groups to select (either this or "pins" must be > specified), available groups for this subnode. > items: