Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1528809

Re: [PATCH v2] ARM: dts: da850: add the mstpri and ddrctl nodes

From Kevin Hilman <khilman@baylibre.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] ARM: dts: da850: add the mstpri and ddrctl nodes
Date 2016-11-23 23:40 +0100
Message-ID <sGOmR-2pg-19@gated-at.bofh.it> (permalink)
References <sDJMK-49e-25@gated-at.bofh.it> <sGrJD-4Po-17@gated-at.bofh.it> <sGD86-3GY-37@gated-at.bofh.it> <sGIAN-7bC-19@gated-at.bofh.it>
Organization BayLibre

Show all headers | View raw


David Lechner <david@lechnology.com> writes:

> On 11/23/2016 04:27 AM, Bartosz Golaszewski wrote:
>> 2016-11-22 23:23 GMT+01:00 David Lechner <david@lechnology.com>:
>>> On 11/15/2016 05:00 AM, Bartosz Golaszewski wrote:
>>>>
>>>> Add the nodes for the MSTPRI configuration and DDR2/mDDR memory
>>>> controller drivers to da850.dtsi.
>>>>
>>>> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
>>>> ---
>>>> v1 -> v2:
>>>> - moved the priority controller node above the cfgchip node
>>>> - renamed added nodes to better reflect their purpose
>>>>
>>>>  arch/arm/boot/dts/da850.dtsi | 8 ++++++++
>>>>  1 file changed, 8 insertions(+)
>>>>
>>>> diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
>>>> index 1bb1f6d..412eec6 100644
>>>> --- a/arch/arm/boot/dts/da850.dtsi
>>>> +++ b/arch/arm/boot/dts/da850.dtsi
>>>> @@ -210,6 +210,10 @@
>>>>                         };
>>>>
>>>>                 };
>>>> +               prictrl: priority-controller@14110 {
>>>> +                       compatible = "ti,da850-mstpri";
>>>> +                       reg = <0x14110 0x0c>;
>>>
>>>
>>> I think we should add status = "disabled"; here and let boards opt in.
>>>
>>>> +               };
>>>>                 cfgchip: chip-controller@1417c {
>>>>                         compatible = "ti,da830-cfgchip", "syscon",
>>>> "simple-mfd";
>>>>                         reg = <0x1417c 0x14>;
>>>> @@ -451,4 +455,8 @@
>>>>                           1 0 0x68000000 0x00008000>;
>>>>                 status = "disabled";
>>>>         };
>>>> +       memctrl: memory-controller@b0000000 {
>>>> +               compatible = "ti,da850-ddr-controller";
>>>> +               reg = <0xb0000000 0xe8>;
>>>
>>>
>>> same here. status = "disabled";
>>>
>>>> +       };
>>>>  };
>>>>
>>
>> Hi David,
>>
>> I did that initially[1][2] and it was rejected by Kevin[3] and Laurent[4].
>>
>> FYI this patch has already been queued by Sekhar.
>
> Thanks. I did not see those threads.
>
> FYI to maintainers, having these enabled by default causes error
> messages in the kernel log for other boards that are not supported by
> the drivers.

Then the driver is too noisy and should be cleaned up.

> Since there is only one board that is supported and soon
> to be 2 that are not, I would rather have this disabled by default to
> avoid the error messages.

IMO, what exactly are the error messages? Sounds like the driver is
being too verbose, and calling things errors that are not really errors.

Kevin

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2] ARM: dts: da850: add the mstpri and ddrctl nodes Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-11-15 12:10 +0100
  Re: [PATCH v2] ARM: dts: da850: add the mstpri and ddrctl nodes Sekhar Nori <nsekhar@ti.com> - 2016-11-16 10:20 +0100
  Re: [PATCH v2] ARM: dts: da850: add the mstpri and ddrctl nodes David Lechner <david@lechnology.com> - 2016-11-22 23:30 +0100
    Re: [PATCH v2] ARM: dts: da850: add the mstpri and ddrctl nodes Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-11-23 11:40 +0100
      Re: [PATCH v2] ARM: dts: da850: add the mstpri and ddrctl nodes David Lechner <david@lechnology.com> - 2016-11-23 17:30 +0100
        Re: [PATCH v2] ARM: dts: da850: add the mstpri and ddrctl nodes Kevin Hilman <khilman@baylibre.com> - 2016-11-23 23:40 +0100
          Re: [PATCH v2] ARM: dts: da850: add the mstpri and ddrctl nodes David Lechner <david@lechnology.com> - 2016-11-23 23:50 +0100
            Re: [PATCH v2] ARM: dts: da850: add the mstpri and ddrctl nodes Sekhar Nori <nsekhar@ti.com> - 2016-11-24 06:10 +0100
              Re: [PATCH v2] ARM: dts: da850: add the mstpri and ddrctl nodes Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-11-24 09:50 +0100

csiph-web