Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp3626739ybf; Tue, 3 Mar 2020 09:19:45 -0800 (PST) X-Google-Smtp-Source: ADFU+vsXbuv2ihYQB/bOy1QCubX5DEIhWDQnnvk3FjOy3wC9TuPsD71A6x433cZo9h2ZzBHj/0/u X-Received: by 2002:a9d:6a9a:: with SMTP id l26mr4317886otq.104.1583255984990; Tue, 03 Mar 2020 09:19:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583255984; cv=none; d=google.com; s=arc-20160816; b=cmf6Rm3Kgi0kKw2hi6vHeazEsWvQZ663QIIjbed4ftsVyBwJOtj/R5Pw97Ni0FT5fq 1WQfpMNvWNKLY+pqMynB8yGLFRDM2JcrM4r0oU6vsRlkTzYZwGPB32+mTlCqBk1CKisJ 64QQSLT/EZJ2Rvrj6/eoSO2IG1Yi+pHkOGSxOlQA5/B5Hrc/McZXctCwNXSa4dYYemJw gzbsdp/u6Giy/O/O2Ob+/aCA6MroDYetH2HGfp3/LxDyn516FP3F3ziKol9tjjLHMESq sToJ+wWdcCRDbhb37f24Vljao5puX8/bxwB64jEoR5lv7WsqcOxxXxRBglXEZM6K6NF+ D35A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dmarc-filter:dkim-signature; bh=t7pxhES6CtD8FX+tKI1sCtQUz5kRFPV7u657mPloMv4=; b=AjCK9iQLz4+BuRBO7AboKrikfi46WXcLjDxh/54CZV1ijZEHxPRj8T1hmaXezFYGMA rIXQ5mkybKgK1ARbeWtXeDJcOdQnH8nISY8MEKE46XhcLosK5K4nM4TmQTzbgtluSupj sx+oY2dHAsc8JSvJ4LvzNsvbIcm1r93toHRjCFG+8wVH54t8/nlgUM6ey5kDubvtq1Yk ibCnKdx+IGbsUmqvJnpZFoZtAe8z7Nroz7oLF29EyDyFLgCO57TxMYk446QodxbvtVkG xABmFOByv2pzRfv8MBTW+ngw9zRJN7yqHaGqjrRxqOdSjgKfgNrDaXfIqtphXU3oN1FB 0dCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=aMIrNTqK; 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 v19si3678909otq.57.2020.03.03.09.19.31; Tue, 03 Mar 2020 09:19:44 -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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=aMIrNTqK; 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 S1730516AbgCCRCu (ORCPT + 99 others); Tue, 3 Mar 2020 12:02:50 -0500 Received: from mail27.static.mailgun.info ([104.130.122.27]:18755 "EHLO mail27.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729148AbgCCRCt (ORCPT ); Tue, 3 Mar 2020 12:02:49 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1583254969; h=In-Reply-To: Content-Type: MIME-Version: References: Message-ID: Subject: Cc: To: From: Date: Sender; bh=t7pxhES6CtD8FX+tKI1sCtQUz5kRFPV7u657mPloMv4=; b=aMIrNTqKTzi5NkFiLcC5lx8qlkLzgITeI1ZWbSAKT4kTVM0irmR8/gJTXYzUjjRV5joAUHZe 53NC8yAdTK1uKrhmj+DI+uZT/DstKIU6dXD/giYC+YDW5MrJQoBy2226oc5/hcelNNilKA1w 8KtxMIJL5cJKxvb4cnv4KchTzIA= X-Mailgun-Sending-Ip: 104.130.122.27 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5e5e8d8c.7f5d3b7dece0-smtp-out-n01; Tue, 03 Mar 2020 17:02:04 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 7BD26C447A2; Tue, 3 Mar 2020 17:02:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from jcrouse1-lnx.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jcrouse) by smtp.codeaurora.org (Postfix) with ESMTPSA id 85D94C43383; Tue, 3 Mar 2020 17:02:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 85D94C43383 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=jcrouse@codeaurora.org Date: Tue, 3 Mar 2020 10:01:59 -0700 From: Jordan Crouse To: Brian Masney Cc: Jeffrey Hugo , Sam Ravnborg , Sean Paul , DTML , David Airlie , MSM , Sharat Masetty , lkml , "open list:DRM PANEL DRIVERS" , Rob Herring , freedreno Subject: Re: [Freedreno] [PATCH v3 1/2] dt-bindings: display: msm: Convert GMU bindings to YAML Message-ID: <20200303170159.GA13109@jcrouse1-lnx.qualcomm.com> Mail-Followup-To: Brian Masney , Jeffrey Hugo , Sam Ravnborg , Sean Paul , DTML , David Airlie , MSM , Sharat Masetty , lkml , "open list:DRM PANEL DRIVERS" , Rob Herring , freedreno References: <1583173424-21832-1-git-send-email-jcrouse@codeaurora.org> <1583173424-21832-2-git-send-email-jcrouse@codeaurora.org> <20200302204906.GA32123@ravnborg.org> <20200303154321.GA24212@jcrouse1-lnx.qualcomm.com> <20200303155405.GA11841@onstation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200303155405.GA11841@onstation.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 03, 2020 at 10:54:05AM -0500, Brian Masney wrote: > On Tue, Mar 03, 2020 at 08:50:28AM -0700, Jeffrey Hugo wrote: > > On Tue, Mar 3, 2020 at 8:43 AM Jordan Crouse wrote: > > > > > > On Mon, Mar 02, 2020 at 09:49:06PM +0100, Sam Ravnborg wrote: > > > > Hi Jordan. > > > > > > > > On Mon, Mar 02, 2020 at 11:23:43AM -0700, Jordan Crouse wrote: > > > > > Convert display/msm/gmu.txt to display/msm/gmu.yaml and remove the old > > > > > text bindings. > > > > > > > > > > Signed-off-by: Jordan Crouse > > > > > --- > > > > > > > > > > .../devicetree/bindings/display/msm/gmu.txt | 116 ------------------- > > > > > - > > > > > -Required properties: > > > > > -- compatible: "qcom,adreno-gmu-XYZ.W", "qcom,adreno-gmu" > > > > > - for example: "qcom,adreno-gmu-630.2", "qcom,adreno-gmu" > > > > > - Note that you need to list the less specific "qcom,adreno-gmu" > > > > > - for generic matches and the more specific identifier to identify > > > > > - the specific device. > > > > > -- reg: Physical base address and length of the GMU registers. > > > > > -- reg-names: Matching names for the register regions > > > > > - * "gmu" > > > > > - * "gmu_pdc" > > > > > - * "gmu_pdc_seg" > > > > > -- interrupts: The interrupt signals from the GMU. > > > > > -- interrupt-names: Matching names for the interrupts > > > > > - * "hfi" > > > > > - * "gmu" > > > > > -- clocks: phandles to the device clocks > > > > > -- clock-names: Matching names for the clocks > > > > > - * "gmu" > > > > > - * "cxo" > > > > > - * "axi" > > > > > - * "mnoc" > > > > The new binding - and arch/arm64/boot/dts/qcom/sdm845.dtsi agrees that > > > > "mnoc" is wrong. > > > > > > > > > -- power-domains: should be: > > > > > - <&clock_gpucc GPU_CX_GDSC> > > > > > - <&clock_gpucc GPU_GX_GDSC> > > > > > -- power-domain-names: Matching names for the power domains > > > > > -- iommus: phandle to the adreno iommu > > > > > -- operating-points-v2: phandle to the OPP operating points > > > > > - > > > > > -Optional properties: > > > > > -- sram: phandle to the On Chip Memory (OCMEM) that's present on some Snapdragon > > > > > - SoCs. See Documentation/devicetree/bindings/sram/qcom,ocmem.yaml. > > > > This property is not included in the new binding. > > > > > > Yeah, that guy shouldn't be here. I'm not sure how it got there in the first > > > place but I'll update the commit log. Thanks for the poke. > > > > I thought this was something Brian M added for older targets (A4XX?). > > Perhaps he should chime in? > > Yes, this is needed for older systems with a3xx and a4xx GPUs. Okay, this got added to the wrong place. The GMU is a specific entity only valid for a6xx targets. From the looks of the example the sram should be in the GPU definition. Do you want to submit a patch to move it or should I (and lets hope Rob doesn't insist on converting GPU to YAML). Jordan > Brian -- The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project