Message ID | 20240124190552.1551929-2-robh@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-37573-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp1197410dyi; Wed, 24 Jan 2024 11:07:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IE4jpV8qHuPhWRYSztk5D99HFit6Bqhuo/+Wf4mDW5TTJjOs8N/kPhmbeqTYbKZcurLVyj9 X-Received: by 2002:a05:622a:1442:b0:429:f545:22bf with SMTP id v2-20020a05622a144200b00429f54522bfmr2843244qtx.86.1706123237325; Wed, 24 Jan 2024 11:07:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706123237; cv=pass; d=google.com; s=arc-20160816; b=l17tCGDFNWD3HF7+eF4jI3G8zEsGTLQWOMiCnRICJDazHFpvFvDx8GtRoXgf8JTj/5 kWYH0qMD/Dl/1daVYOBlQrxppfzweoBf0U5LbWFCjal2sv+tZWSFnafN5d11/bu9hUC9 3JzO5s6Wf2QX83qI+G2Bi2T7Jaj71xQZFoRsE5R2AnA8ffx+PYP+ngeqp2Ul65WWndJN PXI3JXqn+4mUP1e3PJ2HHjomp5Und+ZRORFJtcaYjIWEZGNCO7cOAgKIjkDMBU8ukvOt JhCgr57GEJMSYgV939R5Qbt49dyiobrRXf6ezw3FC5cdxfdCDOGwjd+u3vBxritzAmu/ E26g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=QNEEIu82tmEv1rNZL2nrtHuJGiaT85ebxC2udYj8AqE=; fh=pc5FIXj6vSC3WYBT5rYq4auHANKG/Xa1q9DAoVR4CZE=; b=Vsgi/wcwB3TKqi4l/ofSdtT9QaMkzjPT7epU3xJvg3/hpn7dvC9dDY4opclbr28qZb g0n1gGpzUYPz+UV+CfXCJOpNfSjSpWq+VmiirE/Jxk4mvfGvYeMiy07956KE36EgJn9p mUnl6KBhX0kkGmtXK8LvsHvflrjRM6qVVzdEVwCjiwAvsvTP1PWvdB+FYJ1UVxWciR7j y98afv18jEjjKH1JjKrmOUdCRKFkJr+w/DbZPwTVReAgri/6rn1CW7oa1+2IRp12zvtd EQ61QR6FoUiOEpjvYc8QnWZHchGNQx/6jrG45BzbDQTu47c4weDSx/x5vO7MTLZN1NLV RMMg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ton5xh4y; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-37573-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37573-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id k14-20020a05622a03ce00b0042a26a6d43esi10881693qtx.101.2024.01.24.11.07.17 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 11:07:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37573-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ton5xh4y; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-37573-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37573-ouuuleilei=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 20D371C21BE5 for <ouuuleilei@gmail.com>; Wed, 24 Jan 2024 19:07:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9D604131E3E; Wed, 24 Jan 2024 19:06:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Ton5xh4y" 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 ED197133419; Wed, 24 Jan 2024 19:06:03 +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=1706123164; cv=none; b=f7MiBbsprjzEryg0c1JjwFeFBM5weyDQEnvyPyyhgGxRu+NtegyiUK1jcp8sM0IA89LYZWsLYxBZlKHoR5IZ123kAogzVQWdiyYDsAv4fyz7FiVEqQkughCQhHkw9lHA7cCzeU25zoh2SN0ZnIfXwHjYifMhT2zWF90ug7QtIH4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706123164; c=relaxed/simple; bh=kV3NuM/ThI2ctlYG96NqZpX0dOEPgAX+5rJlxXkagyc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=kUZXfz5vLvPCnvDybqhzjUIO07QTEcs2DLNdQcXUdfLUWZLljlhsR8srreTIptYAB1ITIJUSgMgiNBuZLbBRRu9DUmrkeyEcz/JbAmoehDGWZuc2+283NF4dhWFhWsz0kfBZ+POQcjqepj5EGEfeyCozWrCB+ooLJnIeKJaBjHQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Ton5xh4y; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 18F5EC433F1; Wed, 24 Jan 2024 19:06:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706123163; bh=kV3NuM/ThI2ctlYG96NqZpX0dOEPgAX+5rJlxXkagyc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ton5xh4yaVGx8UA2icp9+gasMr7pCs47dGdFHCtq8ObBbtRRmoLsLZDiYa3rVWTQd vK4z8JqS3o6yhmMxflih2fv9tm2olSMHh5Mbq74In1EQxmxHBe9/YQ5hcqua+zZGpH 8udn0UQ0NvXipmQ66lSIBqUXywKm7E1TONNp8l6aWOUwmu1ZZSOVwikqBt/xr1N3tp Jw+jo966NMtGeuo6iISogVNhJcl37ckuw4CkNxzGjJwfzHLYc1sPpdfQX+krJg9thm uEOj75v+3jVg7AV9VnoyyQw6ZeTpfZMcrjm9eMu4X0pMn/S+/nGviDD7KwZyePHMmQ 9LTABCuY/c81w== From: Rob Herring <robh@kernel.org> To: Wolfram Sang <wsa+renesas@sang-engineering.com>, Andi Shyti <andi.shyti@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] dt-bindings: i2c: mux: i2c-demux-pinctrl: Define "i2c-parent" constraints Date: Wed, 24 Jan 2024 13:05:51 -0600 Message-ID: <20240124190552.1551929-2-robh@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240124190552.1551929-1-robh@kernel.org> References: <20240124190552.1551929-1-robh@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788999879241645354 X-GMAIL-MSGID: 1788999879241645354 |
Series |
[1/2] dt-bindings: i2c: mux: i2c-demux-pinctrl: Drop i2c-mux.yaml reference
|
|
Commit Message
Rob Herring
Jan. 24, 2024, 7:05 p.m. UTC
The 'phandle-array' type is a bit ambiguous. It can be either just an
array of phandles or an array of phandles plus args. "i2c-parent" is
the former and needs to constrain each entry to a single phandle value.
Signed-off-by: Rob Herring <robh@kernel.org>
---
Documentation/devicetree/bindings/i2c/i2c-demux-pinctrl.yaml | 2 ++
1 file changed, 2 insertions(+)
Comments
On Wed, Jan 24, 2024 at 01:05:51PM -0600, Rob Herring wrote: > The 'phandle-array' type is a bit ambiguous. It can be either just an > array of phandles or an array of phandles plus args. "i2c-parent" is > the former and needs to constrain each entry to a single phandle value. > > Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
diff --git a/Documentation/devicetree/bindings/i2c/i2c-demux-pinctrl.yaml b/Documentation/devicetree/bindings/i2c/i2c-demux-pinctrl.yaml index dd3d24212551..b813f6d4810c 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-demux-pinctrl.yaml +++ b/Documentation/devicetree/bindings/i2c/i2c-demux-pinctrl.yaml @@ -40,6 +40,8 @@ properties: i2c-parent: $ref: /schemas/types.yaml#/definitions/phandle-array + items: + maxItems: 1 description: List of phandles of I2C masters available for selection. The first one will be used as default.