From patchwork Wed May 29 10:54:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonas Karlman X-Patchwork-Id: 10966777 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 1D202112C for ; Wed, 29 May 2019 10:54:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 04325284B3 for ; Wed, 29 May 2019 10:54:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EC0C5288E0; Wed, 29 May 2019 10:54:35 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C0A0D284B3 for ; Wed, 29 May 2019 10:54:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726024AbfE2Kya (ORCPT ); Wed, 29 May 2019 06:54:30 -0400 Received: from mail-oln040092069023.outbound.protection.outlook.com ([40.92.69.23]:8935 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725894AbfE2Kya (ORCPT ); Wed, 29 May 2019 06:54:30 -0400 Received: from AM5EUR02FT056.eop-EUR02.prod.protection.outlook.com (10.152.8.54) by AM5EUR02HT133.eop-EUR02.prod.protection.outlook.com (10.152.9.131) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1922.16; Wed, 29 May 2019 10:54:27 +0000 Received: from VI1PR03MB4206.eurprd03.prod.outlook.com (10.152.8.60) by AM5EUR02FT056.mail.protection.outlook.com (10.152.9.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1922.16 via Frontend Transport; Wed, 29 May 2019 10:54:27 +0000 Received: from VI1PR03MB4206.eurprd03.prod.outlook.com ([fe80::883e:1bd6:cd36:5fb0]) by VI1PR03MB4206.eurprd03.prod.outlook.com ([fe80::883e:1bd6:cd36:5fb0%4]) with mapi id 15.20.1922.021; Wed, 29 May 2019 10:54:27 +0000 From: Jonas Karlman To: Ezequiel Garcia , Mauro Carvalho Chehab , Heiko Stuebner CC: Jonas Karlman , Rob Herring , "Mark Rutland" , Hans Verkuil , "linux-media@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: [PATCH] media: dt-bindings: rockchip: Document RK3328 VPU binding Thread-Topic: [PATCH] media: dt-bindings: rockchip: Document RK3328 VPU binding Thread-Index: AQHVFgzihlhmdNUSwkKzxCU6ATy8kQ== Date: Wed, 29 May 2019 10:54:27 +0000 Message-ID: Accept-Language: sv-SE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM6P193CA0088.EURP193.PROD.OUTLOOK.COM (2603:10a6:209:88::29) To VI1PR03MB4206.eurprd03.prod.outlook.com (2603:10a6:803:51::23) x-incomingtopheadermarker: OriginalChecksum:A37DCEC0744D90776D608EE1B853CCB01D945B1C56F5D83F60FBFFE7190CF193;UpperCasedChecksum:BCA00BE91E788EF7747F9C0F3BC2D1C4FB5121767231C16A3BDDE41AA21B026F;SizeAsReceived:7665;Count:48 x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-tmn: [8XddgOlttuYKrvkyvGFKAR8D4EwiBt50] x-microsoft-original-message-id: <20190529105409.23451-1-jonas@kwiboo.se> x-ms-publictraffictype: Email x-incomingheadercount: 48 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(5050001)(7020095)(20181119110)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031323274)(2017031324274)(2017031322404)(1601125500)(1603101475)(1701031045);SRVR:AM5EUR02HT133; x-ms-traffictypediagnostic: AM5EUR02HT133: x-microsoft-antispam-message-info: OpOkS7wTfOIL24rblTBMu0c9zLFBmICSHEM4mTrzlzj0LrmJj4GH9pzyEseBqk2Gk4FpKe3QiyU1WBiIM4Lhb6302/36mJF5Ic9viF4sKGtWk1RsFupY21YvsLb7D2tsy5G89SMDwCaAJttrB+DfQjFiyhTWEeapxTbzr7nc9kSTp3FKN5Iqae9aQygScT03 MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 096f17cb-7919-43b3-67ff-08d6e42403fd X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 May 2019 10:54:27.1629 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5EUR02HT133 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Update devicetree binding documentation for Rockchip VPU on RK3328. Signed-off-by: Jonas Karlman Reviewed-by: Rob Herring --- .../devicetree/bindings/media/rockchip-vpu.txt | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/media/rockchip-vpu.txt b/Documentation/devicetree/bindings/media/rockchip-vpu.txt index 35dc464ad7c8..339252d9c515 100644 --- a/Documentation/devicetree/bindings/media/rockchip-vpu.txt +++ b/Documentation/devicetree/bindings/media/rockchip-vpu.txt @@ -1,14 +1,17 @@ device-tree bindings for rockchip VPU codec Rockchip (Video Processing Unit) present in various Rockchip platforms, -such as RK3288 and RK3399. +such as RK3288, RK3328 and RK3399. Required properties: - compatible: value should be one of the following "rockchip,rk3288-vpu"; + "rockchip,rk3328-vpu"; "rockchip,rk3399-vpu"; - interrupts: encoding and decoding interrupt specifiers -- interrupt-names: should be "vepu" and "vdpu" +- interrupt-names: should be + "vepu", "vdpu" on RK3288 and RK3399, + "vdpu" on RK3328. - clocks: phandle to VPU aclk, hclk clocks - clock-names: should be "aclk" and "hclk" - power-domains: phandle to power domain node @@ -27,3 +30,14 @@ SoC-specific DT entry: power-domains = <&power RK3288_PD_VIDEO>; iommus = <&vpu_mmu>; }; + + vpu: video-codec@ff350000 { + compatible = "rockchip,rk3328-vpu"; + reg = <0x0 0xff350000 0x0 0x800>; + interrupts = ; + interrupt-names = "vdpu"; + clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>; + clock-names = "aclk", "hclk"; + power-domains = <&power RK3328_PD_VPU>; + iommus = <&vpu_mmu>; + };