Gatien Chevallier
02ec75edaa
dt-bindings: treewide: add access-controllers description
...
access-controllers is an optional property that allows a peripheral to
refer to one or more domain access controller(s).
Description of this property is added to all peripheral binding files of
the peripheral under the STM32 firewall controller. It allows an accurate
representation of the hardware, where various peripherals are connected
to a firewall bus. The firewall can then check the peripheral accesses
before allowing its device to probe.
Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com >
2024-04-05 14:39:10 +02:00
Valentin Caron
d6c0d892b4
dt-bindings: serial: stm32: add power-domains property
...
STM32 serial may be in a power domain.
Allow a single 'power-domains' entry for STM32 serial devices.
Signed-off-by: Valentin Caron <valentin.caron@foss.st.com >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20240118091135.3314330-1-valentin.caron@foss.st.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-03-07 21:44:12 +00:00
Krzysztof Kozlowski
8fc7d03c3f
dt-bindings: serial: st,stm32-uart: drop common properties
...
The binding references serial and rs485 schemas, so there is no need to
list their properties. Simplify a bit by removing unneeded entries.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20230124091916.45054-8-krzysztof.kozlowski@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-02-01 06:13:36 +01:00
Krzysztof Kozlowski
84e85359f4
dt-bindings: drop redundant part of title (end, part three)
...
The Devicetree bindings document does not have to say in the title that
it is a "binding", but instead just describe the hardware.
Drop trailing "bindings" in various forms (also with trailing full
stop):
find Documentation/devicetree/bindings/ -type f -name '*.yaml' \
-not -name 'trivial-devices.yaml' \
-exec sed -i -e 's/^title: \(.*\) [bB]indings\?\.\?$/title: \1/' {} \;
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
Acked-by: Matti Vaittinen <mazziesaccount@gmail.com > # ROHM
Acked-by: Ulf Hansson <ulf.hansson@linaro.org > # MMC
Acked-by: Stephen Boyd <sboyd@kernel.org > # clk
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com > # input
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl > # media
Acked-by: Sebastian Reichel <sre@kernel.org > # power
Acked-by: Viresh Kumar <viresh.kumar@linaro.org > # cpufreq
Link: https://lore.kernel.org/r/20221216163815.522628-7-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2022-12-16 11:41:49 -06:00
Patrice Chotard
f4eedebdbf
dt-bindings: treewide: Update @st.com email address to @foss.st.com
...
Not all @st.com email address are concerned, only people who have
a specific @foss.st.com email will see their entry updated.
For some people, who left the company, remove their email.
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com >
Cc: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com >
Cc: Fabien Dessenne <fabien.dessenne@foss.st.com >
Cc: Christophe Roullier <christophe.roullier@foss.st.com >
Cc: Gabriel Fernandez <gabriel.fernandez@foss.st.com >
Cc: Lionel Debieve <lionel.debieve@foss.st.com >
Cc: Amelie Delaunay <amelie.delaunay@foss.st.com >
Cc: Pierre-Yves MORDRET <pierre-yves.mordret@foss.st.com >
Cc: Ludovic Barre <ludovic.barre@foss.st.com >
Cc: Christophe Kerello <christophe.kerello@foss.st.com >
Cc: pascal Paillet <p.paillet@foss.st.com >
Cc: Erwan Le Ray <erwan.leray@foss.st.com >
Cc: Philippe CORNU <philippe.cornu@foss.st.com >
Cc: Yannick Fertre <yannick.fertre@foss.st.com >
Cc: Fabrice Gasnier <fabrice.gasnier@foss.st.com >
Cc: Olivier Moysan <olivier.moysan@foss.st.com >
Cc: Hugues Fruchet <hugues.fruchet@foss.st.com >
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com >
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Lee Jones <lee.jones@linaro.org >
Acked-By: Vinod Koul <vkoul@kernel.org >
Acked-by: Miquel Raynal <miquel.raynal@bootlin.com >
Link: https://lore.kernel.org/r/20211110150144.18272-6-patrice.chotard@foss.st.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-11-11 22:27:16 -06:00
Zhen Lei
8f082dcf2c
dt-bindings: serial: Change to reference the kernel-defined serial.yaml
...
The /schemas/serial.yaml from dt-schema only has the property $nodename,
whereas the kernel-defined /schemas/serial/serial.yaml contains more
useful properties, support for more complex application scenarios.
For example:
1) The property "current-speed" in fsl-lx2160a.dtsi
2) The subnode "bluetooth" in hi3660-hikey960.dts
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com >
Link: https://lore.kernel.org/r/20210506132049.1513-2-thunder.leizhen@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2021-05-13 16:19:49 +02:00
Erwan Le Ray
cd9de06e16
dt-bindings: serial: stm32: override FIFO threshold properties
...
Override rx-threshold and tx-threshold properties:
- extend description
- provide default and expected values
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com >
Signed-off-by: Erwan Le Ray <erwan.leray@foss.st.com >
Changes in v2:
Change added properties naming and factorize it in serial.yaml as proposed
by Rob Herring.
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20210413174015.23011-3-erwan.leray@foss.st.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2021-04-22 12:11:25 +02:00
Martin Devera
1b8dc3988d
dt-bindings: serial: Add rx-tx-swap to stm32-usart
...
Add new rx-tx-swap property to allow for RX & TX pin swapping.
Reviewed-by: Rob Herring <robh@kernel.org >
Acked-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com >
Signed-off-by: Martin Devera <devik@eaxlabs.cz >
Link: https://lore.kernel.org/r/20210328154306.22674-1-devik@eaxlabs.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2021-04-05 12:06:52 +02:00
dillon min
9f299d3264
dt-bindings: serial: stm32: Use 'type: object' instead of false for 'additionalProperties'
...
To use additional properties 'bluetooth' on serial, need replace false with
'type: object' for 'additionalProperties' to make it as a node, else will
run into dtbs_check warnings.
'arch/arm/boot/dts/stm32h750i-art-pi.dt.yaml: serial@40004800:
'bluetooth' does not match any of the regexes: 'pinctrl-[0-9]+'
Fixes: af1c2d8169 ("dt-bindings: serial: Convert STM32 UART to json-schema")
Reported-by: kernel test robot <lkp@intel.com >
Tested-by: Valentin Caron <valentin.caron@foss.st.com >
Signed-off-by: dillon min <dillon.minfei@gmail.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/1616757302-7889-8-git-send-email-dillon.minfei@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2021-03-28 14:14:48 +02:00
Erwan Le Ray
9ba8377c3a
dt-bindings: serial: stm32: update rts-gpios and cts-gpios
...
Update rts-gpios and cts-gpios:
- remove max-items as already defined in serial.yaml
- add a note describing rts-gpios and cts-gpios usage with stm32
Document the use of cts-gpios and rts-gpios for flow control in STM32 UART
controller. These properties can be used instead of 'uart-has-rtscts' or
'st,hw-flow-ctrl' (deprecated) for making use of any gpio pins for flow
control instead of dedicated pins.
It should be noted that both cts-gpios/rts-gpios and 'uart-has-rtscts' or
'st,hw-flow-ctrl' (deprecated) properties cannot co-exist in a design.
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Erwan Le Ray <erwan.leray@foss.st.com >
Link: https://lore.kernel.org/r/20210106162203.28854-6-erwan.leray@foss.st.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2021-01-07 16:19:29 +01:00
Erwan Le Ray
b2cc2b5111
dt-bindings: serial: add generic DT binding for announcing RTS/CTS lines
...
Add support of generic DT binding for annoucing RTS/CTS lines. The initial
binding 'st,hw-flow-control' is not needed anymore since generic binding
is available, but is kept for backward compatibility.
Signed-off-by: Erwan Le Ray <erwan.leray@st.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20200520133932.30441-2-erwan.leray@st.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2020-07-01 15:19:37 +02:00
Manivannan Sadhasivam
888ae87104
dt-bindings: serial: Document CTS/RTS gpios in STM32 UART
...
Document the use of CTS/RTS gpios for flow control in STM32 UART
controller. These properties can be used instead of 'st,hw-flow-ctrl'
for making use of any gpio pins for flow control instead of dedicated
pins. It should be noted that both CTS/RTS and 'st,hw-flow-ctrl'
properties cannot co-exist in a design.
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com >
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20200420170204.24541-2-mani@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2020-05-15 12:24:15 +02:00
Benjamin Gaignard
af1c2d8169
dt-bindings: serial: Convert STM32 UART to json-schema
...
Convert STM32 UART bindings to json-schema.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com >
Signed-off-by: Rob Herring <robh@kernel.org >
2020-01-23 14:34:16 -06:00