Em 11/24/2020 11:56 PM, Joe Perches escreveu:
On Tue, 2020-11-24 at 21:54 -0300, Matheus Castello wrote:
diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c
[]
The above would be marginally better if organized as follows so that the
main execution path isn't in an "
Checkpatch emits WARNING: quoted string split across lines.
To keep the code clean and with the 80 column length indentation the
check and registration code for kmsg_dump_register has been transferred
to a new function hv_kmsg_dump_register.
Signed-off-by: Matheus Castello
---
This is the V3 of
k(void *sched_clock);
+u64 hv_query_ext_cap(void);
#else /* CONFIG_HYPERV */
static inline bool hv_is_hyperv_initialized(void) { return false; }
static inline bool hv_is_hibernation_supported(void) { return false; }
Tested-by: Matheus Castello
Checkpatch emits WARNING: quoted string split across lines.
To keep the code clean and with the 80 column length indentation the
check and registration code for kmsg_dump_register has been transferred
to a new function hv_kmsg_dump_register.
Signed-off-by: Matheus Castello
---
This is the V2 of
Hi Wei,
Em 11/17/2020 7:58 AM, Wei Liu escreveu:
On Sun, Nov 15, 2020 at 04:57:28PM -0300, Matheus Castello wrote:
This series fixes some warnings edmited by the checkpatch in the file
vmbus_drv.c. I thought it would be good to split each fix into a commit to
help with the review.
Matheus
Hi Michael,
Em 11/15/2020 7:25 PM, Michael Kelley escreveu:
From: Matheus Castello Sent: Sunday, November 15,
2020 11:58 AM
Checkpatch emits WARNING: quoted string split across lines.
To keep the code clean and with the 80 column length indentation the
check and registration code for
This fixed the below checkpatch issue:
WARNING: Symbolic permissions 'S_IRUGO' are not preferred.
Consider using octal permissions '0444'.
Signed-off-by: Matheus Castello
---
drivers/hv/vmbus_drv.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
dif
Fixed checkpatch warning: Missing a blank line after declarations
checkpatch(LINE_SPACING)
Signed-off-by: Matheus Castello
---
drivers/hv/vmbus_drv.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c
index 52c1407c1849..61d28c743263 100644
Checkpatch emits WARNING: quoted string split across lines.
To keep the code clean and with the 80 column length indentation the
check and registration code for kmsg_dump_register has been transferred
to a new function hv_kmsg_dump_register.
Signed-off-by: Matheus Castello
---
drivers/hv
Fix the kernel parameter path in the comment, in the documentation the
parameter is correct but if someone who is studying the code and see
this first can get confused and try to access the wrong path/parameter
Signed-off-by: Matheus Castello
---
drivers/hv/vmbus_drv.c | 2 +-
1 file changed, 1
Fixed checkpatch warning: MSLEEP: msleep < 20ms can sleep for up to
20ms; see Documentation/timers/timers-howto.rst
Signed-off-by: Matheus Castello
---
drivers/hv/vmbus_drv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_dr
Fixed checkpatch warning: Possible unnecessary 'out of memory' message
checkpatch(OOM_MESSAGE)
Signed-off-by: Matheus Castello
---
drivers/hv/vmbus_drv.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c
index 09
This series fixes some warnings edmited by the checkpatch in the file
vmbus_drv.c. I thought it would be good to split each fix into a commit to
help with the review.
Matheus Castello (6):
drivers: hv: Fix hyperv_record_panic_msg path on comment
drivers: hv: vmbus: Replace symbolic
Em 9/22/20 7:26 AM, Catalin Marinas escreveu:
On Tue, Sep 22, 2020 at 10:32:06AM +0200, Arnd Bergmann wrote:
On Tue, Sep 22, 2020 at 8:15 AM Manivannan Sadhasivam
wrote:
On Mon, Sep 21, 2020 at 11:43:02PM -0300, Matheus Castello wrote:
+ /* Labrador v3 firmware does not support PSCI
-TEC) with the support of Polytechnic School of the University of
São Paulo (Poli-USP) and Jon "Maddog" Hall.
Signed-off-by: Matheus Castello
Acked-by: Rob Herring
Reviewed-by: Andreas Färber
---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
1 file changed, 2 insertion
Add Device Trees for Caninos Loucos Labrador CoM Core v3 and base board
M v2. Based on the work of Andreas Färber on Cubieboard 7 device tree.
Signed-off-by: Matheus Castello
---
arch/arm64/boot/dts/actions/Makefile | 2 +
.../dts/actions/s700-labrador-base-m2.dts | 34
Update the documentation to add the Caninos Loucos Labrador. Labrador
project consists of the computer on module Core v2 based on the Actions
Semi S500, computer on module Core v3 based on the Actions Semi S700
and the Labrador base boards.
Signed-off-by: Matheus Castello
Acked-by: Rob Herring
Add Device Trees for Caninos Loucos Labrador CoM Core v2 and base board
M v1. Based on the work of Andreas Färber on Lemaker Guitar device tree.
Signed-off-by: Matheus Castello
Reviewed-by: Manivannan Sadhasivam
Reviewed-by: Andreas Färber
---
arch/arm/boot/dts/Makefile
ed by Andreas Färber)
- Put caninos,labrador-v2 as const one level down
Matheus Castello (4):
dt-bindings: Add vendor prefix for Caninos Loucos
dt-bindings: arm: actions: Document Caninos Loucos Labrador
ARM: dts: Add Caninos Loucos Labrador v2
arm64: dts: Add Caninos Loucos Labrad
Adds the property POWER_SUPPLY_PROP_CAPACITY_ALERT_MIN to export the
chip->low_soc_alert and add the property as writeable, implementing
max17040_prop_writeable and max17040_set_property, so with that the
user space can readjust the alerts.
Signed-off-by: Matheus Castello
---
drivers/po
Hi Andreas,
Em 7/5/20 7:09 PM, Andreas Färber escreveu:
Hi Matheus,
Am 05.07.20 um 21:19 schrieb Matheus Castello:
Change the enable-method to fix the failed to boot errors:
[ 0.040330] smp: Bringing up secondary CPUs ...
[ 0.040683] psci: failed to boot CPU1 (-22)
[ 0.040691] CPU1
Hi Andreas,
let me know if there are any more concerns about this series.
BR,
Matheus Castello
Em 5/25/20 10:22 AM, Matheus Castello escreveu:
Add Device Trees for Caninos Loucos Labrador CoM and base board.
Based on the work of Andreas Färber on Lemaker Guitar device tree.
Signed-off-by
[0.041408] psci: failed to boot CPU3 (-22)
[0.041417] CPU3: failed to boot: -22
[0.041443] smp: Brought up 1 node, 1 CPU
[0.041451] SMP: Total of 1 processors activated.
Tested on Caninos Labrador v3 based on Actions Semi S700.
Signed-off-by: Matheus Castello
---
arch/arm64/boot/dts/actions
Update the documentation to add the Caninos Loucos Labrador. Labrador
project consists of a computer on module based on the Actions Semi S500
processor and the Labrador base board.
Signed-off-by: Matheus Castello
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/arm/actions.yaml | 5
-TEC) with the support of Polytechnic School of the University of
São Paulo (Poli-USP) and Jon "Maddog" Hall.
Signed-off-by: Matheus Castello
Acked-by: Rob Herring
Reviewed-by: Andreas Färber
---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
1 file changed, 2 insertion
Add Device Trees for Caninos Loucos Labrador CoM and base board.
Based on the work of Andreas Färber on Lemaker Guitar device tree.
Signed-off-by: Matheus Castello
Reviewed-by: Manivannan Sadhasivam
Reviewed-by: Andreas Färber
---
arch/arm/boot/dts/Makefile| 1 +
.../arm
Thanks Andreas, Mani and Rob for your time reviewing it.
Changes since v5:
(Suggested by Andreas Färber)
- Put caninos,labrador-v2 as const one level down
Changes since v4:
(Suggested by Rob Herring)
- Fix issues with yaml indentation
Matheus Castello (3):
dt-bindings: Add vendor prefix for
Hi Andreas,
Em 5/25/20 7:41 AM, Andreas Färber escreveu:
Hi,
Am 25.05.20 um 03:30 schrieb Matheus Castello:
Update the documentation to add the Caninos Loucos Labrador. Labrador
project consists of a computer on module based on the Actions Semi S500
processor and the Labrador base board
-TEC) with the support of Polytechnic School of the University of
São Paulo (Poli-USP) and Jon "Maddog" Hall.
Signed-off-by: Matheus Castello
Acked-by: Rob Herring
Reviewed-by: Andreas Färber
---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
1 file changed, 2 insertion
Update the documentation to add the Caninos Loucos Labrador. Labrador
project consists of a computer on module based on the Actions Semi S500
processor and the Labrador base board.
Signed-off-by: Matheus Castello
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/arm/actions.yaml | 5
Add Device Trees for Caninos Loucos Labrador CoM and base board.
Based on the work of Andreas Färber on Lemaker Guitar device tree.
Signed-off-by: Matheus Castello
Reviewed-by: Manivannan Sadhasivam
Reviewed-by: Andreas Färber
---
arch/arm/boot/dts/Makefile| 1 +
.../arm
-base-m.dts
- Add description for both the SoM and Base Board
- Add Model description for both the SoM and Base Board
Matheus Castello (3):
dt-bindings: Add vendor prefix for Caninos Loucos
dt-bindings: arm: actions: Document Caninos Loucos Labrador
ARM: dts: Add Caninos Loucos Labrador
On 5/29/19 11:46 AM, Krzysztof Kozlowski wrote:
On Mon, 27 May 2019 at 04:46, Matheus Castello wrote:
For configuration of fuel gauge alert for a low level state of charge
interrupt we add a function to config level threshold and a device tree
binding property to set it in flatned device
On Mon, 27 May 2019 at 04:45, Matheus Castello wrote:
For configure low level state of charge threshold alert signaled from
max17040 we add "maxim,alert-low-soc-level" property.
Signed-off-by: Matheus Castello
---
.../power/supply/max17040_battery.txt | 28 +
user space can decide
save work or turn off since the alert demonstrate that the battery may
no have the power to keep the system turned on for much longer.
Signed-off-by: Matheus Castello
---
drivers/power/supply/max17040_battery.c | 65 +++--
1 file changed, 60 insertions
Notify core through power_supply_changed() in case of changes in state
of charge and power supply status. This is useful for user-space to
efficiently update current battery level.
Signed-off-by: Matheus Castello
---
drivers/power/supply/max17040_battery.c | 14 ++
1 file changed
configure alert interrupt threshold.
Signed-off-by: Matheus Castello
---
drivers/power/supply/max17040_battery.c | 52 +++--
1 file changed, 49 insertions(+), 3 deletions(-)
diff --git a/drivers/power/supply/max17040_battery.c
b/drivers/power/supply/max17040_batte
For configure low level state of charge threshold alert signaled from
max17040 we add "maxim,alert-low-soc-level" property.
Signed-off-by: Matheus Castello
---
.../power/supply/max17040_battery.txt | 28 +++
1 file changed, 28 insertions(+)
create m
device tree description
- Add the (%) units on the description of property
- Drop interrupt-parent
- Fix name of property to let clear that is a low level SOC alert
Matheus Castello (5):
power: supply: max17040: Add IRQ handler for low SOC alert
dt-bindings: power: supply: Max17040: Add low leve
In order to not generate duplicate interrupts we clear the ALRT bit when
the SOC is in a state that shows that the battery is charged above the set
threshold for the SOC low level alert.
Signed-off-by: Matheus Castello
---
drivers/power/supply/max17040_battery.c | 11 +++
1 file changed
On 4/29/19 7:13 PM, Rob Herring wrote:
On Sun, Apr 14, 2019 at 10:26:33PM -0300, Matheus Castello wrote:
For configure low level state of charge threshold alert signaled from
max17040 we add "maxim,alert-soc-level" property.
Signed-off-by: Matheus Castello
---
.../po
Em 4/15/19 4:10 AM, Krzysztof Kozlowski escreveu:
On Mon, 15 Apr 2019 at 03:49, Matheus Castello wrote:
According datasheet max17040 has a pin for alert host for low SOC.
This pin can be used as external interrupt, so we need to check for
interrupts assigned for device and handle it.
In
user space can decide
save work or turn off since the alert demonstrate that the battery may
no have the power to keep the system turned on for much longer.
Signed-off-by: Matheus Castello
---
drivers/power/supply/max17040_battery.c | 69 +++--
1 file changed, 64 insertions
For configure low level state of charge threshold alert signaled from
max17040 we add "maxim,alert-soc-level" property.
Signed-off-by: Matheus Castello
---
.../power/supply/max17040_battery.txt | 24 +++
1 file changed, 24 insertions(+)
create mode 100644
Doc
gure alert interrupt threshold.
Signed-off-by: Matheus Castello
---
drivers/power/supply/max17040_battery.c | 56 ++---
1 file changed, 50 insertions(+), 6 deletions(-)
diff --git a/drivers/power/supply/max17040_battery.c
b/drivers/power/supply/max17040_battery.c
index 8d
Notify core through power_supply_changed() in case of changes in state
of charge. This is useful for user-space to efficiently update current
battery level.
Signed-off-by: Matheus Castello
---
drivers/power/supply/max17040_battery.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a
hold
- Set low level state of charge threshold before IRQ
- CC maintainers from drivers/mfd/max14577
- Use flags from FDT client->flags instead hard coded it
- Mention interrupts on DT Documentation
- Fix "maxim,max77836-battery" missed from DT Documentation
- Fix commit descripti
Hi Krzysztof and Sebastian,
please forgive me for the delay in working with this patch.
I've been having some personal issues these months, but leaving the
excuses I still intend to send a v2 for this.
Thanks Krzysztof for review and tips I'll work on it.
Best Regards,
Matheus Ca
from 1% up to 32% of SOC.
Tested on Raspberry Pi Zero W, with a SparkFun Lipo Fuel Gauge module based on
MAXIM MAX17043.
Matheus Castello (4):
power: supply: max17040: Add IRQ handler for low SOC alert
power: supply: max17040: Config alert SOC low level threshold from FDT
dt-bindings: power
For configure low level state of charge threshold alert signaled from
max17040 we add "maxim,alert-soc-level" property.
Signed-off-by: Matheus Castello
---
.../bindings/power/supply/max17040_battery.txt | 24 ++
1 file changed, 24 insertions(+)
create m
decisions.
Signed-off-by: Matheus Castello
---
drivers/power/supply/max17040_battery.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/power/supply/max17040_battery.c
b/drivers/power/supply/max17040_battery.c
index 3efa52d32b44..72915ac9e13b 100644
--- a/drivers/power/supply
gure alert interrupt threshold.
Signed-off-by: Matheus Castello
---
drivers/power/supply/max17040_battery.c | 36 +
1 file changed, 36 insertions(+)
diff --git a/drivers/power/supply/max17040_battery.c
b/drivers/power/supply/max17040_battery.c
index 6e
user space can decide
save work or turn off since the alert demonstrate that the battery may
no have the power to keep the system turned on for much longer.
Signed-off-by: Matheus Castello
---
drivers/power/supply/max17040_battery.c | 51 +
1 file changed, 51
Hi Linus,
thanks for the tips, I will study this to break dependency from OF.
Best Regards,
Matheus Castello
On 05/02/2018 08:51 AM, Linus Walleij wrote:
On Tue, May 1, 2018 at 9:10 PM, Matheus Castello
wrote:
For generic pinconf: print the dev_error with the pinctrl vendor
driver name
does not support.
Signed-off-by: Matheus Castello
---
drivers/pinctrl/pinconf.c | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/drivers/pinctrl/pinconf.c b/drivers/pinctrl/pinconf.c
index d3fe143..ced2b67 100644
--- a/drivers/pinctrl/pinconf.c
+++ b/drivers
pinconf driver.
Signed-off-by: Matheus Castello
---
drivers/pinctrl/pinconf-generic.c | 61 +
include/linux/pinctrl/pinconf-generic.h | 32 +
2 files changed, 63 insertions(+), 30 deletions(-)
diff --git a/drivers/pinctrl/pinconf-generic.c
b
tree enable configurations
Matheus Castello (2):
pinctrl: generic: add API to solve generic sub-node property name
pinctrl: generic: improve apply_setting error verbosity
drivers/pinctrl/pinconf-generic.c | 61 +
drivers/pinctrl/pinconf.c | 15
does not support.
Signed-off-by: Matheus Castello
---
drivers/pinctrl/pinconf.c | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/drivers/pinctrl/pinconf.c b/drivers/pinctrl/pinconf.c
index d3fe143..fd5962a 100644
--- a/drivers/pinctrl/pinconf.c
+++ b/drivers
pinconf driver.
Signed-off-by: Matheus Castello
---
drivers/pinctrl/pinconf-generic.c | 61 +
include/linux/pinctrl/pinconf-generic.h | 32 +
2 files changed, 63 insertions(+), 30 deletions(-)
diff --git a/drivers/pinctrl/pinconf-generic.c
b
pinctrl-vendor
driver and sub-nodes that returned error when applied.
Let me know your opinion about this.
Matheus Castello (2):
pinctrl: generic: add API to solve generic sub-node property name
pinctrl: generic: improve apply_setting error verbosity
drivers/pinctrl/pinconf-generic.c | 61
documentations about generic properties support
- Add devicetree bindings maintainers
Matheus Castello (2):
pinctrl: bcm2835: Add support for generic pinctrl binding
pinctrl: bcm2835: Add support for output-low output-high properties
drivers/pinctrl/bcm/Kconfig | 1 +
drivers/pinctrl/bcm
trees.
The logic of this change maintain the old brcm legacy binding support in
order to keep the ABI stable.
Signed-off-by: Matheus Castello
Reviewed-by: Eric Anholt
---
drivers/pinctrl/bcm/Kconfig | 1 +
drivers/pinctrl/bcm/pinctrl-bcm2835.c | 95
Properties to set initial value of pin output buffer.
This can be useful for configure hardware in overlay files, and in early
boot for checking it states in QA sanity tests.
Signed-off-by: Matheus Castello
Reviewed-by: Eric Anholt
---
drivers/pinctrl/bcm/pinctrl-bcm2835.c | 5 +
1 file
Properties to set initial value of pin output buffer.
This can be useful for configure hardware in overlay files, and in early
boot for checking it states in QA sanity tests.
Signed-off-by: Matheus Castello
---
drivers/pinctrl/bcm/pinctrl-bcm2835.c | 5 +
1 file changed, 5 insertions
changes with the driver changes in a single patch
- Add devicetree bindings documentations about generic properties support
- Add devicetree bindings maintainers
Matheus Castello (2):
pinctrl: bcm2835: Add support for generic pinctrl binding
pinctrl: bcm2835: Add support for output-low output
trees.
The logic of this change maintain the old brcm legacy binding support in
order to keep the ABI stable.
Signed-off-by: Matheus Castello
---
A brief explanation of what I did:
Add pinconf-generic header for use the defines and pinctrl-generic API.
Add dt-bindings pinctrl bcm2835 header to
trees.
The logic of this change maintain the old brcm legacy binding support in order
to keep the ABI stable.
Signed-off-by: Matheus Castello
---
A brief explanation of what I did:
Add pinconf-generic header for use the defines and pinctrl-generic API.
Add dt-bindings pinctrl bcm2835 header to
Properties to set initial value of pin output buffer.
This can be useful for configure hardware in overlay files, and in early boot
for checking it states in QA sanity tests.
Signed-off-by: Matheus Castello
---
drivers/pinctrl/bcm/pinctrl-bcm2835.c | 5 +
1 file changed, 5 insertions
Added generic pin configuration and multiplexing support,
and should be preferred than brcm legacy one.
Signed-off-by: Matheus Castello
---
.../devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt | 18 ++
1 file changed, 18 insertions(+)
diff --git a/Documentation/devicetree
* functions
(Suggested by Stefan Wahren)
- Fold Kconfig changes with the driver changes in a single patch
- Add devicetree bindings documentations about generic properties support
- Add devicetree bindings maintainers
Matheus Castello (3):
dt-bindings: pinctrl: bcm2835-gpio: Add generic pinctrl support
Bindings describe hardware, not drivers.
Use reference to hardware Allwinner A1X Pin Controller instead driver.
Signed-off-by: Matheus Castello
---
.../devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a
./pinctrl-bindings.txt.
If it's okay for you let me know, so I can send the v5 patch.
Best Regards
Matheus Castello
On 03/18/2018 08:48 AM, Rob Herring wrote:
On Fri, Mar 09, 2018 at 01:13:58PM -0400, Matheus Castello wrote:
Added generic pin configuration and multiplexing support,
and sho
Added generic pin configuration and multiplexing support,
and shoud be preferred than brcm legacy one.
Signed-off-by: Matheus Castello
---
.../devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt | 19 +++
1 file changed, 19 insertions(+)
diff --git a/Documentation/devicetree
Properties to set initial value of pin output buffer.
This can be useful for configure hardware in overlay files, and in early boot
for checking it states in QA sanity tests.
Signed-off-by: Matheus Castello
---
drivers/pinctrl/bcm/pinctrl-bcm2835.c | 5 +
1 file changed, 5 insertions
properties support
- Add devicetree bindings maintainers
Matheus Castello (3):
dt-bindings: pinctrl: bcm2835-gpio: Add generic pinctrl support
pinctrl: bcm2835: Add support for generic pinctrl binding
pinctrl: bcm2835: Add support for output-low output-high properties
drivers/pinctrl/bcm/Kconfig
trees.
The logic of this change maintain the old brcm legacy binding support in order
to keep the ABI stable.
Signed-off-by: Matheus Castello
---
A brief explanation of what I did:
Add pinconf-generic header for use the defines and pinctrl-generic API.
Add dt-bindings pinctrl bcm2835 header to
Now we have generic pin configuration and multiplexing support,
ahd shoud be preferred than brcm legacy one.
Signed-off-by: Matheus Castello
---
.../devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt | 19 +++
1 file changed, 19 insertions(+)
diff --git a/Documentation
Properties to set initial value of pin output buffer.
This can be useful for configure hardware in overlay files, and in early boot
for checking it states in QA sanity tests.
Signed-off-by: Matheus Castello
---
drivers/pinctrl/bcm/pinctrl-bcm2835.c | 5 +
1 file changed, 5 insertions
UNPACK macros
- Use pinconf_to_config_* functions
(Suggested by Stefan Wahren)
- Fold Kconfig changes with the driver changes in a single patch
- Add devicetree bindings documentations about generic properties support
- Add devicetree bindings maintainers
Matheus Castello (3):
pinctrl: bcm2835: Add
trees.
The logic of this change maintain the old brcm legacy binding support in order
to keep the ABI stable.
Signed-off-by: Matheus Castello
---
A brief explanation of what I did:
Add pinconf-generic header for use the defines and pinctrl-generic API.
Add dt-bindings pinctrl bcm2835 header to
Hi Stefan,
On 03/08/2018 04:00 AM, Stefan Wahren wrote:
> Hi Matheus,
>
>> Matheus Castello hat am 8. März 2018 um 01:12
>> geschrieben:
>>
>>
>> Hi Stefan,
>>
>> On 03/07/2018 07:58 AM, Stefan Wahren wrote:
>>> Hi Matheus
Hi Stefan,
On 03/07/2018 07:58 AM, Stefan Wahren wrote:
> Hi Matheus,
>
>> Matheus Castello hat am 5. März 2018 um 03:29
>> geschrieben:
>>
>>
>> Hi Linus and Stefan,
>>
>> thanks for the tips.
>>
>> This series adds support for gen
Hi Eric,
thanks for reviewing it. I will send the v3 of the patch with your notes.
I will just wait for the Linus considerations.
Best Regards
Matheus Castello
On 03/05/2018 07:21 PM, Eric Anholt wrote:
> Matheus Castello writes:
>
>> To keep driver up to date we add generic pin
To enable support for generic binding in the pinctrl-bcm2835 and use pinctrl
generic to parse properties the GENERIC_PINCONF have to be selected.
Signed-off-by: Matheus Castello
---
drivers/pinctrl/bcm/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pinctrl/bcm/Kconfig b
Properties to set initial value of pin output buffer.
This can be useful for configure hardware in overlay files, and in early boot
for checking it states in QA sanity tests.
Signed-off-by: Matheus Castello
---
drivers/pinctrl/bcm/pinctrl-bcm2835.c | 5 +
1 file changed, 5 insertions
trees.
The logic of this change maintain the old brcm legacy binding support in order
to keep the ABI stable.
Signed-off-by: Matheus Castello
---
A brief explanation of what I did:
Add pinconf-generic header for use the defines and pinctrl-generic API.
Add dt-bindings pinctrl bcm2835 header to
Hi Linus and Stefan,
thanks for the tips.
This series adds support for generic binding for pinctrl bcm2835 driver,
and add the code for set output buffer of a pin using the output-low and
output-high generic properties.
Tested on Raspberry Pi Zero W, based on bcm2835 SoC.
Matheus Castello (3
support for the generic binding
properties too. So in the future this can be used to implement the
output-high and output-low generic properties.
Signed-off-by: Matheus Castello
---
.../bindings/pinctrl/brcm,bcm2835-gpio.txt | 5 +-
drivers/pinctrl/bcm/pinctrl-bcm2835.c | 90
Property to set initial value of pin output buffer.
Signed-off-by: Matheus Castello
---
.../bindings/pinctrl/brcm,bcm2835-gpio.txt | 5 +-
drivers/pinctrl/bcm/pinctrl-bcm2835.c | 90 +-
2 files changed, 75 insertions(+), 20 deletions(-)
diff --git a
89 matches
Mail list logo