From: Daniel Palmer <hidden> Date: 2021-07-17 04:57:07
This is a little series to add a compatible string for the Sigmastar
SSD201 and SSD202D to the msc313 gpio driver, add the specific offsets
for the pins on these chips, and then a bunch of DT wiring stuff so
that the LEDs on the M5 stack unitv2 work and it can control the
power switch for the USB connected.
Daniel Palmer (10):
dt-bindings: gpio: msc313: Add compatible for ssd20xd
dt-bindings: gpio: msc313: Add offsets for ssd20xd
gpio: msc313: Code clean ups
gpio: msc313: Add support for SSD201 and SSD202D
ARM: dts: mstar: Set gpio compatible for ssd20xd
ARM: dts: mstar: unitv2: Wire up LEDs
ARM: dts: mstar: unitv2: Add core regulator
ARM: dts: mstar: unitv2: Add io regulator
ARM: dts: mstar: unitv2: Add DRAM regulator
ARM: dts: mstar: unitv2: Add wifi switch
.../bindings/gpio/mstar,msc313-gpio.yaml | 4 +-
.../dts/mstar-infinity2m-ssd202d-unitv2.dts | 46 +++
.../boot/dts/mstar-infinity2m-ssd20xd.dtsi | 5 +
drivers/gpio/gpio-msc313.c | 266 +++++++++++++++++-
include/dt-bindings/gpio/msc313-gpio.h | 71 +++++
5 files changed, 387 insertions(+), 5 deletions(-)
--
2.32.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
From: Daniel Palmer <hidden> Date: 2021-07-17 04:57:15
- Remove the unneeded assignment of ret before returning it.
- Remove an unneeded blank line
Signed-off-by: Daniel Palmer <redacted>
---
drivers/gpio/gpio-msc313.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
From: Daniel Palmer <hidden> Date: 2021-07-17 04:57:18
This adds GPIO support for the SSD201 and SSD202D chips.
Signed-off-by: Daniel Palmer <redacted>
---
drivers/gpio/gpio-msc313.c | 261 +++++++++++++++++++++++++++++++++++++
1 file changed, 261 insertions(+)
From: Daniel Palmer <hidden> Date: 2021-07-17 04:57:20
Add the gpio offsets for the SSD201 and SSD202D chips.
Signed-off-by: Daniel Palmer <redacted>
---
include/dt-bindings/gpio/msc313-gpio.h | 71 ++++++++++++++++++++++++++
1 file changed, 71 insertions(+)
From: Daniel Palmer <hidden> Date: 2021-07-17 04:57:22
Now there is gpio support for ssd20xd set the right compatible in the gpio node.
Signed-off-by: Daniel Palmer <redacted>
---
arch/arm/boot/dts/mstar-infinity2m-ssd20xd.dtsi | 5 +++++
1 file changed, 5 insertions(+)
From: Daniel Palmer <hidden> Date: 2021-07-17 04:57:23
Add a compatible string for "ssd20xd" for the SigmaStar SSD201
and SSD202D chips. These chips are the same die with different
memory bonded so they don't need their own strings.
Signed-off-by: Daniel Palmer <redacted>
---
Documentation/devicetree/bindings/gpio/mstar,msc313-gpio.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
From: Daniel Palmer <hidden> Date: 2021-07-17 04:57:24
Add the red and white leds present on the unitv2.
Signed-off-by: Daniel Palmer <redacted>
---
.../boot/dts/mstar-infinity2m-ssd202d-unitv2.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
From: Daniel Palmer <hidden> Date: 2021-07-17 04:57:33
Add a fixed regulator for the DRAM voltage.
Signed-off-by: Daniel Palmer <redacted>
---
arch/arm/boot/dts/mstar-infinity2m-ssd202d-unitv2.dts | 8 ++++++++
1 file changed, 8 insertions(+)
From: Rob Herring <robh@kernel.org> Date: 2021-07-22 03:08:50
On Sat, 17 Jul 2021 13:56:18 +0900, Daniel Palmer wrote:
Add a compatible string for "ssd20xd" for the SigmaStar SSD201
and SSD202D chips. These chips are the same die with different
memory bonded so they don't need their own strings.
Signed-off-by: Daniel Palmer <redacted>
---
Documentation/devicetree/bindings/gpio/mstar,msc313-gpio.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
From: Rob Herring <robh@kernel.org> Date: 2021-07-22 03:09:04
On Sat, 17 Jul 2021 13:56:19 +0900, Daniel Palmer wrote:
Add the gpio offsets for the SSD201 and SSD202D chips.
Signed-off-by: Daniel Palmer <redacted>
---
include/dt-bindings/gpio/msc313-gpio.h | 71 ++++++++++++++++++++++++++
1 file changed, 71 insertions(+)
On Sat, Jul 17, 2021 at 6:56 AM Daniel Palmer [off-list ref] wrote:
Add a compatible string for "ssd20xd" for the SigmaStar SSD201
and SSD202D chips. These chips are the same die with different
memory bonded so they don't need their own strings.
Signed-off-by: Daniel Palmer <redacted>
On Sat, Jul 17, 2021 at 6:56 AM Daniel Palmer [off-list ref] wrote:
This is a little series to add a compatible string for the Sigmastar
SSD201 and SSD202D to the msc313 gpio driver, add the specific offsets
for the pins on these chips, and then a bunch of DT wiring stuff so
that the LEDs on the M5 stack unitv2 work and it can control the
power switch for the USB connected.
Daniel Palmer (10):
dt-bindings: gpio: msc313: Add compatible for ssd20xd
dt-bindings: gpio: msc313: Add offsets for ssd20xd
gpio: msc313: Code clean ups
gpio: msc313: Add support for SSD201 and SSD202D
I suppose Bartosz can just merge the 4 first patches into the
GPIO tree and you can take the rest into the SoC tree?
Yours,
Linus Walleij
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
From: Daniel Palmer <hidden> Date: 2021-07-30 10:19:45
Hi Linus,
On Fri, 30 Jul 2021 at 19:12, Linus Walleij [off-list ref] wrote:
On Sat, Jul 17, 2021 at 6:56 AM Daniel Palmer [off-list ref] wrote:
quoted
Daniel Palmer (10):
dt-bindings: gpio: msc313: Add compatible for ssd20xd
dt-bindings: gpio: msc313: Add offsets for ssd20xd
gpio: msc313: Code clean ups
gpio: msc313: Add support for SSD201 and SSD202D
I suppose Bartosz can just merge the 4 first patches into the
GPIO tree
Yep.
And you can take the rest into the SoC tree?
My plan is to take the rest into a "mstar dts for 5.15" branch along
with some other bits and send a PR to Arnd and Olof later on.
Thanks for checking out the patches.
Cheers,
Daniel
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
From: Daniel Palmer <hidden> Date: 2021-08-25 11:50:39
+ Bartosz
Hi Linus, Bartosz,
On Fri, 30 Jul 2021 at 19:12, Linus Walleij [off-list ref] wrote:
I suppose Bartosz can just merge the 4 first patches into the
GPIO tree and you can take the rest into the SoC tree?
Yours,
Linus Walleij
I just noticed I hadn't to'd Bartosz about these. Is there anything I
need to do for the first patches?
Cheers,
Daniel
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
On Wed, Aug 25, 2021 at 1:50 PM Daniel Palmer [off-list ref] wrote:
+ Bartosz
Hi Linus, Bartosz,
On Fri, 30 Jul 2021 at 19:12, Linus Walleij [off-list ref] wrote:
quoted
I suppose Bartosz can just merge the 4 first patches into the
GPIO tree and you can take the rest into the SoC tree?
Yours,
Linus Walleij
I just noticed I hadn't to'd Bartosz about these. Is there anything I
need to do for the first patches?
Cheers,
Daniel
I only have a part of this series in my inbox and patchwork doesn't
have it at all - can you resend it with me in Cc?
Bart
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
From: Daniel Palmer <hidden> Date: 2021-09-22 10:43:56
Hi Bart,
On Wed, 22 Sept 2021 at 19:20, Bartosz Golaszewski
[off-list ref] wrote:
I only have a part of this series in my inbox and patchwork doesn't
have it at all - can you resend it with me in Cc?
Sure. I want to do some fixes to the DTS bits at the end of the series
so I will send it as a v2. The gpio code parts will be unchanged.
Cheers,
Daniel
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
From: Andy Shevchenko <hidden> Date: 2021-09-22 10:52:38
On Wed, Sep 22, 2021 at 1:21 PM Bartosz Golaszewski
[off-list ref] wrote:
On Wed, Aug 25, 2021 at 1:50 PM Daniel Palmer [off-list ref] wrote:
quoted
Hi Linus, Bartosz,
...
quoted
I just noticed I hadn't to'd Bartosz about these. Is there anything I
need to do for the first patches?
I only have a part of this series in my inbox and patchwork doesn't
have it at all - can you resend it with me in Cc?
Have you tried to use the `b4` tool? It is capable of getting
everything from the lore archive.
--
With Best Regards,
Andy Shevchenko
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
On Wed, Sep 22, 2021 at 12:52 PM Andy Shevchenko
[off-list ref] wrote:
On Wed, Sep 22, 2021 at 1:21 PM Bartosz Golaszewski
[off-list ref] wrote:
quoted
On Wed, Aug 25, 2021 at 1:50 PM Daniel Palmer [off-list ref] wrote:
quoted
Hi Linus, Bartosz,
...
quoted
quoted
I just noticed I hadn't to'd Bartosz about these. Is there anything I
need to do for the first patches?
I only have a part of this series in my inbox and patchwork doesn't
have it at all - can you resend it with me in Cc?
Have you tried to use the `b4` tool? It is capable of getting
everything from the lore archive.
I haven't tried it because I have never heard of it. :) Thanks for the heads-up.
At the same time - is it too much to ask of people to just use
scripts/get_maintainer.pl? It's so much easier to just actually get
the patches in my inbox than to have to look for them manually.
Bartosz
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
From: Andy Shevchenko <hidden> Date: 2021-09-22 12:57:37
On Wed, Sep 22, 2021 at 3:50 PM Bartosz Golaszewski
[off-list ref] wrote:
On Wed, Sep 22, 2021 at 12:52 PM Andy Shevchenko
[off-list ref] wrote:
quoted
On Wed, Sep 22, 2021 at 1:21 PM Bartosz Golaszewski
[off-list ref] wrote:
quoted
On Wed, Aug 25, 2021 at 1:50 PM Daniel Palmer [off-list ref] wrote:
...
quoted
quoted
I only have a part of this series in my inbox and patchwork doesn't
have it at all - can you resend it with me in Cc?
Have you tried to use the `b4` tool? It is capable of getting
everything from the lore archive.
I haven't tried it because I have never heard of it. :) Thanks for the heads-up.
You're welcome!
At the same time - is it too much to ask of people to just use
scripts/get_maintainer.pl? It's so much easier to just actually get
the patches in my inbox than to have to look for them manually.
At the same time - is it too much to ask of people to just use
scripts/get_maintainer.pl?
Sorry about that. scripts/get_maintainer.pl can return tons of people,
I get cc'd on stuff I have no idea about because I touched a line
somewhere, so I generally try to work out who needs to see a series
from the places touched and the get_maintainer.pl output instead of
just spamming everyone. In this case I thought Linus was the subsystem
maintainer as he took the initial series for this driver and I took
the mail recipients list from that series and pasted it in.
I'll be more careful next time.
Thanks,
Daniel
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel