From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754846AbeDCFoR (ORCPT ); Tue, 3 Apr 2018 01:44:17 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:16601 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754305AbeDCFoP (ORCPT ); Tue, 3 Apr 2018 01:44:15 -0400 Subject: Re: [PATCH v8 42/42] ARM: dts: da850: Add clocks To: David Lechner , , , CC: Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Kevin Hilman , Bartosz Golaszewski , Adam Ford , References: <1521168778-27236-1-git-send-email-david@lechnology.com> <1521168778-27236-43-git-send-email-david@lechnology.com> <510309d2-2df0-a915-a6f6-082b41c6b28b@ti.com> <5502d0ee-b5dc-e90a-a041-882350c7d339@lechnology.com> From: Sekhar Nori Message-ID: <82917652-8be2-75f5-f3fc-814ee7c3f51d@ti.com> Date: Tue, 3 Apr 2018 11:13:07 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <5502d0ee-b5dc-e90a-a041-882350c7d339@lechnology.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday 02 April 2018 09:45 PM, David Lechner wrote: > On 04/02/2018 06:12 AM, Sekhar Nori wrote: >> On Friday 16 March 2018 10:50 PM, David Lechner wrote: >>> On 03/15/2018 09:52 PM, David Lechner wrote: >>>> This adds clock provider nodes for da850 and wires them up to all of >>>> the >>>> devices. >>>> >>>> Signed-off-by: David Lechner >>>> --- >>> >>> ... >>> >>> This is the mcasp0: mcasp@100000 node... >>> >>>> @@ -560,6 +720,7 @@ >>>>                dmas = <&edma0 1 1>, >>>>                    <&edma0 0 1>; >>>>                dma-names = "tx", "rx"; >>>> +            clocks = <&psc1 7>; >>> >>> After some testing, it looks like it needs to be: >>> >>> +            power-domains = <&psc1 7>; >>> >>> instead of >>> >>> +            clocks = <&psc1 7>; >> >> We should probably have both clocks and power-domains properties for all >> PSC clocks. This way, the driver can change without a corresponding DT >> update dependency. >> >> Thanks, >> Sekhar >> > > That's fine with me. I just didn't know how people felt about using > properties > that are not documented. Good point. How to ease documentation for generic properties like these was discussed in the past, but there is no guidance in Documentation/devicetree/bindings that I can see. So, in the interest of reduced controversy, its probably better to do what you already have and only populate properties already documented in the bindings. Thanks, Sekhar