From dde73ef3b7996d9687b829ada97a201db5712efa Mon Sep 17 00:00:00 2001 From: Rhyland Klein Date: Thu, 7 Apr 2016 16:55:37 -0400 Subject: soc: Add support for Parked bits for Tegra210 Tegra210 has a parked bit for each pin. Add code to express this by updating the kernel driver MACROs to add in parked_* fields so that the kernel can handle them as it sees fit. Signed-off-by: Rhyland Klein Signed-off-by: Stephen Warren --- configs/tegra114.soc | 3 +++ configs/tegra124.soc | 3 +++ configs/tegra210.soc | 3 +++ configs/tegra30.soc | 3 +++ 4 files changed, 12 insertions(+) (limited to 'configs') diff --git a/configs/tegra114.soc b/configs/tegra114.soc index 64454c0..dd47072 100644 --- a/configs/tegra114.soc +++ b/configs/tegra114.soc @@ -13,6 +13,7 @@ soc_drvgroups_have_hsm = True soc_drvgroups_have_lpmd = True soc_drvgroups_have_schmitt = True soc_pins_all_have_od = False +soc_pins_all_have_parked = False soc_pins_all_have_schmitt = False soc_pins_have_drvtype = False soc_pins_have_e_io_hv = False @@ -24,6 +25,8 @@ soc_pins_have_schmitt = False soc_drv_reg_base = 0x868 soc_einput_b = 5 soc_odrain_b = 6 +soc_parked_bank = 0 +soc_parked_bit = 0 gpios = ( #name, gpio, reg, f0, f1, f2, f3, od, ior, rcv_sel diff --git a/configs/tegra124.soc b/configs/tegra124.soc index aaeaab8..6e8762c 100644 --- a/configs/tegra124.soc +++ b/configs/tegra124.soc @@ -14,6 +14,7 @@ soc_drvgroups_have_hsm = True soc_drvgroups_have_lpmd = True soc_drvgroups_have_schmitt = True soc_pins_all_have_od = False +soc_pins_all_have_parked = False soc_pins_all_have_schmitt = False soc_pins_have_drvtype = False soc_pins_have_e_io_hv = False @@ -26,6 +27,8 @@ soc_drv_reg_base = 0x868 soc_mipipadctrl_reg_base = 0x820 soc_einput_b = 5 soc_odrain_b = 6 +soc_parked_bank = 0 +soc_parked_bit = 0 gpios = ( #name, gpio, reg, f0, f1, f2, f3, od, ior, rcv_sel diff --git a/configs/tegra210.soc b/configs/tegra210.soc index 786b095..25e4618 100644 --- a/configs/tegra210.soc +++ b/configs/tegra210.soc @@ -10,6 +10,7 @@ soc_drvgroups_have_hsm = False soc_drvgroups_have_lpmd = False soc_drvgroups_have_schmitt = False soc_pins_all_have_od = True +soc_pins_all_have_parked = True soc_pins_all_have_schmitt = True soc_pins_have_drvtype = True soc_pins_have_e_io_hv = True @@ -21,6 +22,8 @@ soc_pins_have_schmitt = True soc_drv_reg_base = 0x8d4 soc_einput_b = 6 soc_odrain_b = 11 +soc_parked_bank = 1 +soc_parked_bit = 5 gpios = ( #name, gpio, reg, f0, f1, f2, f3, hsm, drvtype, e_io_hv diff --git a/configs/tegra30.soc b/configs/tegra30.soc index fd6c6ad..ff57b45 100644 --- a/configs/tegra30.soc +++ b/configs/tegra30.soc @@ -10,6 +10,7 @@ soc_drvgroups_have_hsm = True soc_drvgroups_have_lpmd = True soc_drvgroups_have_schmitt = True soc_pins_all_have_od = False +soc_pins_all_have_parked = False soc_pins_all_have_schmitt = False soc_pins_have_drvtype = False soc_pins_have_e_io_hv = False @@ -21,6 +22,8 @@ soc_pins_have_schmitt = False soc_drv_reg_base = 0x868 soc_einput_b = 5 soc_odrain_b = 6 +soc_parked_bank = 0 +soc_parked_bit = 0 gpios = ( #name, gpio, reg, f0, f1, f2, f3, od, ior -- cgit v1.2.1