Re: [PATCH v3] of: replace Asahi Kasei Corp venter prefix

Arnd Bergmann
2014-11-14T09:16:38Z

On Friday 14 November 2014 17:38:58 Alexandre Courbot wrote:
> > diff --git a/arch/arm/boot/dts/tegra20-seaboard.dts b/arch/arm/boot/dts/tegra20-seaboard.dts
> > index a1d4bf9..7f5cf80 100644
> > --- a/arch/arm/boot/dts/tegra20-seaboard.dts
> > +++ b/arch/arm/boot/dts/tegra20-seaboard.dts
> > @@ -405,7 +405,7 @@
> > clock-frequency = <400000>;
> >
> > magnetometer@c {
> > - compatible = "ak,ak8975";
> > + compatible = "asahi-kasei,ak8975";
>
> Mmm. So does this mean this device was never probed because the driver
> did not recognize its compatible property? I cannot find "ak,ak8975"
> anywhere else in the kernel.
>

No, the i2c bus behaves in a special way by matching the "ak8975"
i2c driver name with any "*,ak8975" DT compatible string. Both
of the above will work with existing kernels.

Arnd