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 (Arm)" X-Patchwork-Id: 13529575 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E1A9AC46CD2 for ; Wed, 24 Jan 2024 19:08:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=QWA4hiWI+tN76DI9QhunRX8vZ/havuxfK0NWyG8Y47Y=; b=NkJmTwkdrxacS7 9sSyEp0iLaJhbRz1SJQfOwww60h+WUzr/iy+b+QlcVqwXh9zvP4WVK9FEcSHQ17XFDLKiHdlYyU/T ehG3XQ521tmILy6s2d/3TK1jXnZUiTzdJw1ne8rhvu2tT1a56sadQacDsFUK/f7Lq3kyA7BNMDYh4 Lz1Z1M8/XipN5oZ1UvyIwnVH2W1Y7zxwBQoq439GfFSldicOAmnytxzpTkU6mRNVQgcV6U28V2rza EeyktgsYd7FHI/mJjgaK0p+jm+WWqV4AouxiudyJfQ1Lr+rg5sREW9zU2sa9cpiclaJXe1XTgoVaJ 7jwmW/BtYthpjgJ8mAFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rSibC-004ofv-0M; Wed, 24 Jan 2024 19:07:46 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rSib9-004ofD-0p for linux-arm-kernel@lists.infradead.org; Wed, 24 Jan 2024 19:07:44 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id E4E6261F8C; Wed, 24 Jan 2024 19:07:41 +0000 (UTC) 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 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240124_110743_344260_69E40D7C X-CRM114-Status: GOOD ( 10.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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