colibri_t20: enable early pmic rail configuration
PATCH 2/3 colibri_t20: enable early pmic rail configuration
Quoted 4 lines · Stephen Warren
Rather than enable this with yet another
CONFIG_option, perhaps we can put this code into a C file dedicated to thecolibri_t20board, and then have the common code call it (and implement a weak function that does nothing to satisfy the linker on other boards).
I'm fine with that but during my initial investigation I noticed that there are at least 3 to 4 different ways how the early PMIC configuration could be realised just within the Tegra's and your proposal is not even one of them.
PATCH 2/3 colibri_t20: enable early pmic rail configuration
Quoted 11 lines · Marcel Ziswiler
Quoted 4 lines · Stephen Warren
Rather than enable this with yet another
CONFIG_option, perhaps we can put this code into a C file dedicated to thecolibri_t20board, and then have the common code call it (and implement a weak function that does nothing to satisfy the linker on other boards).I'm fine with that but during my initial investigation I noticed that there are at least 3 to 4 different ways how the early PMIC configuration could be realised just within the Tegra's and your proposal is not even one of them.
My proposal has nothing to do with how the PMIC code is implemented, simply where to invoke it. This ensures that board-specific code doesn't get dumped into core files.