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


Groups > linux.kernel > #1215015

Re: [PATCH v1 3/5] ARM: dts: Add arm, pl330-broken-no-flushp quirk for rk3288 platform

Path csiph.com!goblin1!goblin.stu.neva.ru!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod
From Shawn Lin <shawn.lin@rock-chips.com>
Newsgroups linux.kernel
Subject Re: [PATCH v1 3/5] ARM: dts: Add arm, pl330-broken-no-flushp quirk for rk3288 platform
Date Fri, 28 Aug 2015 02:00:02 +0200
Message-ID <q2ffk-2SO-13@gated-at.bofh.it> (permalink)
References <q26lH-72W-9@gated-at.bofh.it> <q26lI-72W-23@gated-at.bofh.it> <q28GT-1SK-11@gated-at.bofh.it>
X-Original-To Doug Anderson <dianders@chromium.org>
X-263anti-Spam KSV:0;
X-Mail-Gray 1
X-Abs-Checked 4
X-Rl-Sender shawn.lin@rock-chips.com
X-Fst-To linux-arm-kernel@lists.infradead.org
X-Sender-IP 58.22.7.114
X-Login-Name shawn.lin@rock-chips.com
X-Unique-Tag <a7650ce0d64a0b8933844f9109e9c805>
X-Sender lintao@rock-chips.com
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
MIME-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 89
Organization linux.* mail to news gateway
X-Original-Cc shawn.lin@rock-chips.com, Vinod Koul <vinod.koul@intel.com>, Heiko Stuebner <heiko@sntech.de>, Addy Ke <addy.ke@rock-chips.com>, Boojin Kim <boojin.kim@samsung.com>, Olof Johansson <olofj@google.com>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "open list:ARM/Rockchip SoC..." <linux-rockchip@lists.infradead.org>, dmaengine@vger.kernel.org, Sonny Rao <sonnyrao@chromium.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>
X-Original-Date Fri, 28 Aug 2015 07:52:19 +0800
X-Original-Message-ID <55DFA2B3.1010401@rock-chips.com>
X-Original-References <1440685419-22037-1-git-send-email-shawn.lin@rock-chips.com> <1440685481-22163-1-git-send-email-shawn.lin@rock-chips.com> <CAD=FV=Uy8zhPnCQGcks9T-wezcRAohO8Ec3KSLn=Ftr7J1TeSA@mail.gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1215015

Show key headers only | View raw


On 2015/8/28 0:52, Doug Anderson wrote:
> Hi,
>
> On Thu, Aug 27, 2015 at 7:24 AM, Shawn Lin <shawn.lin@rock-chips.com> wrote:
>> From: Addy Ke <addy.ke@rock-chips.com>
>
> Looks like you just added the "From" here.  I think that's fine, but
> better to set the author so you get the right cover letter...
>
>
>> Pl330 integrated in rk3288 platform doesn't support
>> DMAFLUSHP function. So we add broken-no-flushp quirk
>> for it.
>>
>> Signed-off-by: Addy Ke <addy.ke@rock-chips.com>
>> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
>> cc: Heiko Stuebner <heiko@sntech.de>
>> cc: Doug Anderson <dianders@chromium.org>
>> cc: Olof Johansson <olofj@google.com>
>>
>> ---
>>
>> Changes in v1:
>> - rename broken-no-flushp to "arm,pl330-broken-no-flushp" suggested
>>    by Krzysztof.
>> - remove Sunny's tag
>
> Note that typically for patches I see people go from "no v" to "v2".  AKA:
> * PATCH
> * PATCH v2
> * PATCH v3
>
>
>>   arch/arm/boot/dts/rk3288.dtsi | 3 +++
>>   1 file changed, 3 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
>> index 22316d0..106adf7 100644
>> --- a/arch/arm/boot/dts/rk3288.dtsi
>> +++ b/arch/arm/boot/dts/rk3288.dtsi
>> @@ -144,6 +144,7 @@
>>                          #dma-cells = <1>;
>>                          clocks = <&cru ACLK_DMAC2>;
>>                          clock-names = "apb_pclk";
>> +                       arm,pl330-broken-no-flushp;
>
> Note that you should add bindings _before_ the usage of them.  So
> patch #5 (Documentation) needs to come before this one.
>

Cool! That makes sense.
Thanks, Doug.

>>                  };
>>
>>                  dmac_bus_ns: dma-controller@ff600000 {
>> @@ -155,6 +156,7 @@
>>                          clocks = <&cru ACLK_DMAC1>;
>>                          clock-names = "apb_pclk";
>>                          status = "disabled";
>> +                       arm,pl330-broken-no-flushp;
>>                  };
>>
>>                  dmac_bus_s: dma-controller@ffb20000 {
>> @@ -165,6 +167,7 @@
>>                          #dma-cells = <1>;
>>                          clocks = <&cru ACLK_DMAC1>;
>>                          clock-names = "apb_pclk";
>> +                       arm,pl330-broken-no-flushp;
>>                  };
>>          };
>
> Other than the small nits above, this looks fine to me.
>
> Reviewed-by: Douglas Anderson <dianders@chromium.org>
>
>
>


-- 
Best Regards
Shawn Lin

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

[PATCH v1 3/5] ARM: dts: Add arm,pl330-broken-no-flushp quirk for rk3288 platform Shawn Lin <shawn.lin@rock-chips.com> - 2015-08-27 16:30 +0200
  Re: [PATCH v1 3/5] ARM: dts: Add arm, pl330-broken-no-flushp quirk  for rk3288 platform Doug Anderson <dianders@chromium.org> - 2015-08-27 19:00 +0200
    Re: [PATCH v1 3/5] ARM: dts: Add arm, pl330-broken-no-flushp quirk  for rk3288 platform Shawn Lin <shawn.lin@rock-chips.com> - 2015-08-28 02:00 +0200

csiph-web