From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941190AbdAJDbY (ORCPT ); Mon, 9 Jan 2017 22:31:24 -0500 Received: from regular1.263xmail.com ([211.150.99.138]:47879 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932316AbdAJDbW (ORCPT ); Mon, 9 Jan 2017 22:31:22 -0500 X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 X-RL-SENDER: zhengxing@rock-chips.com X-FST-TO: linux-kernel@vger.kernel.org X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: zhengxing@rock-chips.com X-UNIQUE-TAG: X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 Subject: Re: [PATCH v3] arm64: dts: rockchip: add "rockchip, grf" property for RK3399 PMUCRU/CRU To: Doug Anderson References: <1484011661-13474-1-git-send-email-zhengxing@rock-chips.com> Cc: =?UTF-8?Q?Heiko_St=c3=bcbner?= , "open list:ARM/Rockchip SoC..." , Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Caesar Wang , Shawn Lin , Brian Norris , Jianqun Xu , Elaine Zhang , David Wu , linux-clk , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" From: Xing Zheng Message-ID: <58745576.4010105@rock-chips.com> Date: Tue, 10 Jan 2017 11:31:02 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Doug On 2017年01月10日 11:06, Doug Anderson wrote: > Hi, > > On Mon, Jan 9, 2017 at 5:27 PM, Xing Zheng wrote: >> The structure rockchip_clk_provider needs to refer the GRF regmap >> in somewhere, if the CRU node has not "rockchip,grf" property, >> calling syscon_regmap_lookup_by_phandle will return an invalid GRF >> regmap, and the MUXGRF type clock will be not supported. >> >> Therefore, we need to add them. >> >> Signed-off-by: Xing Zheng >> --- >> >> Changes in v3: >> - add optional roperty rockchip,grf in rockchip,rk3399-cru.txt >> >> Changes in v2: >> - referring pmugrf for PMUGRU >> - fix the typo "invaild" in COMMIT message >> >> Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.txt | 5 +++++ >> arch/arm64/boot/dts/rockchip/rk3399.dtsi | 2 ++ > "dts" and bindings shouldn't change in the same patch since they go > through different trees. This is why I said: > >> This looks sane to me, but before you land it you need to first send >> up a (separate) patch that adjusts: >> -------- > AKA: you need a two patch series here. > > Sometimes it's OK to include bindings together with code changes > (depends on the maintainer), but never with dts changes. > > -Doug For little lazy, I did refer other SoC platform to using "dts" and bindings in the same patch... OK, I will use a two patch series. Thanks > > -- - Xing Zheng