ARM: tegra: remove stale nvidia, bpmp I2C DT property
authorStephen Warren <swarren@nvidia.com>
Mon, 22 Aug 2016 22:46:55 +0000 (16:46 -0600)
committerTom Warren <twarren@nvidia.com>
Thu, 25 Aug 2016 20:48:11 +0000 (13:48 -0700)
The nvidia,bpmp property is left over from an old BPMP I2C binding, and
shouldn't be present. Remove it from the SoC DT file, and update the
I2C driver not to parse it; the value wasn't used for anything any more
anyway.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/dts/tegra186.dtsi
drivers/i2c/tegra186_bpmp_i2c.c

index 65ff4246c01e511618c48ea53afa06178109de44..f878b65325101859b7205ebc93a5cacead2194f2 100644 (file)
 
                bpmp_i2c: i2c {
                        compatible = "nvidia,tegra186-bpmp-i2c";
-                       nvidia,bpmp = <&bpmp>;
                        nvidia,bpmp-bus-id = <5>;
                        #address-cells = <1>;
                        #size-cells = <0>;
index 88e8413d9e07fc6e58ca63e45b3017cbbc52213f..513c414ae38aed82fb7aaab6ff0e44288d89b496 100644 (file)
@@ -89,16 +89,6 @@ static int tegra186_bpmp_i2c_xfer(struct udevice *dev, struct i2c_msg *msg,
 static int tegra186_bpmp_i2c_probe(struct udevice *dev)
 {
        struct tegra186_bpmp_i2c *priv = dev_get_priv(dev);
-       int ret;
-       struct fdtdec_phandle_args args;
-
-       ret = fdtdec_parse_phandle_with_args(gd->fdt_blob, dev->of_offset,
-                                            "nvidia,bpmp", NULL, 0, 0, &args);
-       if (ret < 0) {
-               debug("%s: fdtdec_parse_phandle_with_args() failed: %d\n",
-                     __func__, ret);
-               return ret;
-       }
 
        priv->bpmp_bus_id = fdtdec_get_uint(gd->fdt_blob, dev->of_offset,
                                            "nvidia,bpmp-bus-id", U32_MAX);