Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750899AbdCNGHE (ORCPT ); Tue, 14 Mar 2017 02:07:04 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:4097 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1750783AbdCNGHD (ORCPT ); Tue, 14 Mar 2017 02:07:03 -0400 Message-ID: <1489471595.1870.12.camel@mtkswgap22> Subject: Re: [PATCH net-next 1/4] dt-bindings: net: dsa: add Mediatek MT7530 binding From: Sean Wang To: Andrew Lunn CC: , , , , , , , , , , , , Date: Tue, 14 Mar 2017 14:06:35 +0800 In-Reply-To: <20170313163624.GD3953@lunn.ch> References: <1489421488-300-1-git-send-email-sean.wang@mediatek.com> <1489421488-300-2-git-send-email-sean.wang@mediatek.com> <20170313163624.GD3953@lunn.ch> 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 Content-Length: 822 Lines: 29 On Mon, 2017-03-13 at 17:36 +0100, Andrew Lunn wrote: > > +- mediatek,reset-pin: Phandle to the pinctrl node used for the reset. Which > > + must be required if the property mediatek,mcm of specified as > > + "disabled". See > > + Documentation/devicetree/bindings/pinctrl/pinctrl-mt65xx.txt for > > + the mediatek pintcrl setting for the details. > > Hi Sean > > This appears to be a plan GPIO line. Marvell has the same. It would be > nice to be consistent with the naming. From > Documentation/devicetree/bindings/net/dsa/marvell.txt > > Optional properties: > > - reset-gpios : Should be a gpio specifier for a reset line > > Andrew Hi Andrew, I'll change the property into the consistent way, and usage for GPIO control be also used in devm_gpiod_* instead as you suggested for patch 4. Sean