arm: tegra: soc device registration
Ken Adams [Wed, 17 Oct 2012 21:03:24 +0000 (17:03 -0400)]
change follows http://git-master/r/134381
soc_device_register() for getting soc machine, family,revision
and soc_id.

Change-Id: I4ad76d52c8c7f20e3b1e6deaa425b324a3f5bb2d
Signed-off-by: Ken Adams <kadams@nvidia.com>
Reviewed-on: http://git-master/r/145366
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jeff Smith <jsmith@nvidia.com>

arch/arm/mach-tegra/board-bonaire.c

index 875acfd..14c5344 100644 (file)
@@ -156,7 +156,7 @@ static struct i2c_board_info __initdata bonaire_i2c_bus1_board_info[] = {
 static struct tegra_i2c_platform_data bonaire_i2c1_platform_data = {
        .adapter_nr     = 0,
        .bus_count      = 1,
-       .bus_clk_rate   = 100000,
+       .bus_clk_rate   = { 100000, 0 },
 };
 
 #if 0  /* !!!FIXME!!! THESE ARE VENTANA SETTINGS */
@@ -446,7 +446,7 @@ static struct tegra_usb_platform_data tegra_ehci1_utmi_pdata = {
        .op_mode = TEGRA_USB_OPMODE_HOST,
        .u_data.host = {
                .vbus_gpio = -1,
-               .vbus_reg = "vdd_vbus_micro_usb",
+               /*.vbus_reg = "vdd_vbus_micro_usb",*/
                .hot_plug = true,
                .remote_wakeup_supported = true,
                .power_off_on_suspend = true,
@@ -495,7 +495,7 @@ static struct tegra_usb_platform_data tegra_ehci3_utmi_pdata = {
        .op_mode         = TEGRA_USB_OPMODE_HOST,
        .u_data.host = {
                .vbus_gpio = -1,
-               .vbus_reg = "vdd_vbus_typea_usb",
+               /*.vbus_reg = "vdd_vbus_typea_usb",*/
                .hot_plug = true,
                .remote_wakeup_supported = true,
                .power_off_on_suspend = true,
@@ -530,6 +530,7 @@ static void __init tegra_bonaire_init(void)
        tegra_clk_init_from_table(bonaire_clk_init_table);
        tegra_enable_pinmux();
        bonaire_pinmux_init();
+       tegra_soc_device_init("bonaire");
 
        if (tegra_revision == TEGRA_REVISION_QT)
                debug_uart_platform_data[0].uartclk =