From patchwork Thu Jun 6 09:53:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lowry Li (Arm Technology China)" X-Patchwork-Id: 10979095 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0B7C714E5 for ; Thu, 6 Jun 2019 09:53:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EFC8D1FE8E for ; Thu, 6 Jun 2019 09:53:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E3A0428765; Thu, 6 Jun 2019 09:53:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 978EA1FE8E for ; Thu, 6 Jun 2019 09:53:15 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C2C33897BC; Thu, 6 Jun 2019 09:53:14 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30053.outbound.protection.outlook.com [40.107.3.53]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7738A897BC for ; Thu, 6 Jun 2019 09:53:13 +0000 (UTC) Received: from VI1PR08MB5488.eurprd08.prod.outlook.com (52.133.246.150) by VI1PR08MB4285.eurprd08.prod.outlook.com (20.179.25.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.12; Thu, 6 Jun 2019 09:53:11 +0000 Received: from VI1PR08MB5488.eurprd08.prod.outlook.com ([fe80::e9f4:59c8:9be1:910b]) by VI1PR08MB5488.eurprd08.prod.outlook.com ([fe80::e9f4:59c8:9be1:910b%4]) with mapi id 15.20.1965.011; Thu, 6 Jun 2019 09:53:11 +0000 From: "Lowry Li (Arm Technology China)" To: Liviu Dudau , "james qian wang (Arm Technology China)" , "maarten.lankhorst@linux.intel.com" , "seanpaul@chromium.org" , "airlied@linux.ie" , Brian Starkey Subject: [PATCH v2 2/2] dt/bindings: drm/komeda: Adds SMMU support for D71 devicetree Thread-Topic: [PATCH v2 2/2] dt/bindings: drm/komeda: Adds SMMU support for D71 devicetree Thread-Index: AQHVHE2mr3BUk1ioOkWkaZ2sLFcnGg== Date: Thu, 6 Jun 2019 09:53:10 +0000 Message-ID: <1559814765-18455-3-git-send-email-lowry.li@arm.com> References: <1559814765-18455-1-git-send-email-lowry.li@arm.com> In-Reply-To: <1559814765-18455-1-git-send-email-lowry.li@arm.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [113.29.88.7] x-clientproxiedby: HK2PR02CA0169.apcprd02.prod.outlook.com (2603:1096:201:1f::29) To VI1PR08MB5488.eurprd08.prod.outlook.com (2603:10a6:803:137::22) x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 1.9.1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d30e36e1-e296-497e-f49b-08d6ea64c8b9 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:VI1PR08MB4285; x-ms-traffictypediagnostic: VI1PR08MB4285: nodisclaimer: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 00603B7EEF x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(366004)(376002)(136003)(396003)(346002)(189003)(199004)(52116002)(6486002)(66066001)(2201001)(4326008)(386003)(6436002)(6116002)(86362001)(3846002)(446003)(76176011)(102836004)(8676002)(2616005)(55236004)(99286004)(476003)(305945005)(7736002)(25786009)(14454004)(53936002)(6512007)(486006)(316002)(68736007)(6636002)(186003)(6506007)(36756003)(50226002)(110136005)(2906002)(71200400001)(71190400001)(2501003)(26005)(11346002)(5660300002)(8936002)(81156014)(72206003)(256004)(81166006)(66556008)(64756008)(66446008)(66476007)(73956011)(478600001)(54906003)(66946007); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4285; H:VI1PR08MB5488.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: Pe73M9QPkbvj/u8K+ec1u552PLNFTM7T5nq+F+rlgGW4kInTNLpKiC4CHiGbr4R+L35EBHXQWG4qWqBRjb9bdl4rqmgRJUZHTb896wM6KUwky+WriS5zdnq706mHWrzfJ3JX4BdFLm4wa0VdMabxMGJBqAU2xR22veJ1XVu5CZ4+QVeA237+ocsCvKeYoVHXvjO40LxywB1YQRNN3L3nDs67M2mY1bqaEDMeVdtCSMEPTzZDXYR5U3rYNJda60spfLFliVJYxlTdbZlgeEuw5Qc0xGwtBD9M5vkftFOrv4Odu7GSa3GAqbgjlEPjNDmYpVssqxhYt1HEIj53aKXWhxWvTGax+MJRm6dHimNZ5eVFu8XnRZCnvEzIlWgmuxoADCaICS27SifgktUqQP2v64p8nf1JlGv2CcIATh9d8CE= MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: d30e36e1-e296-497e-f49b-08d6ea64c8b9 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jun 2019 09:53:10.9876 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Lowry.Li@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4285 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sl7Qn1204UQlhgDiKp2mJoeQ3g3KynzwhZ57SJ4CoGk=; b=E2f1NTSYmNcGOml52FsStZLXmYSixibRyJb+iCIF2BlAFjXCP97D7RaRje6gOaitTndKsQaL2vhTViI/Su7UXcCah+Zwh9kfLG6YkOb05bEaExeKB8qhyQoPBEHo+pmbBcxncKlHk+pnf615ITCaZ9iQH5mQQjvvyLrWezuPxT0= X-Mailman-Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Lowry.Li@arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ayan Halder , "Jonathan Chai \(Arm Technology China\)" , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , "Julien Yin \(Arm Technology China\)" , nd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Updates the device-tree doc about how to enable SMMU by devicetree. Signed-off-by: Lowry Li (Arm Technology China) Reviewed-by: Liviu Dudau Reviewed-by: James Qian Wang (Arm Technology China) --- Documentation/devicetree/bindings/display/arm,komeda.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/display/arm,komeda.txt b/Documentation/devicetree/bindings/display/arm,komeda.txt index 02b2265..b12c045 100644 --- a/Documentation/devicetree/bindings/display/arm,komeda.txt +++ b/Documentation/devicetree/bindings/display/arm,komeda.txt @@ -11,6 +11,10 @@ Required properties: - "pclk": for the APB interface clock - #address-cells: Must be 1 - #size-cells: Must be 0 +- iommus: configure the stream id to IOMMU, Must be configured if want to + enable iommu in display. for how to configure this node please reference + devicetree/bindings/iommu/arm,smmu-v3.txt, + devicetree/bindings/iommu/iommu.txt Required properties for sub-node: pipeline@nq Each device contains one or two pipeline sub-nodes (at least one), each @@ -44,6 +48,9 @@ Example: interrupts = <0 168 4>; clocks = <&dpu_mclk>, <&dpu_aclk>; clock-names = "mclk", "pclk"; + iommus = <&smmu 0>, <&smmu 1>, <&smmu 2>, <&smmu 3>, + <&smmu 4>, <&smmu 5>, <&smmu 6>, <&smmu 7>, + <&smmu 8>, <&smmu 9>; dp0_pipe0: pipeline@0 { clocks = <&fpgaosc2>, <&dpu_aclk>;