Received: by 10.192.165.148 with SMTP id m20csp334592imm; Wed, 2 May 2018 00:45:49 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpSjT0Vle9bS3vujMpAneUxazSPVTn+IB0pGv2wt6OmNB/j1yz5elssRWl7acumY7wvihx1 X-Received: by 2002:a63:8bca:: with SMTP id j193-v6mr14587361pge.300.1525247149266; Wed, 02 May 2018 00:45:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525247149; cv=none; d=google.com; s=arc-20160816; b=w1077txPL3mxeXD/D7Aa8Kgqm+KhyfgqVUiu798RdpDzjx4/aa5GkRQqB7LM9GZI16 fbVApARSzJZJiAknN5GkcEUu14pMyHJJCG8SfcktriooApYsAD0LD2ec8jrwOo37Fwa/ xee0NvdubO7J758BEO0UEnjbQ74PMeAeDQkZ/dR1ZA6CLuil70eWeNKeFbPd5oUFvW+0 fc6jMd65btTHGhz5hKbOGAzL22FgOlmCH2dnxEABCa1e32cWzclSNHR1NWMF+4YYjh9T kYvAiiYVArLfniLZQS+jR8hMZiaIApSeHndxoSI6Gz/Ti6o18OFIG74uSUuT11olkG5j iNXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=s/on9BtPJQv7jVCJqSdd0jXfVRA0dYywkbj/lFRbHnk=; b=QtuwQ2HP0TIC6iYQ9kt8B2q25nOT7NprMo8p92Gc/0lrkfHqeqVoskxm0s15ESC+V0 1KmlUPC0rlxu3Nl+UpEIINPZc+C1PQkcbucda26ZIqS6sBEP2XpBwnHRlpL4koTgWH9m yqKAUGy47APuHbqfEiXkOLP/+puFRcNxIztkjEiC7RQY3H3cTizEkcu1/B10v6X4RN0x ytzR5rNAhAyio4cJ659kn9M/VSU6yO/HsEdVhEsgTh2113C8G09HNeTUiL4py6MKFWnC tHUaKpakuS7c/DuXEDCLyL3sURTcq40h+x5jUaNFa87nxU7Qidc+nKXB6IiVuX2K2s2y EV4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=UHB48GLC; dkim=pass header.i=@codeaurora.org header.s=default header.b=gLCYGIea; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s3-v6si1778015pgr.80.2018.05.02.00.45.35; Wed, 02 May 2018 00:45:49 -0700 (PDT) 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=@codeaurora.org header.s=default header.b=UHB48GLC; dkim=pass header.i=@codeaurora.org header.s=default header.b=gLCYGIea; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751171AbeEBHpS (ORCPT + 99 others); Wed, 2 May 2018 03:45:18 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:51094 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751188AbeEBHpO (ORCPT ); Wed, 2 May 2018 03:45:14 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 966D6607E1; Wed, 2 May 2018 07:45:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1525247113; bh=aDEmaBJrRy8QG9O3ohbsf13bP403ZuDg54+5hbDHmfU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=UHB48GLCdd6SMPsyu6JG+i92QZk+rVehgr3qk+9dJhFEqSZ4soJhLbOQAYMH+aneM TZEfnFWxD2ksIDg8pyMerryd0E0hoQG2ICqYFIxDdPbRUPhM6h7s6Y6sTpiX+4Cym6 00fnqelohpLV+pyGGgOYJqgvxe9AXV6Zqv6qcJWo= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 1476560555; Wed, 2 May 2018 07:45:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1525247112; bh=aDEmaBJrRy8QG9O3ohbsf13bP403ZuDg54+5hbDHmfU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=gLCYGIeasLOFPoxTHpOUwymzeKTwJfoCR+NXz3Gq+4JN4fdvlCFFD1r22iHsjCu6l axJYu0dJZ9nnLc4GNgn9l4v8omPSoBG8MUxKQQaXjXCu5gGmEGekC6QQEyCeAIu4M6 XvrT8TgVdFiyBptM8e/2j/+I8Gd/MKDe+IhYJbc4= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 02 May 2018 13:15:12 +0530 From: Amit Nischal To: Rob Herring Cc: Stephen Boyd , Michael Turquette , Andy Gross , David Brown , Rajendra Nayak , Odelu Kukatla , Taniya Das , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 1/2] dt-bindings: clock: Introduce QCOM Video clock bindings In-Reply-To: <20180501135054.GA373@rob-hp-laptop> References: <1524576771-31096-1-git-send-email-anischal@codeaurora.org> <1524576771-31096-2-git-send-email-anischal@codeaurora.org> <20180501135054.GA373@rob-hp-laptop> Message-ID: <55ef90a4034f5c7e94274c1ea02d3af1@codeaurora.org> X-Sender: anischal@codeaurora.org User-Agent: Roundcube Webmail/1.2.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-05-01 19:20, Rob Herring wrote: > On Tue, Apr 24, 2018 at 07:02:50PM +0530, Amit Nischal wrote: >> Add device tree bindings for video clock controller for Qualcomm >> Technology Inc's SoCs. >> >> Signed-off-by: Amit Nischal >> --- >> .../devicetree/bindings/clock/qcom,videocc.txt | 18 >> ++++++++++++++++ >> include/dt-bindings/clock/qcom,videocc-sdm845.h | 25 >> ++++++++++++++++++++++ >> 2 files changed, 43 insertions(+) >> create mode 100644 >> Documentation/devicetree/bindings/clock/qcom,videocc.txt >> create mode 100644 include/dt-bindings/clock/qcom,videocc-sdm845.h >> >> diff --git a/Documentation/devicetree/bindings/clock/qcom,videocc.txt >> b/Documentation/devicetree/bindings/clock/qcom,videocc.txt >> new file mode 100644 >> index 0000000..1c23b41 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/clock/qcom,videocc.txt >> @@ -0,0 +1,18 @@ >> +Qualcomm Video Clock & Reset Controller Binding >> +----------------------------------------------- >> + >> +Required properties : >> +- compatible : shall contain "qcom,videocc-sdm845" > > ',-' is the preferred order. > > Every single QCom binding... Can someone spread the word in QCom. Thanks for the review. I will make the suggested change in the next series. > >> +- reg : shall contain base register location and length >> +- #clock-cells : shall contain 1 >> +- #reset-cells : shall contain 1 >> +- #power-domain-cells : shall contain 1 > > No header definitions for resets and power-domain? There's no > requirement to have headers, but the binding should be complete even if > you don't have a driver yet. Will do the required changes in the next patch series. > >> + >> +Example: >> + videocc: qcom,videocc@ab00000 { > > clock-controller@... Will be fixed in the next patch series. > >> + compatible = "qcom,videocc-sdm845"; >> + reg = <0xab00000 0x10000>; >> + #clock-cells = <1>; >> + #reset-cells = <1>; >> + #power-domain-cells = <1>; >> + }; >> diff --git a/include/dt-bindings/clock/qcom,videocc-sdm845.h >> b/include/dt-bindings/clock/qcom,videocc-sdm845.h >> new file mode 100644 >> index 0000000..f5f7599 >> --- /dev/null >> +++ b/include/dt-bindings/clock/qcom,videocc-sdm845.h >> @@ -0,0 +1,25 @@ >> +/* SPDX-License-Identifier: GPL-2.0 */ >> +/* Copyright (c) 2016-2018, The Linux Foundation. All rights >> reserved. */ >> + >> +#ifndef _DT_BINDINGS_CLK_MSM_VIDEO_CC_SDM845_H >> +#define _DT_BINDINGS_CLK_MSM_VIDEO_CC_SDM845_H >> + >> +#define VIDEO_CC_APB_CLK 0 >> +#define VIDEO_CC_AT_CLK 1 >> +#define VIDEO_CC_QDSS_TRIG_CLK 2 >> +#define VIDEO_CC_QDSS_TSCTR_DIV8_CLK 3 >> +#define VIDEO_CC_VCODEC0_AXI_CLK 4 >> +#define VIDEO_CC_VCODEC0_CORE_CLK 5 >> +#define VIDEO_CC_VCODEC1_AXI_CLK 6 >> +#define VIDEO_CC_VCODEC1_CORE_CLK 7 >> +#define VIDEO_CC_VENUS_AHB_CLK 8 >> +#define VIDEO_CC_VENUS_CLK_SRC 9 >> +#define VIDEO_CC_VENUS_CTL_AXI_CLK 10 >> +#define VIDEO_CC_VENUS_CTL_CORE_CLK 11 >> +#define VIDEO_PLL0 12 >> + >> +#define VENUS_GDSC 0 >> +#define VCODEC0_GDSC 1 >> +#define VCODEC1_GDSC 2 >> + >> +#endif >> -- >> QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a >> member >> of Code Aurora Forum, hosted by The Linux Foundation >> >> -- >> To unsubscribe from this list: send the line "unsubscribe devicetree" >> in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html