From patchwork Wed Jan 24 19:07:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 191730 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp1198246dyi; Wed, 24 Jan 2024 11:08:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IEX+vP3iJZPuhsd5MYRBGf1C1QIpJvm7ipfrU8EcnXVvUWF3qYIIp0LqB2qQeDHozmkVGpr X-Received: by 2002:a17:90a:c087:b0:290:98a7:20d with SMTP id o7-20020a17090ac08700b0029098a7020dmr128989pjs.28.1706123330207; Wed, 24 Jan 2024 11:08:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706123330; cv=pass; d=google.com; s=arc-20160816; b=VMDCte3atWnJyjeXwVSMFlog6PPCOMnbJaxyXizmDvVwOYNTjsDJFym6ezllMroel1 rxRc0ORn1Uza4AEmOc3+673U9tn4dYu8jj8EytF58BgzQq3Wci+SHykJGoq7XiwC38Q8 aJU93bckfxRozJJXTHUvoTDKaQDqdP7YFf4Yjwaao61vATCsnIZZW7NwHKFaty5cw0zI dcheMC0fY9MMq4kkAcstNR0T3r2ZT1MJV98SdmxeW5pLR8QknOrLtBZHkfbCUY/pQFcF W0smyQr8qbMMDXROO+nicjoAQLCDyObKApzf/H+NUkE3s8AAUx3YSkxY7/cqEUpCbnHy gudA== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=fex5OYtC5orADIB08ft7EJNxJvDUnchenu8QtxS2km8=; fh=JAR7A6k0ddR/m623W/acwf6KE2KWbrTelW7TueCHJnA=; b=A1ziz2rup/nCCUF8xU3/7gUaTN3W73ackYRlTvs5/RRixj590gT/ZkLFxr4TFmR37Z qwhX5wtqKBZpIiBge4HWRYDV4Ht778GvbBfkI8K4K3dDiCO1tkKpOLwp/j6FfBlihbfr hzD4JGWhLpNl30p39gTN8lC7H/i17iDDbD87zdD08U9XPMMg557xEaPty4fXdaeMBe9H 0K20XzfMW42UWD6nWjIcA/6nDnejl3NidrrKyaVW/cdGU4LBK+ygAkuB0Q5SxkOXx+Sx 7RzW76VqtpE/5TBvzehXPwTdJcrH9gDzuVG87BH4pfOkwH/c5jEF7DgEyXhKRWRHgzfg qeKQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=byT6uExd; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-37577-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37577-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id nv7-20020a17090b1b4700b0028cd99189cesi12290708pjb.81.2024.01.24.11.08.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 11:08:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37577-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=byT6uExd; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-37577-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37577-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 18C852829AD for ; Wed, 24 Jan 2024 19:08:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C8DD5133421; Wed, 24 Jan 2024 19:07:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="byT6uExd" 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 2AAF6131E53; Wed, 24 Jan 2024 19:07:41 +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=1706123262; cv=none; b=eN7yf6wWjb2wqQ8B6O8FWbvMMLKqYbOwQCKzliwt6AezSOZ/fZuRGpDH6Ohe+YTllaYmcssgmatzTnNmwMuqus+y9wBnl7GjuP6jdSKgrDIt9hDZiisEFjlMs0PoWCXeOWQJlVUDhGelGrjmzuMqWSdBZqweX4Dx0SE+5K5TdZo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706123262; c=relaxed/simple; bh=TdxQU3YryQCBnITLJXSQAWFjdGX2PU9YEPKxMGf1UwY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Q/WklsoHBjXO4vSUWoH34sDwEklUtr6L4lqSida6vMu+JRQSqN2eai5ebm+dfpTKZodFst0edTvj3DnVoX2TGMXZIvwEnIKOPEDOf6KbOZMBY8t8d9UvswxgXeHd+RcBq3wMKdp+UZ/4PoC8aM4sZMXjG71NQBGXTLC1lZs7mXc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=byT6uExd; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6BDE4C433C7; Wed, 24 Jan 2024 19:07:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706123261; bh=TdxQU3YryQCBnITLJXSQAWFjdGX2PU9YEPKxMGf1UwY=; h=From:To:Cc:Subject:Date:From; b=byT6uExdY4Ky84T/iiyve2BeIlakHz3ow2o8xkpoG+PSvoMWDLhDRfls+oerycyLf HeCuBmrwJBFuFlNfJJjFtAo8MXEBpSMrdc41O59Yg4lYB38j22gTKQnBxp+w8T1+YB M/gUXnMfhl0qP2e8KBO6v+/0iscBGncIZxQNvJYO4TTEGHcQTsYdNekrIxN0zeK4ai 1xR9sC5mh1op189gi0blfunq1aua40MMSeAWREBi1tEt+h1uMON+Fg8Q1sPn2O5Y05 /xolTm5gOk+52tXO4Ujdilt0eyqv+nlyO5HmbP9hlNaMLTv3ufnQmLZwQZO1G/EfK7 Yh3bp6lO5RyYA== From: Rob Herring To: Alim Akhtar , Avri Altman , Bart Van Assche , Krzysztof Kozlowski , Conor Dooley Cc: linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: ufs: samsung,exynos-ufs: Add size constraints on "samsung,sysreg" Date: Wed, 24 Jan 2024 13:07:33 -0600 Message-ID: <20240124190733.1554314-1-robh@kernel.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788999976986232293 X-GMAIL-MSGID: 1788999976986232293 The 'phandle-array' type is a bit ambiguous. It can be either just an array of phandles or an array of phandles plus args. "samsung,sysreg" is the latter and needs to be constrained to a single entry with a phandle and offset. Signed-off-by: Rob Herring Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/ufs/samsung,exynos-ufs.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml b/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml index 88cc1e3a0c88..b2b509b3944d 100644 --- a/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml @@ -55,9 +55,12 @@ properties: samsung,sysreg: $ref: /schemas/types.yaml#/definitions/phandle-array - description: Should be phandle/offset pair. The phandle to the syscon node - which indicates the FSYSx sysreg interface and the offset of - the control register for UFS io coherency setting. + items: + - items: + - description: phandle to FSYSx sysreg node + - description: offset of the control register for UFS io coherency setting + description: + Phandle and offset to the FSYSx sysreg for UFS io coherency setting. dma-coherent: true