On 10/16/2013 04:57 AM, Thierry Reding wrote:
> On Tue, Oct 15, 2013 at 02:41:44PM -0600, Stephen Warren wrote:
>> On 10/15/2013 09:27 AM, Thierry Reding wrote:
>>> Add a device node for the MIPI calibration block on Tegra114.
>>> There is no need to disable it by default because it only
>>> enables the clock while performing calibration and therefore
>>> shouldn't be consuming any power when unused.
>> 
>>> diff --git a/arch/arm/boot/dts/tegra114.dtsi
>>> b/arch/arm/boot/dts/tegra114.dtsi
>> 
>>> +   mipi: mipi { +          compatible = "nvidia,tegra114-mipi"; +          
>>> reg =
>>> <0x700e3000 0x100>; +               clocks = <&tegra_car
>>> TEGRA114_CLK_MIPI_CAL>; +           #calibrate-cells = <1>;

Oh, one thing I wonder about: #gpio-cells is a generic property that
applies to any GPIO user, and hence has a generic name.
#calibrate-cells here doesn't fall into the same class. Do we need a
more unique property name, such as #nvidia,mipi-calibrate-cells, and
equally for the consumer to use nvidia,mipi-calibrate as the property
that references the MIPI device, rather than the generic-sounding
"calibrate"?
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to