Re: [PATCH 2/4] ARM: dts: dm8168-evm: add the external reference clock for SATA

2017-03-14 Thread Tony Lindgren
* Bartosz Golaszewski  [170314 08:03]:
> 2017-03-13 22:34 GMT+01:00 Tony Lindgren :
> > * Bartosz Golaszewski  [170313 09:45]:
> >> This board has an external oscillator supplying the reference clock
> >> signal for SATA. Its rate is fixed at 100Mhz. Add a corresponding
> >> device tree node.
> >
> > Is this the 100MHz clock from PCIe? Just like on dm814x-evm as noted
> > in the workaround thread below:
> >
> > http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/181083/671141
> >
> > Regards,
> >
> > Tony
> >
> 
> Hi Tony,
> 
> these signals come from a TI CDCM61002 (U30 on the board's
> schematics). It's hardwired to 100mHZ output.

Oh OK thanks.

Tony


Re: [PATCH 2/4] ARM: dts: dm8168-evm: add the external reference clock for SATA

2017-03-14 Thread Bartosz Golaszewski
2017-03-13 22:34 GMT+01:00 Tony Lindgren :
> * Bartosz Golaszewski  [170313 09:45]:
>> This board has an external oscillator supplying the reference clock
>> signal for SATA. Its rate is fixed at 100Mhz. Add a corresponding
>> device tree node.
>
> Is this the 100MHz clock from PCIe? Just like on dm814x-evm as noted
> in the workaround thread below:
>
> http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/181083/671141
>
> Regards,
>
> Tony
>

Hi Tony,

these signals come from a TI CDCM61002 (U30 on the board's
schematics). It's hardwired to 100mHZ output.

Thanks,
Bartosz Golaszewski


Re: [PATCH 2/4] ARM: dts: dm8168-evm: add the external reference clock for SATA

2017-03-13 Thread Tony Lindgren
* Bartosz Golaszewski  [170313 09:45]:
> This board has an external oscillator supplying the reference clock
> signal for SATA. Its rate is fixed at 100Mhz. Add a corresponding
> device tree node.

Is this the 100MHz clock from PCIe? Just like on dm814x-evm as noted
in the workaround thread below:

http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/181083/671141

Regards,

Tony

> Signed-off-by: Bartosz Golaszewski 
> ---
>  arch/arm/boot/dts/dm8168-evm.dts | 6 ++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/dm8168-evm.dts 
> b/arch/arm/boot/dts/dm8168-evm.dts
> index 0bf55fa..f13e214 100644
> --- a/arch/arm/boot/dts/dm8168-evm.dts
> +++ b/arch/arm/boot/dts/dm8168-evm.dts
> @@ -25,6 +25,12 @@
>   regulator-min-microvolt = <330>;
>   regulator-max-microvolt = <330>;
>   };
> +
> + sata_refclk: fixedclock0 {
> + #clock-cells = <0>;
> + compatible = "fixed-clock";
> + clock-frequency = <1>;
> + };
>  };
>  
>  &dm816x_pinmux {
> -- 
> 2.9.3
> 


[PATCH 2/4] ARM: dts: dm8168-evm: add the external reference clock for SATA

2017-03-13 Thread Bartosz Golaszewski
This board has an external oscillator supplying the reference clock
signal for SATA. Its rate is fixed at 100Mhz. Add a corresponding
device tree node.

Signed-off-by: Bartosz Golaszewski 
---
 arch/arm/boot/dts/dm8168-evm.dts | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/dm8168-evm.dts b/arch/arm/boot/dts/dm8168-evm.dts
index 0bf55fa..f13e214 100644
--- a/arch/arm/boot/dts/dm8168-evm.dts
+++ b/arch/arm/boot/dts/dm8168-evm.dts
@@ -25,6 +25,12 @@
regulator-min-microvolt = <330>;
regulator-max-microvolt = <330>;
};
+
+   sata_refclk: fixedclock0 {
+   #clock-cells = <0>;
+   compatible = "fixed-clock";
+   clock-frequency = <1>;
+   };
 };
 
 &dm816x_pinmux {
-- 
2.9.3