[PATCH v2] mtd: atmel_nand: move the hsmc_clk from nfc node to nand node

2016-02-17 Thread Wenyou Yang
From: Josh Wu For sama5d3, sama5d4 chip, the pmecc becomes a part of HSMC, they need the HSMC clock to be enabled to work. The NFC is a sub feature for current nand driver, it can be disabled. But if HSMC clock is controlled by NFC, so disable NFC will also disable the HSMC

[PATCH v2] mtd: atmel_nand: move the hsmc_clk from nfc node to nand node

2016-02-17 Thread Wenyou Yang
From: Josh Wu For sama5d3, sama5d4 chip, the pmecc becomes a part of HSMC, they need the HSMC clock to be enabled to work. The NFC is a sub feature for current nand driver, it can be disabled. But if HSMC clock is controlled by NFC, so disable NFC will also disable the HSMC clock. then, it will