From patchwork Thu Oct 7 08:09:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanho Park X-Patchwork-Id: 12541249 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6E4B0C433FE for ; Thu, 7 Oct 2021 08:12:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 584FB610CC for ; Thu, 7 Oct 2021 08:12:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240696AbhJGIOM (ORCPT ); Thu, 7 Oct 2021 04:14:12 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:46033 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240670AbhJGIOE (ORCPT ); Thu, 7 Oct 2021 04:14:04 -0400 Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20211007081209epoutp040c3523b7e445a9d9b34ee81d7dcb25fa~rsWNGhZCb0375003750epoutp04U for ; Thu, 7 Oct 2021 08:12:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20211007081209epoutp040c3523b7e445a9d9b34ee81d7dcb25fa~rsWNGhZCb0375003750epoutp04U DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1633594329; bh=XFsbgEomLxkf5rB35VPJvqcJfhMtI2p3kGpG2oQ2VVY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fXOt+ndfFAfsv2rUtCRobQa3F2nPOYoX+FQ3vGeI3TfF6ED64pe6okxwxpFT0kGQQ 0T+QNV6JjsRrwuphuU9O15t3y0/6TPN65JgNYKb1OQzQ/rIiMfHoNIvPVrcwGd9FW5 iTNPHx/Dhco8Rw0EswD0fnES3j2ma3QWzhe75dxk= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas2p2.samsung.com (KnoxPortal) with ESMTP id 20211007081153epcas2p2de6c7150d1f5aac06b719f7c3df481c5~rsV_PTU1E3113331133epcas2p2u; Thu, 7 Oct 2021 08:11:53 +0000 (GMT) Received: from epsmges2p3.samsung.com (unknown [182.195.36.100]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4HQ3vC42sSz4x9TZ; Thu, 7 Oct 2021 08:11:51 +0000 (GMT) Received: from epcas2p1.samsung.com ( [182.195.41.53]) by epsmges2p3.samsung.com (Symantec Messaging Gateway) with SMTP id 43.D5.09749.4CBAE516; Thu, 7 Oct 2021 17:11:48 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p2.samsung.com (KnoxPortal) with ESMTPA id 20211007081135epcas2p2d577fc8dec75471cf42024eda6a45690~rsVtC6UCB2940629406epcas2p2B; Thu, 7 Oct 2021 08:11:35 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20211007081135epsmtrp257bf964df916b385ba9d666fe97f34d5~rsVs_s_Pf2686726867epsmtrp2_; Thu, 7 Oct 2021 08:11:35 +0000 (GMT) X-AuditID: b6c32a47-d29ff70000002615-6f-615eabc4e2e8 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 56.63.09091.6BBAE516; Thu, 7 Oct 2021 17:11:34 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.51]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20211007081135epsmtip20db6c3e68c5bce6feddc0cb647079fa7~rsVsu8SKr0802008020epsmtip2C; Thu, 7 Oct 2021 08:11:35 +0000 (GMT) From: Chanho Park To: Alim Akhtar , Avri Altman , "James E . J . Bottomley" , "Martin K . Petersen" , Krzysztof Kozlowski Cc: Bean Huo , Bart Van Assche , Adrian Hunter , Christoph Hellwig , Can Guo , Jaegeuk Kim , Jaehoon Chung , Gyunghoon Kwon , Sowon Na , linux-samsung-soc@vger.kernel.org, linux-scsi@vger.kernel.org, Chanho Park , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH v4 13/16] dt-bindings: ufs: exynos-ufs: add io-coherency property Date: Thu, 7 Oct 2021 17:09:31 +0900 Message-Id: <20211007080934.108804-14-chanho61.park@samsung.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211007080934.108804-1-chanho61.park@samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA01Tf1BUVRSe+97btwuJvRaNCzPG+jBTGthd2IVLA/5Axp6DzqxjTGODwhv2 sRCwu+1blMQmHAaE3bAlCWzRaNYpCRUCEcmgADcQKaLBlJhyTIkfoghuIj8S2uVR+d93zvm+ 891z7r0SXDpGBkjS9WbOpGczadKbaLqyUR3iPLufVfzaE426h86R6PanTSQam/2FRO1/FBOo fHIWR4/qvhCh/u9eRVXOXhH64OttqMfmwNBQnR1HjoEmDA3MFYpQ/YMZDJ346VsMWW82k+hM 1wKGClqdYjQ/24Ft8WX6r8cz9rwSkuk/VoIxF6qDmdMtYxjTUFNMMjZHG2Ce1BWRzNSfgwRz rLEGMK6Gl5ijbVZMs+KtjOg0jtVyJhmnTzFo0/W6GDp+T9K2JHWEQhmijEKRtEzPZnExdNxO Tcj29Ez3hLTsAJuZ7U5pWJ6n5ZuiTYZsMydLM/DmGJozajONkcZQns3is/W6UD1nfk2pUISp 3cTkjLRBqxUYS71zmn4sE+eBVokFSCSQUsGbv6dagLdESjUDePvJ92IheASgq9dOCME0gDca HZgFeC0pKlxOkVBoBXCgehETgikAxy1ThIdFUiGwceQe8BRWUQ8BHLpbttQYp/IIOD5YBDws X2oPXCwZFHkwQb0Mz9uu4R7sQ22BV/+aEAt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ITP98hBXEFhLYzShxrSsbIi4r8ezdDnYI W1jifgtIDRdQzXtGiVlbjzGDJNgEdCW2PH/FCGKLCHxklJjzTQukiFmgh0XiaXcrWEJYIFBi 57TjLCA2i4CqxNoJp8CaeQUcJE58eQe1QV7iyK9OsDgnUHzPrrVsXYwcQNvsJbr+RkKUC0qc nPkEbAwzUHnz1tnMExgFZiFJzUKSWsDItIpRMrWgODc9t9iwwDAvtVyvODG3uDQvXS85P3cT IzgWtTR3MG5f9UHvECMTB+MhRgkOZiUR3nz72EQh3pTEyqrUovz4otKc1OJDjNIcLErivBe6 TsYLCaQnlqRmp6YWpBbBZJk4OKUamC5x9zb8ehP6TznhjfDeG1kPVgbUuKodrZkZqdfib7tr v1tnVGdzN8MB1egpM2bfKHNxMIpq5rYqWsMvEHmdzcegxOnaas/gv1Ur760sn38zgDViL9t5 N/8nGjm2HgKiBfePt6dLbZon+5KNo8I3p1J/l5bqwoMLduhNM5qnH7RF5VSOeMHEjgt9h2tm zOcJy09OqhTZE5h1/4//p+m2c7v11wY0sOruzrn08JoL34n4zUXCy6brL9yidLlavk5k/ods 6cPeRWli0et4XWQEBGeKFv3zORZfUNR5/4Vls1RhFcfLjhubrqVLKWZ6Oc1QvDZTfHGEcrYR i4ehtcb/yh3/mZvOJE1+FcbmzavEUpyRaKjFXFScCADIpso8NAMAAA== X-CMS-MailID: 20211007081135epcas2p2d577fc8dec75471cf42024eda6a45690 X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20211007081135epcas2p2d577fc8dec75471cf42024eda6a45690 References: <20211007080934.108804-1-chanho61.park@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Add "samsung,sysreg" regmap and the offset to the ufs shareaibility register for setting io coherency of the samsung ufs. "dma-coherent" property is also required because the driver code needs to know. Cc: Rob Herring Cc: devicetree@vger.kernel.org Signed-off-by: Chanho Park --- .../devicetree/bindings/ufs/samsung,exynos-ufs.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml b/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml index b9ca8ef4f2be..d9b7535b872f 100644 --- a/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml @@ -54,6 +54,17 @@ properties: phy-names: const: ufs-phy + samsung,sysreg: + $ref: '/schemas/types.yaml#/definitions/phandle' + description: phandle for FSYSx sysreg interface, used to control + sysreg register bit for UFS IO Coherency + + samsung,ufs-shareability-reg-offset: + $ref: '/schemas/types.yaml#/definitions/uint32' + description: Offset to the shareability register for io-coherency + + dma-coherent: true + required: - compatible - reg