From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751667AbcFCGqD (ORCPT ); Fri, 3 Jun 2016 02:46:03 -0400 Received: from mailgw02.mediatek.com ([218.249.47.111]:57666 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751082AbcFCGqA (ORCPT ); Fri, 3 Jun 2016 02:46:00 -0400 Message-ID: <1464936349.5209.9.camel@mhfsdcap03> Subject: Re: [PATCH 1/3] dt-bindings: pwm: Add MediaTek display PWM bindings From: weiqing kong To: Rob Herring CC: Thierry Reding , Mark Rutland , Matthias Brugger , "Pawel Moll" , Ian Campbell , Kumar Gala , Russell King , , , , , , , Sascha Hauer , , , , , Date: Fri, 3 Jun 2016 14:45:49 +0800 In-Reply-To: <20160602224550.GA19256@rob-hp-laptop> References: <1464597712-5399-1-git-send-email-weiqing.kong@mediatek.com> <1464597712-5399-2-git-send-email-weiqing.kong@mediatek.com> <20160602224550.GA19256@rob-hp-laptop> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2016-06-02 at 17:45 -0500, Rob Herring wrote: > On Mon, May 30, 2016 at 04:41:50PM +0800, Weiqing Kong wrote: > > Add MT2701 compatible string. > > > > Signed-off-by: Weiqing Kong > > --- > > Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt | 5 +++-- > > 1 file changed, 3 insertions(+), 2 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt b/Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt > > index f8f59ba..f2f2fa9 100644 > > --- a/Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt > > +++ b/Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt > > @@ -1,9 +1,10 @@ > > MediaTek display PWM controller > > > > Required properties: > > - - compatible: should be "mediatek,-disp-pwm": > > - - "mediatek,mt8173-disp-pwm": found on mt8173 SoC. > > + - compatible: should be like these: > > + - "mediatek,mt2701-disp-bls": found on mt2701 SoC. > > Why bls instead of pwm? In mt6595/mt8173, we have a hardware module named pwm. In mt2701, we have bls hardware module which includes disp pwm function, so we named it mt2701-disp-bls rather than mt2701-disp-pwm in order to match with hardware spec. thanks. > > > - "mediatek,mt6595-disp-pwm": found on mt6595 SoC. > > + - "mediatek,mt8173-disp-pwm": found on mt8173 SoC. > > - reg: physical base address and length of the controller's registers. > > - #pwm-cells: must be 2. See pwm.txt in this directory for a description of > > the cell format. > > -- > > 1.8.1.1.dirty > >