All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Meson (32-bit) multi_v7_defconfig updates
@ 2017-06-11 10:03 ` Martin Blumenstingl
  0 siblings, 0 replies; 14+ messages in thread
From: Martin Blumenstingl @ 2017-06-11 10:03 UTC (permalink / raw)
  To: linux-arm-kernel

This enables the following drivers which are supported on Meson8 and
Meson8b (as well as Meson8m2):
- Meson USB2 PHY driver (USB controller support is provided by dwc2,
  which is already enabled)
- Meson PWM driver (used to dim LEDs and generate the 32.768 kHz LPO
  clock for the SDIO wifi modules)
- the generic PWM clock driver (for the 32.768 kHz LPO clock for the
  SDIO wifi modules)


I am not sure if these patches will go through Kevin's Amlogic tree
or through some other tree. However, these should be independent from
anything else, so it's just a matter of preference through which tree
they go.


Martin Blumenstingl (3):
  ARM: multi_v7_defconfig: enable the Amlogic Meson USB2 PHY driver
  ARM: multi_v7_defconfig: enable the Meson PWM controller
  ARM: multi_v7_defconfig: enable the PWM clock driver

 arch/arm/configs/multi_v7_defconfig | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.13.1

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH 0/3] Meson (32-bit) multi_v7_defconfig updates
@ 2017-06-11 10:03 ` Martin Blumenstingl
  0 siblings, 0 replies; 14+ messages in thread
From: Martin Blumenstingl @ 2017-06-11 10:03 UTC (permalink / raw)
  To: linus-amlogic

This enables the following drivers which are supported on Meson8 and
Meson8b (as well as Meson8m2):
- Meson USB2 PHY driver (USB controller support is provided by dwc2,
  which is already enabled)
- Meson PWM driver (used to dim LEDs and generate the 32.768 kHz LPO
  clock for the SDIO wifi modules)
- the generic PWM clock driver (for the 32.768 kHz LPO clock for the
  SDIO wifi modules)


I am not sure if these patches will go through Kevin's Amlogic tree
or through some other tree. However, these should be independent from
anything else, so it's just a matter of preference through which tree
they go.


Martin Blumenstingl (3):
  ARM: multi_v7_defconfig: enable the Amlogic Meson USB2 PHY driver
  ARM: multi_v7_defconfig: enable the Meson PWM controller
  ARM: multi_v7_defconfig: enable the PWM clock driver

 arch/arm/configs/multi_v7_defconfig | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.13.1

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH 1/3] ARM: multi_v7_defconfig: enable the Amlogic Meson USB2 PHY driver
  2017-06-11 10:03 ` Martin Blumenstingl
@ 2017-06-11 10:03   ` Martin Blumenstingl
  -1 siblings, 0 replies; 14+ messages in thread
From: Martin Blumenstingl @ 2017-06-11 10:03 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 arch/arm/configs/multi_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 2685e03600b1..49f038dcdd7c 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -888,6 +888,7 @@ CONFIG_PHY_BERLIN_SATA=y
 CONFIG_PHY_ROCKCHIP_DP=m
 CONFIG_PHY_ROCKCHIP_USB=y
 CONFIG_PHY_QCOM_APQ8064_SATA=m
+CONFIG_PHY_MESON8B_USB2=y
 CONFIG_PHY_MIPHY28LP=y
 CONFIG_PHY_RCAR_GEN2=m
 CONFIG_PHY_STIH407_USB=y
-- 
2.13.1

^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 1/3] ARM: multi_v7_defconfig: enable the Amlogic Meson USB2 PHY driver
@ 2017-06-11 10:03   ` Martin Blumenstingl
  0 siblings, 0 replies; 14+ messages in thread
From: Martin Blumenstingl @ 2017-06-11 10:03 UTC (permalink / raw)
  To: linus-amlogic

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 arch/arm/configs/multi_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 2685e03600b1..49f038dcdd7c 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -888,6 +888,7 @@ CONFIG_PHY_BERLIN_SATA=y
 CONFIG_PHY_ROCKCHIP_DP=m
 CONFIG_PHY_ROCKCHIP_USB=y
 CONFIG_PHY_QCOM_APQ8064_SATA=m
+CONFIG_PHY_MESON8B_USB2=y
 CONFIG_PHY_MIPHY28LP=y
 CONFIG_PHY_RCAR_GEN2=m
 CONFIG_PHY_STIH407_USB=y
-- 
2.13.1

^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 2/3] ARM: multi_v7_defconfig: enable the Meson PWM controller
  2017-06-11 10:03 ` Martin Blumenstingl
@ 2017-06-11 10:03   ` Martin Blumenstingl
  -1 siblings, 0 replies; 14+ messages in thread
From: Martin Blumenstingl @ 2017-06-11 10:03 UTC (permalink / raw)
  To: linux-arm-kernel

This enables the Amlogic Meson PWM controller. It is used for a dimmable
LED on some devices. Additionally some devices use it to generate the
32.768 kHz (low power oscillator) clock.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 arch/arm/configs/multi_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 49f038dcdd7c..abbe288a5134 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -870,6 +870,7 @@ CONFIG_PWM_ATMEL=m
 CONFIG_PWM_ATMEL_HLCDC_PWM=m
 CONFIG_PWM_ATMEL_TCB=m
 CONFIG_PWM_FSL_FTM=m
+CONFIG_PWM_MESON=y
 CONFIG_PWM_RENESAS_TPU=y
 CONFIG_PWM_ROCKCHIP=m
 CONFIG_PWM_SAMSUNG=m
-- 
2.13.1

^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 2/3] ARM: multi_v7_defconfig: enable the Meson PWM controller
@ 2017-06-11 10:03   ` Martin Blumenstingl
  0 siblings, 0 replies; 14+ messages in thread
From: Martin Blumenstingl @ 2017-06-11 10:03 UTC (permalink / raw)
  To: linus-amlogic

This enables the Amlogic Meson PWM controller. It is used for a dimmable
LED on some devices. Additionally some devices use it to generate the
32.768 kHz (low power oscillator) clock.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 arch/arm/configs/multi_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 49f038dcdd7c..abbe288a5134 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -870,6 +870,7 @@ CONFIG_PWM_ATMEL=m
 CONFIG_PWM_ATMEL_HLCDC_PWM=m
 CONFIG_PWM_ATMEL_TCB=m
 CONFIG_PWM_FSL_FTM=m
+CONFIG_PWM_MESON=y
 CONFIG_PWM_RENESAS_TPU=y
 CONFIG_PWM_ROCKCHIP=m
 CONFIG_PWM_SAMSUNG=m
-- 
2.13.1

^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 3/3] ARM: multi_v7_defconfig: enable the PWM clock driver
  2017-06-11 10:03 ` Martin Blumenstingl
@ 2017-06-11 10:03   ` Martin Blumenstingl
  -1 siblings, 0 replies; 14+ messages in thread
From: Martin Blumenstingl @ 2017-06-11 10:03 UTC (permalink / raw)
  To: linux-arm-kernel

This enables the PWM clock driver (using the common clock and PWM
frameworks) which is used on many devices with Amlogic Meson SoCs to
generate the 32.768 kHz clock for the wireless SDIO chip.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 arch/arm/configs/multi_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index abbe288a5134..a2cd88d7f56e 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -835,6 +835,7 @@ CONFIG_STAGING_BOARD=y
 CONFIG_CROS_EC_CHARDEV=m
 CONFIG_COMMON_CLK_MAX77686=y
 CONFIG_COMMON_CLK_MAX77802=m
+CONFIG_COMMON_CLK_PWM=y
 CONFIG_COMMON_CLK_RK808=m
 CONFIG_COMMON_CLK_S2MPS11=m
 CONFIG_APQ_MMCC_8084=y
-- 
2.13.1

^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 3/3] ARM: multi_v7_defconfig: enable the PWM clock driver
@ 2017-06-11 10:03   ` Martin Blumenstingl
  0 siblings, 0 replies; 14+ messages in thread
From: Martin Blumenstingl @ 2017-06-11 10:03 UTC (permalink / raw)
  To: linus-amlogic

This enables the PWM clock driver (using the common clock and PWM
frameworks) which is used on many devices with Amlogic Meson SoCs to
generate the 32.768 kHz clock for the wireless SDIO chip.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 arch/arm/configs/multi_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index abbe288a5134..a2cd88d7f56e 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -835,6 +835,7 @@ CONFIG_STAGING_BOARD=y
 CONFIG_CROS_EC_CHARDEV=m
 CONFIG_COMMON_CLK_MAX77686=y
 CONFIG_COMMON_CLK_MAX77802=m
+CONFIG_COMMON_CLK_PWM=y
 CONFIG_COMMON_CLK_RK808=m
 CONFIG_COMMON_CLK_S2MPS11=m
 CONFIG_APQ_MMCC_8084=y
-- 
2.13.1

^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 0/3] Meson (32-bit) multi_v7_defconfig updates
  2017-06-11 10:03 ` Martin Blumenstingl
@ 2017-06-12  7:38   ` Neil Armstrong
  -1 siblings, 0 replies; 14+ messages in thread
From: Neil Armstrong @ 2017-06-12  7:38 UTC (permalink / raw)
  To: linux-arm-kernel

On 06/11/2017 12:03 PM, Martin Blumenstingl wrote:
> This enables the following drivers which are supported on Meson8 and
> Meson8b (as well as Meson8m2):
> - Meson USB2 PHY driver (USB controller support is provided by dwc2,
>   which is already enabled)
> - Meson PWM driver (used to dim LEDs and generate the 32.768 kHz LPO
>   clock for the SDIO wifi modules)
> - the generic PWM clock driver (for the 32.768 kHz LPO clock for the
>   SDIO wifi modules)
> 
> 
> I am not sure if these patches will go through Kevin's Amlogic tree
> or through some other tree. However, these should be independent from
> anything else, so it's just a matter of preference through which tree
> they go.
> 
> 
> Martin Blumenstingl (3):
>   ARM: multi_v7_defconfig: enable the Amlogic Meson USB2 PHY driver
>   ARM: multi_v7_defconfig: enable the Meson PWM controller
>   ARM: multi_v7_defconfig: enable the PWM clock driver
> 
>  arch/arm/configs/multi_v7_defconfig | 3 +++
>  1 file changed, 3 insertions(+)
> 


Hi Martin,

Isn't it better to have these as modules like for the ARM64 counterpart ?

Thanks,
Neil

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH 0/3] Meson (32-bit) multi_v7_defconfig updates
@ 2017-06-12  7:38   ` Neil Armstrong
  0 siblings, 0 replies; 14+ messages in thread
From: Neil Armstrong @ 2017-06-12  7:38 UTC (permalink / raw)
  To: linus-amlogic

On 06/11/2017 12:03 PM, Martin Blumenstingl wrote:
> This enables the following drivers which are supported on Meson8 and
> Meson8b (as well as Meson8m2):
> - Meson USB2 PHY driver (USB controller support is provided by dwc2,
>   which is already enabled)
> - Meson PWM driver (used to dim LEDs and generate the 32.768 kHz LPO
>   clock for the SDIO wifi modules)
> - the generic PWM clock driver (for the 32.768 kHz LPO clock for the
>   SDIO wifi modules)
> 
> 
> I am not sure if these patches will go through Kevin's Amlogic tree
> or through some other tree. However, these should be independent from
> anything else, so it's just a matter of preference through which tree
> they go.
> 
> 
> Martin Blumenstingl (3):
>   ARM: multi_v7_defconfig: enable the Amlogic Meson USB2 PHY driver
>   ARM: multi_v7_defconfig: enable the Meson PWM controller
>   ARM: multi_v7_defconfig: enable the PWM clock driver
> 
>  arch/arm/configs/multi_v7_defconfig | 3 +++
>  1 file changed, 3 insertions(+)
> 


Hi Martin,

Isn't it better to have these as modules like for the ARM64 counterpart ?

Thanks,
Neil

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH 0/3] Meson (32-bit) multi_v7_defconfig updates
  2017-06-12  7:38   ` Neil Armstrong
@ 2017-06-14 21:36     ` Martin Blumenstingl
  -1 siblings, 0 replies; 14+ messages in thread
From: Martin Blumenstingl @ 2017-06-14 21:36 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Neil,

On Mon, Jun 12, 2017 at 9:38 AM, Neil Armstrong <narmstrong@baylibre.com> wrote:
> On 06/11/2017 12:03 PM, Martin Blumenstingl wrote:
>> This enables the following drivers which are supported on Meson8 and
>> Meson8b (as well as Meson8m2):
>> - Meson USB2 PHY driver (USB controller support is provided by dwc2,
>>   which is already enabled)
>> - Meson PWM driver (used to dim LEDs and generate the 32.768 kHz LPO
>>   clock for the SDIO wifi modules)
>> - the generic PWM clock driver (for the 32.768 kHz LPO clock for the
>>   SDIO wifi modules)
>>
>>
>> I am not sure if these patches will go through Kevin's Amlogic tree
>> or through some other tree. However, these should be independent from
>> anything else, so it's just a matter of preference through which tree
>> they go.
>>
>>
>> Martin Blumenstingl (3):
>>   ARM: multi_v7_defconfig: enable the Amlogic Meson USB2 PHY driver
>>   ARM: multi_v7_defconfig: enable the Meson PWM controller
>>   ARM: multi_v7_defconfig: enable the PWM clock driver
>>
>>  arch/arm/configs/multi_v7_defconfig | 3 +++
>>  1 file changed, 3 insertions(+)
>>
>
>
> Hi Martin,
>
> Isn't it better to have these as modules like for the ARM64 counterpart ?
indeed, I will look into this - thanks for the hint

PS: I will also re-check if enabling CONFIG_PHY_MESON8B_USB2 is
requires, since it defaults to ARCH_MESON (which means it should
default to "y" automatically, which is also why we don't have it in
arch/arm64/configs/defconfig)


Regards,
Martin

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH 0/3] Meson (32-bit) multi_v7_defconfig updates
@ 2017-06-14 21:36     ` Martin Blumenstingl
  0 siblings, 0 replies; 14+ messages in thread
From: Martin Blumenstingl @ 2017-06-14 21:36 UTC (permalink / raw)
  To: linus-amlogic

Hi Neil,

On Mon, Jun 12, 2017 at 9:38 AM, Neil Armstrong <narmstrong@baylibre.com> wrote:
> On 06/11/2017 12:03 PM, Martin Blumenstingl wrote:
>> This enables the following drivers which are supported on Meson8 and
>> Meson8b (as well as Meson8m2):
>> - Meson USB2 PHY driver (USB controller support is provided by dwc2,
>>   which is already enabled)
>> - Meson PWM driver (used to dim LEDs and generate the 32.768 kHz LPO
>>   clock for the SDIO wifi modules)
>> - the generic PWM clock driver (for the 32.768 kHz LPO clock for the
>>   SDIO wifi modules)
>>
>>
>> I am not sure if these patches will go through Kevin's Amlogic tree
>> or through some other tree. However, these should be independent from
>> anything else, so it's just a matter of preference through which tree
>> they go.
>>
>>
>> Martin Blumenstingl (3):
>>   ARM: multi_v7_defconfig: enable the Amlogic Meson USB2 PHY driver
>>   ARM: multi_v7_defconfig: enable the Meson PWM controller
>>   ARM: multi_v7_defconfig: enable the PWM clock driver
>>
>>  arch/arm/configs/multi_v7_defconfig | 3 +++
>>  1 file changed, 3 insertions(+)
>>
>
>
> Hi Martin,
>
> Isn't it better to have these as modules like for the ARM64 counterpart ?
indeed, I will look into this - thanks for the hint

PS: I will also re-check if enabling CONFIG_PHY_MESON8B_USB2 is
requires, since it defaults to ARCH_MESON (which means it should
default to "y" automatically, which is also why we don't have it in
arch/arm64/configs/defconfig)


Regards,
Martin

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH 0/3] Meson (32-bit) multi_v7_defconfig updates
  2017-06-12  7:38   ` Neil Armstrong
@ 2017-06-16 17:52     ` Kevin Hilman
  -1 siblings, 0 replies; 14+ messages in thread
From: Kevin Hilman @ 2017-06-16 17:52 UTC (permalink / raw)
  To: linux-arm-kernel

Neil Armstrong <narmstrong@baylibre.com> writes:

> On 06/11/2017 12:03 PM, Martin Blumenstingl wrote:
>> This enables the following drivers which are supported on Meson8 and
>> Meson8b (as well as Meson8m2):
>> - Meson USB2 PHY driver (USB controller support is provided by dwc2,
>>   which is already enabled)
>> - Meson PWM driver (used to dim LEDs and generate the 32.768 kHz LPO
>>   clock for the SDIO wifi modules)
>> - the generic PWM clock driver (for the 32.768 kHz LPO clock for the
>>   SDIO wifi modules)
>> 
>> 
>> I am not sure if these patches will go through Kevin's Amlogic tree
>> or through some other tree. However, these should be independent from
>> anything else, so it's just a matter of preference through which tree
>> they go.
>> 
>> 
>> Martin Blumenstingl (3):
>>   ARM: multi_v7_defconfig: enable the Amlogic Meson USB2 PHY driver
>>   ARM: multi_v7_defconfig: enable the Meson PWM controller
>>   ARM: multi_v7_defconfig: enable the PWM clock driver
>> 
>>  arch/arm/configs/multi_v7_defconfig | 3 +++
>>  1 file changed, 3 insertions(+)
>> 
>
>
> Hi Martin,
>
> Isn't it better to have these as modules like for the ARM64 counterpart ?
>

+1  Please enable as modules wherever possible.

Thanks,

Kevin

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH 0/3] Meson (32-bit) multi_v7_defconfig updates
@ 2017-06-16 17:52     ` Kevin Hilman
  0 siblings, 0 replies; 14+ messages in thread
From: Kevin Hilman @ 2017-06-16 17:52 UTC (permalink / raw)
  To: linus-amlogic

Neil Armstrong <narmstrong@baylibre.com> writes:

> On 06/11/2017 12:03 PM, Martin Blumenstingl wrote:
>> This enables the following drivers which are supported on Meson8 and
>> Meson8b (as well as Meson8m2):
>> - Meson USB2 PHY driver (USB controller support is provided by dwc2,
>>   which is already enabled)
>> - Meson PWM driver (used to dim LEDs and generate the 32.768 kHz LPO
>>   clock for the SDIO wifi modules)
>> - the generic PWM clock driver (for the 32.768 kHz LPO clock for the
>>   SDIO wifi modules)
>> 
>> 
>> I am not sure if these patches will go through Kevin's Amlogic tree
>> or through some other tree. However, these should be independent from
>> anything else, so it's just a matter of preference through which tree
>> they go.
>> 
>> 
>> Martin Blumenstingl (3):
>>   ARM: multi_v7_defconfig: enable the Amlogic Meson USB2 PHY driver
>>   ARM: multi_v7_defconfig: enable the Meson PWM controller
>>   ARM: multi_v7_defconfig: enable the PWM clock driver
>> 
>>  arch/arm/configs/multi_v7_defconfig | 3 +++
>>  1 file changed, 3 insertions(+)
>> 
>
>
> Hi Martin,
>
> Isn't it better to have these as modules like for the ARM64 counterpart ?
>

+1  Please enable as modules wherever possible.

Thanks,

Kevin

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-06-16 17:52 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-11 10:03 [PATCH 0/3] Meson (32-bit) multi_v7_defconfig updates Martin Blumenstingl
2017-06-11 10:03 ` Martin Blumenstingl
2017-06-11 10:03 ` [PATCH 1/3] ARM: multi_v7_defconfig: enable the Amlogic Meson USB2 PHY driver Martin Blumenstingl
2017-06-11 10:03   ` Martin Blumenstingl
2017-06-11 10:03 ` [PATCH 2/3] ARM: multi_v7_defconfig: enable the Meson PWM controller Martin Blumenstingl
2017-06-11 10:03   ` Martin Blumenstingl
2017-06-11 10:03 ` [PATCH 3/3] ARM: multi_v7_defconfig: enable the PWM clock driver Martin Blumenstingl
2017-06-11 10:03   ` Martin Blumenstingl
2017-06-12  7:38 ` [PATCH 0/3] Meson (32-bit) multi_v7_defconfig updates Neil Armstrong
2017-06-12  7:38   ` Neil Armstrong
2017-06-14 21:36   ` Martin Blumenstingl
2017-06-14 21:36     ` Martin Blumenstingl
2017-06-16 17:52   ` Kevin Hilman
2017-06-16 17:52     ` Kevin Hilman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.