• Wei Chen's avatar
    pinctrl: atlas7: adjust pin groups of atlas7 nanddisk · d166629c
    Wei Chen authored
    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: default avatarWei Chen <Wei.Chen@csr.com>
    Signed-off-by: default avatarBarry Song <Baohua.Song@csr.com>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    d166629c
pinctrl-atlas7.c 198 KB