Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp270353ybl; Tue, 7 Jan 2020 05:57:55 -0800 (PST) X-Google-Smtp-Source: APXvYqyHK+x8Su1kRyHAN8EtpLwCQZ6XEOj6kdw2/QGVTZER3tMHINeJj/8keEGDSmU8QKnygVhP X-Received: by 2002:a9d:2de5:: with SMTP id g92mr104065398otb.217.1578405475176; Tue, 07 Jan 2020 05:57:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578405475; cv=none; d=google.com; s=arc-20160816; b=G2NFXMbGSy9gA5cK9U1PH0PdnoLfssxL+3wkwtnullDIcNZY5AqH0CgQ0hpZnyS33/ y22E5YAv9BdIkbafNfFLPgxeO1LP0OniRHecoN5WQe2YWbZqEJCTTH0lJYpwTl12Gxtt n0WjX3GB19FM8/KMiaQX6hHpua3RDs7dqk0ankGEMQgKyM+3TCjE4rD7g/h0eZMXR2HD 578y329/1+Bn6+0qmI66Cy6eZonoT4iou1y/TJr8+LxjsmdmXpgp3Q9Ryjr+TnwCl78X Ko5ZTX8PNj+IkGNC/tGq8TcitKwoeTjdyZa1Hfbi1kbsFsv3GtwGFvRPNBnMMDgbcapH 55+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=dPFVnSyX9G7Xno3hG+Ni/JXNUtGdIA/0mAR2Q6kZsno=; b=srfwNwdutWpzeO2t+bnwuabSYVCu67FrszzfljafL7XGVOYrMFM2svhw8r1Hu7rXuU 5JNn2O2QWihAG+cx9XM3EJO6z+/6gWfAavFFfIzICiyzxwgGQERegC7Jh3srN2iQGmBk qpIUEWXY+Zw8NwIyuOg7korXwsoaVDml6VCHLNkjFqQhqY5CsnmCmDnta0b99c7QulpU SlTR1ILY2KvpWtt12eOgU0j4naK8x2sgvvNl1Lo3rICqa+UB2XemMsTOGV+HiSHmFQOm N5Lzg5Zq3sqQa0zOSrjet3Pwf2WnL//R7hsgacEt/J3mSqBjqLdOa+kmqgTaS2/R70VA vNug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qWr8P8YF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c5si32924237oig.75.2020.01.07.05.57.41; Tue, 07 Jan 2020 05:57:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qWr8P8YF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728039AbgAGN45 (ORCPT + 99 others); Tue, 7 Jan 2020 08:56:57 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:41197 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727658AbgAGN45 (ORCPT ); Tue, 7 Jan 2020 08:56:57 -0500 Received: by mail-ed1-f67.google.com with SMTP id c26so50394778eds.8 for ; Tue, 07 Jan 2020 05:56:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=dPFVnSyX9G7Xno3hG+Ni/JXNUtGdIA/0mAR2Q6kZsno=; b=qWr8P8YFqXfDZNldkjhAm+txdX7iIsKYJ6Z2fvhyXf0CewIQyOlAdr57I9+xCyepgl rct4zTGcdabb78WzLt1LIKtDmbOK492SzsAI16IQ0Lw/3lmWcZ/0MDCn7eFlykhioQAh kbRok0v1P4AoU0SEuTpCCrXkDzBHwpmDV90WBtJYxSSdVRXLdV9nI8NX9GUPhUy/Pli3 FIyCjPHvj13FOvlVqXzrHDcygbdRCxNvlQ8n5SLvXiALR0DKIGfTdVPFkCyejskLB8HP rGGhB4a0TiHpZsC5K4lCH3ooC5h9mtFlw6tnj5Ss3gVCL7/0bNqpKjyw4aAmfHfsUW3l G0AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=dPFVnSyX9G7Xno3hG+Ni/JXNUtGdIA/0mAR2Q6kZsno=; b=K5hYI4SkdCV7MYh7icZXCKregxwutRDBDJeWIknerrZWcPOhvCdsOq3+pD83K34v1K ECixDq8I8HocNtIhW2gVYslHQjuVpr0xPONZleyRyhrOWneIldJtdngs0SOqE2ZncU8a Gu+R9GgfqhFUu0iLlVyXK99mWDCZiwsziscSRxHQKzMmYm/PrYNUt/Qn22g8FLDO29m2 L+vJ+ZpluQA0tN6WsFa8HspWP0Wvw0pwdmAdXRE46ieSdmaAbM0jlEhGh4pY2hX8xRMq ADfVGOAIhSBmnUKeQvzKlfxwT2nOGf8peJCe6C8d3V9agzctAVwMNHGnvSoJpY7gdOeq gaYQ== X-Gm-Message-State: APjAAAVngCKl0d8HN5mgCfOHFzT6Gnsfb2gVjp7s5I/CC2ikZe9OKnKb cEIZW1u2MoYV9uvnoZes+upgKcjwgns= X-Received: by 2002:a05:6402:3184:: with SMTP id di4mr113867727edb.59.1578405414488; Tue, 07 Jan 2020 05:56:54 -0800 (PST) Received: from [192.168.27.209] ([37.157.136.193]) by smtp.googlemail.com with ESMTPSA id dn12sm7560355edb.89.2020.01.07.05.56.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 Jan 2020 05:56:53 -0800 (PST) Subject: Re: [PATCH V3 2/4] dt-bindings: media: venus: Add sc7180 DT schema To: Dikshita Agarwal , linux-media@vger.kernel.org, stanimir.varbanov@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, vgarodia@codeaurora.org References: <1577971501-3732-1-git-send-email-dikshita@codeaurora.org> <1577971501-3732-3-git-send-email-dikshita@codeaurora.org> From: Stanimir Varbanov Message-ID: Date: Tue, 7 Jan 2020 15:56:52 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <1577971501-3732-3-git-send-email-dikshita@codeaurora.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 1/2/20 3:24 PM, Dikshita Agarwal wrote: > Add new qcom,sc7180-venus DT binding schema. > > Signed-off-by: Dikshita Agarwal > --- > .../bindings/media/qcom,venus-sc7180.yaml | 136 +++++++++++++++++++++ > 1 file changed, 136 insertions(+) > create mode 100644 Documentation/devicetree/bindings/media/qcom,venus-sc7180.yaml > > diff --git a/Documentation/devicetree/bindings/media/qcom,venus-sc7180.yaml b/Documentation/devicetree/bindings/media/qcom,venus-sc7180.yaml > new file mode 100644 > index 0000000..b78952c > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/qcom,venus-sc7180.yaml > @@ -0,0 +1,136 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > + > +%YAML 1.2 > +--- > +$id: "http://devicetree.org/schemas/media/qcom,venus-sc7180.yaml#" > +$schema: "http://devicetree.org/meta-schemas/core.yaml#" > + > +title: Qualcomm Venus video encode and decode accelerators > + > +maintainers: > + - Stanimir Varbanov > + > +description: | > + The Venus IP is a video encode and decode accelerator present > + on Qualcomm platforms > + > +properties: > + compatible: > + const: "qcom,sc7180-venus" > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + power-domains: > + maxItems: 2 > + > + power-domain-names: > + maxItems: 2 > + items: > + - const: venus > + - const: vcodec0 > + > + clocks: > + maxItems: 5 > + > + clock-names: > + items: > + - const: core > + - const: iface > + - const: bus > + - const: vcodec0_core > + - const: vcodec0_bus > + > + iommus: > + minItems: 1 > + maxItems: 20 > + > + memory-region: > + maxItems: 1 > + > + video-core0: > + type: object > + > + properties: > + compatible: > + const: "venus-decoder" > + > + required: > + - compatible > + > + additionalProperties: false > + > + video-core1: > + type: object > + > + properties: > + compatible: > + const: "venus-encoder" > + > + required: > + - compatible > + > + additionalProperties: false > + > + video-firmware: > + type: object > + > + description: | > + Firmware subnode is needed when the platform does not > + have TrustZone. > + > + properties: > + iommus: > + minItems: 1 please add required: - iommus > + > +required: > + - compatible > + - reg > + - interrupts > + - power-domains > + - power-domain-names > + - clocks > + - clock-names > + - iommus > + - memory-region > + - video-core0 > + - video-core1 > + > +examples: > + - | > + #include > + #include > + > + venus: video-codec@aa00000 { > + compatible = "qcom,sc7180-venus"; > + reg = <0 0x0aa00000 0 0xff000>; > + interrupts = ; > + power-domains = <&videocc VENUS_GDSC>, > + <&videocc VCODEC0_GDSC>; > + power-domain-names = "venus", "vcodec0"; > + clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>, > + <&videocc VIDEO_CC_VENUS_AHB_CLK>, > + <&videocc VIDEO_CC_VENUS_CTL_AXI_CLK>, > + <&videocc VIDEO_CC_VCODEC0_CORE_CLK>, > + <&videocc VIDEO_CC_VCODEC0_AXI_CLK>; > + clock-names = "core", "iface", "bus", > + "vcodec0_core", "vcodec0_bus"; > + iommus = <&apps_smmu 0x0c00 0x60>; > + memory-region = <&venus_mem>; > + > + interconnects = <&mmss_noc MASTER_VIDEO_P0 &mc_virt SLAVE_EBI1>, > + <&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_VENUS_CFG>; > + interconnect-names = "video-mem", "cpu-cfg"; > + > + video-core0 { > + compatible = "venus-decoder"; > + }; > + > + video-core1 { > + compatible = "venus-encoder"; > + }; > + > + }; > -- regards, Stan