From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH 5/6] reset: hisilicon: Use new driver reset-hi6222 Date: Tue, 22 Nov 2016 09:49:16 +0100 Message-ID: <3837594.jmpXXfpk9Q@wuerfel> References: <1479800961-6249-1-git-send-email-zhangfei.gao@linaro.org> <1479800961-6249-6-git-send-email-zhangfei.gao@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: <1479800961-6249-6-git-send-email-zhangfei.gao-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Zhangfei Gao Cc: Philipp Zabel , Rob Herring , haojian.zhuang-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, xuwei5-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org, Chen Feng , Xinliang Liu , Xia Qing , Jiancheng Xue , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org On Tuesday, November 22, 2016 3:49:20 PM CET Zhangfei Gao wrote: > > -#define PERIPH_RSTDIS0_MMC0 0x000 > -#define PERIPH_RSTDIS0_MMC1 0x001 > -#define PERIPH_RSTDIS0_MMC2 0x002 > -#define PERIPH_RSTDIS0_NANDC 0x003 > -#define PERIPH_RSTDIS0_USBOTG_BUS 0x004 > -#define PERIPH_RSTDIS0_POR_PICOPHY 0x005 > -#define PERIPH_RSTDIS0_USBOTG 0x006 > -#define PERIPH_RSTDIS0_USBOTG_32K 0x007 > -#define PERIPH_RSTDIS1_HIFI 0x100 > -#define PERIPH_RSTDIS1_DIGACODEC 0x105 > +/* reset in sysctrl */ > +#define PERIPH_RSTDIS0_MMC0 0 > +#define PERIPH_RSTDIS0_MMC1 1 > +#define PERIPH_RSTDIS0_MMC2 2 > +#define PERIPH_RSTDIS0_NANDC 3 > +#define PERIPH_RSTDIS0_USBOTG_BUS 4 > +#define PERIPH_RSTDIS0_POR_PICOPHY 5 > +#define PERIPH_RSTDIS0_USBOTG 6 > +#define PERIPH_RSTDIS0_USBOTG_32K 7 > +#define PERIPH_RSTDIS1_HIFI 8 You can't redefined the binding here, this is part of the ABI. You can however add new numbers as long as the old ones keep working. Arnd -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html