On 07/06/2016 06:51 AM, Andi Shyti wrote:
>
> I don't see anything wrong on the above. We could make it as:
> @@ -640,13 +639,7 @@ static void s3c64xx_spi_config(struct
> s3c64xx_spi_driver_data *sdd)
>
> writel(val, regs + S3C64XX_SPI_MODE_CFG);
>
> - if
On 07/06/2016 06:51 AM, Andi Shyti wrote:
>
> I don't see anything wrong on the above. We could make it as:
> @@ -640,13 +639,7 @@ static void s3c64xx_spi_config(struct
> s3c64xx_spi_driver_data *sdd)
>
> writel(val, regs + S3C64XX_SPI_MODE_CFG);
>
> - if
Hi Sylwester,
> +#if 0
> clocks = <_peric CLK_PCLK_SPI1>,
> <_top CLK_SCLK_SPI1_PERIC>;
> +#else
> + clocks = <_peric CLK_PCLK_SPI1>,
> +<_peric CLK_SCLK_SPI1>;
> +#endif
Yes, that's
Hi Sylwester,
> +#if 0
> clocks = <_peric CLK_PCLK_SPI1>,
> <_top CLK_SCLK_SPI1_PERIC>;
> +#else
> + clocks = <_peric CLK_PCLK_SPI1>,
> +<_peric CLK_SCLK_SPI1>;
> +#endif
Yes, that's
On 07/04/2016 12:26 PM, Andi Shyti wrote:
> The single clock lines are not configured in the exynos5433 dts,
> but in the drivers/clk/samsung/clk-exynos5433.c file and it's the
> only place where we can set the flags.
I meant we could amend which clocks are specified at the SPI bus device
DT
On 07/04/2016 12:26 PM, Andi Shyti wrote:
> The single clock lines are not configured in the exynos5433 dts,
> but in the drivers/clk/samsung/clk-exynos5433.c file and it's the
> only place where we can set the flags.
I meant we could amend which clocks are specified at the SPI bus device
DT
Hi Sylwester,
> > GATE(CLK_SCLK_SPI1, "sclk_spi1", "sclk_spi1_peric", ENABLE_SCLK_PERIC,
> > - 4, CLK_IGNORE_UNUSED | CLK_SET_RATE_PARENT, 0),
> > + 4, CLK_IS_CRITICAL | CLK_SET_RATE_PARENT, 0),
>
> As Tomasz pointed out, this should be addressed in the
Hi Sylwester,
> > GATE(CLK_SCLK_SPI1, "sclk_spi1", "sclk_spi1_peric", ENABLE_SCLK_PERIC,
> > - 4, CLK_IGNORE_UNUSED | CLK_SET_RATE_PARENT, 0),
> > + 4, CLK_IS_CRITICAL | CLK_SET_RATE_PARENT, 0),
>
> As Tomasz pointed out, this should be addressed in the
On 06/30/2016 09:15 AM, Andi Shyti wrote:
> The CLK_IGNORE_UNUSED flag has to be avoided whenever possible.
In general I would rather disagree.
> Use the CLK_IS_CRITICAL flag instead for critical SPI1 clocks,
> which enables the clock line during boot time.
>
> Suggested-by: Tomasz Figa
On 06/30/2016 09:15 AM, Andi Shyti wrote:
> The CLK_IGNORE_UNUSED flag has to be avoided whenever possible.
In general I would rather disagree.
> Use the CLK_IS_CRITICAL flag instead for critical SPI1 clocks,
> which enables the clock line during boot time.
>
> Suggested-by: Tomasz Figa
>
The CLK_IGNORE_UNUSED flag has to be avoided whenever possible.
Use the CLK_IS_CRITICAL flag instead for critical SPI1 clocks,
which enables the clock line during boot time.
Suggested-by: Tomasz Figa
Signed-off-by: Andi Shyti
---
The CLK_IGNORE_UNUSED flag has to be avoided whenever possible.
Use the CLK_IS_CRITICAL flag instead for critical SPI1 clocks,
which enables the clock line during boot time.
Suggested-by: Tomasz Figa
Signed-off-by: Andi Shyti
---
drivers/clk/samsung/clk-exynos5433.c | 4 ++--
1 file changed, 2
12 matches
Mail list logo