summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/tegra124-cpufreq.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2021-12-23 15:41:16 +0100
committerGeert Uytterhoeven <geert+renesas@glider.be>2022-02-22 09:55:56 +0100
commit496da1003721bdaf03f6d65c66fd3ddb7c5aad53 (patch)
treee66015dabcef27769fa6bde9c26ba3a3999854f5 /drivers/cpufreq/tegra124-cpufreq.c
parent49a7a2742580ccd6194fc2bb26e6777cba9cac58 (diff)
pinctrl: renesas: Add generic support for resizable buses
The VIN_DATA_PIN_GROUP() macro and vin_data{12,16,} unions are used to define multiple VIN data groups with different numbers of lanes, while referring to a single array of data pins, thus saving memory. However, the same feature would be useful for other resizable buses, like MMC, SDHI, QSPI, LCD, BSC, ... Rework the mechanism for generic use: - Use the new SH_PFC_PIN_GROUP_SUBSET() helper to remove the need for bus-specific unions, - Rename VIN_DATA_PIN_GROUP() to BUS_DATA_PIN_GROUP(), - Rename the macro parameters to better reflect their purposes, - Move the macro up, where it belongs. Update all individual pin control drivers for the above changes. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/cccfcfd01eb8ab7a587b084c4ddbf97293bd7291.1640269757.git.geert+renesas@glider.be
Diffstat (limited to 'drivers/cpufreq/tegra124-cpufreq.c')
0 files changed, 0 insertions, 0 deletions