On Mon, Nov 30, 2015 at 7:05 AM, Barry Song <21cnbao@xxxxxxxxx> wrote: > From: Wei Chen <Wei.Chen@xxxxxxx> > > Remove write-protect and chip-selector pins from nand pin group. > And then create two separate pin groups for these two pin. > > So the nand driver can choose correct pin groups as board desgin: > For example: > 1. nand without wp&cs: > nand@17050000 { > pinctrl-0 = <&nd_df_basic_pmx>; > }; > 2. nand with wp > nand@17050000 { > pinctrl-0 = <&nd_df_basic_pmx &nd_df_wp_pmx>; > }; > 3. nand with cs: > nand@17050000 { > pinctrl-0 = <&nd_df_basic_pmx &nd_df_cs_pmx>; > }; > 4. nand with wp&cs: > nand@17050000 { > pinctrl-0 = <&nd_df_basic_pmx &nd_df_wp_pmx &nd_df_cs_pmx>; > }; > > Signed-off-by: Wei Chen <Wei.Chen@xxxxxxx> > Signed-off-by: Barry Song <Baohua.Song@xxxxxxx> Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html