Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp926699pxu; Fri, 4 Dec 2020 21:19:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJxC06DCbJ+uRqShFcdoE1wVSH9BVf6cKGKrPweXx7K7mDK4QFakTkbb+JhQFGFoi4QmWXqS X-Received: by 2002:a17:906:1e84:: with SMTP id e4mr10048206ejj.57.1607145590844; Fri, 04 Dec 2020 21:19:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607145590; cv=none; d=google.com; s=arc-20160816; b=0TGOOZA84YOdqzez5gCVMcGb51730TzSBcL6PXMAQjFSh3xuG5XdzMlGVKC03sKAR/ PKjXKClLnjd2eA56YQ02C+EVkHw9yZQeTOEPu7I5pzDoXinT6KZcUyoD6Qr9cTZsTVlE xG3049Z54GpGOPYI0LhKL+X2BARxVjGQYsABIWlMI8k76u+rXA8oBPl2U4OT3zMryCJ8 Of71qsq9twDD6QhhzQvLeM9zM3d0u8iEYEv0fNsxN3MShutR7Vj89/A23EIJWKEcwX+/ u8VwnFRqm9WNPQFDSTfImLBD+B8Yifq1X3ZskE+KRcklk6H1h14TUW2rqmxBFALP3Mz1 PFzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=wEizxSeMcZyrnpBQoSJZLM1AFiDunhDSj13iuZIM0TY=; b=tyx8BccqmKbbMCqTzn34NsNPTMoxQx7mID7+hYFYD1WnFHJU2BlsYMlYAoYHvaqpyZ ZXPd7l5hlhY2BS4fsH68uHXXU6WWWseYU/E05gz6BsAvtDBQH9fsbxzOrPxyu/+dA96M qEiFoNl6giMyXp3z3QBJC3TTdi9r1ZeUw2censZdumdZpLBA2GMPb6gGJWFck5SoQO08 omatv1/vEbWUSNNbbumo2SeNsmSZSWaZs536hnaiKqGelKJpjLlKF1h8ZRXprqrr0NCY VemxUY1Uy7GdKoG/KiYcFF9/+J603RVBF/HeGpi/ynXEPOHhUPh2i45ueQ7Zs5Oq+dVD zbow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EvlDpLKF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id x14si4396706edq.88.2020.12.04.21.19.26; Fri, 04 Dec 2020 21:19:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EvlDpLKF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1725771AbgLEFP0 (ORCPT + 99 others); Sat, 5 Dec 2020 00:15:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725770AbgLEFPZ (ORCPT ); Sat, 5 Dec 2020 00:15:25 -0500 Received: from mail-oo1-xc33.google.com (mail-oo1-xc33.google.com [IPv6:2607:f8b0:4864:20::c33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F815C061A4F for ; Fri, 4 Dec 2020 21:14:45 -0800 (PST) Received: by mail-oo1-xc33.google.com with SMTP id f8so1940274oou.0 for ; Fri, 04 Dec 2020 21:14:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=wEizxSeMcZyrnpBQoSJZLM1AFiDunhDSj13iuZIM0TY=; b=EvlDpLKFCFv5U5IOXD8THSqcmKQKFV/7mI2hVZCuec47kqdhrRfiWfOxzjsFB2Ch1x AkVWzZ+Nmo7GHm0SS4ar1UIbVyYqoFGiSvRHLTyz44zokPWwhRewXHfW87VQWqsvTKxm IrduAt4A3nYEgA+FoJZR18aK392a2VDoeIkUfJ9bLw1h6bZDhB8Iizu3X48HnJEGLBqy zYy3kyCflfveuGWOtOvIPdXpvq6Mq5NKkL9YuNVi+1gxgT4LGU83YgikaZ73n2t5AhV9 ER4ZAdeQF5KG5+j680aAtJwzeAwrgTbfr31ThY9WW+IirhNYqZdDmEbWTJVR3hfraC7T cpug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=wEizxSeMcZyrnpBQoSJZLM1AFiDunhDSj13iuZIM0TY=; b=D6ruzRUJteyHOsHVhRDszEpx3hRrKdJBJnhOeED+0NiaO274BUTTWqBMHDCzQIUt1k 10xVI8dOsO2QV9ZddmtGiEqgDc0cfeQmMJ5X6NQCzYWEJgyzkj/92GdDixZzDNYGE4mt 5T4jHpuRWdF1gN49PgtWNRvWoMpc7Y2CB1TurZOfo5gtq+z31urSipCBliClSq1m/JPG vKBKhqhyGJqIOEptdRKkBv5GwBLHWIruzq35wLUPAsWck5FuTtNlM+krXxRj4kfwtQN8 9a/7D/VxuJVN2H2Lh+VWj1f69GWaljoPGtXIuk0gs+opx4HRlSIdlcBmAKoYPfiNSavu KRug== X-Gm-Message-State: AOAM533G+cAhiYANBNvANEapzCfMCi4GgwCWFzyoHrBFApuKRKAJ0M4s UTc16bpx3Xla5n36W3oUt3vPww== X-Received: by 2002:a4a:a8c8:: with SMTP id r8mr5901369oom.9.1607145284084; Fri, 04 Dec 2020 21:14:44 -0800 (PST) Received: from builder.lan (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id n21sm1186149oie.15.2020.12.04.21.14.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2020 21:14:43 -0800 (PST) Date: Fri, 4 Dec 2020 23:14:41 -0600 From: Bjorn Andersson To: kholk11@gmail.com Cc: agross@kernel.org, sboyd@kernel.org, marijns95@gmail.com, konradybcio@gmail.com, martin.botka1@gmail.com, linux-arm-msm@vger.kernel.org, phone-devel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/5] dt-bindings: clock: Add QCOM SDM630 and SDM660 graphics clock bindings Message-ID: References: <20200926130306.13843-1-kholk11@gmail.com> <20200926130306.13843-6-kholk11@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200926130306.13843-6-kholk11@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat 26 Sep 08:03 CDT 2020, kholk11@gmail.com wrote: > From: AngeloGioacchino Del Regno > > Add device tree bindings for graphics clock controller for > Qualcomm Technology Inc's SDM630 and SDM660 SoCs. > --- > .../bindings/clock/qcom,sdm660-gpucc.yaml | 75 +++++++++++++++++++ > 1 file changed, 75 insertions(+) > create mode 100644 Documentation/devicetree/bindings/clock/qcom,sdm660-gpucc.yaml > > diff --git a/Documentation/devicetree/bindings/clock/qcom,sdm660-gpucc.yaml b/Documentation/devicetree/bindings/clock/qcom,sdm660-gpucc.yaml > new file mode 100644 > index 000000000000..dbb14b274d5b > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/qcom,sdm660-gpucc.yaml > @@ -0,0 +1,75 @@ > +# SPDX-License-Identifier: GPL-2.0-only > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/clock/qcom,sdm660-gpucc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Qualcomm Graphics Clock & Reset Controller Binding for SDM630 and SDM660 > + > +maintainers: > + - Taniya Das > + > +description: | > + Qualcomm graphics clock control module which supports the clocks, resets and > + power domains on SDM630 and SDM660. > + > + See also dt-bindings/clock/qcom,gpucc-sdm660.h. > + > +properties: > + compatible: > + enum: > + - qcom,sdm630-gpucc > + - qcom,sdm660-gpucc > + > + clocks: > + items: > + - description: Board XO source > + - description: GPLL0 main gpu branch > + - description: GPLL0 divider gpu branch > + > + clock-names: > + items: > + - const: xo > + - const: gcc_gpu_gpll0_clk > + - const: gcc_gpu_gpll0_div_clk > + > + '#clock-cells': > + const: 1 > + > + '#reset-cells': > + const: 1 > + > + '#power-domain-cells': > + const: 1 > + > + reg: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - clocks > + - clock-names > + - '#clock-cells' > + - '#reset-cells' > + - '#power-domain-cells' > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + > + clock-controller@5065000 { > + compatible = "qcom,sdm660-gpucc"; > + #clock-cells = <1>; > + #reset-cells = <1>; > + #power-domain-cells = <1>; > + reg = <0x05065000 0x9038>; > + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, > + <&gcc GCC_GPU_GPLL0_CLK>, > + <&gcc GCC_GPU_GPLL0_DIV_CLK>; > + clock-names = "xo", "gpll0"; You need 3 clock-names, and they need to match what the binding defines. Other than that I think it looks good. Regards, Bjorn > + }; > +... > -- > 2.28.0 >