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
Olivier Moysan
6cd4ed8eb8
dt-bindings: iio: stm32-adc: add nvmem support for vrefint internal channel
...
Add support of nvmem. This allows to retrieve calibration data from OTP
for vrefint internal channel.
Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com >
Reviewed-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20211014131228.4692-3-olivier.moysan@foss.st.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2021-10-20 14:43:54 +01:00
Olivier Moysan
664b9879f5
dt-bindings: iio: stm32-adc: add generic channel binding
...
Add ADC generic channel binding. This binding should
be used as an alternate to legacy channel properties
whenever possible.
ADC generic channel binding allows to identify supported
internal channels through the following reserved label names:
"vddcore", "vrefint" and "vbat".
This binding also allows to set a different sampling time
for each channel.
Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com >
Reviewed-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20211014131228.4692-2-olivier.moysan@foss.st.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2021-10-20 14:43:54 +01:00
Linus Torvalds
a99163e9e7
Merge tag 'devicetree-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
...
Pull devicetree updates from Rob Herring:
- Sync dtc to upstream version v1.6.0-51-g183df9e9c2b9 and build host
fdtoverlay
- Add kbuild support to build DT overlays (%.dtbo)
- Drop NULLifying match table in of_match_device().
In preparation for this, there are several driver cleanups to use
(of_)?device_get_match_data().
- Drop pointless wrappers from DT struct device API
- Convert USB binding schemas to use graph schema and remove old plain
text graph binding doc
- Convert spi-nor and v3d GPU bindings to DT schema
- Tree wide schema fixes for if/then schemas, array size constraints,
and undocumented compatible strings in examples
- Handle 'no-map' correctly for already reserved memblock regions
* tag 'devicetree-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (35 commits)
driver core: platform: Drop of_device_node_put() wrapper
of: Remove of_dev_{get,put}()
dt-bindings: usb: Change descibe to describe in usbmisc-imx.txt
dt-bindings: can: rcar_canfd: Group tuples in pin control properties
dt-bindings: power: renesas,apmu: Group tuples in cpus properties
dt-bindings: mtd: spi-nor: Convert to DT schema format
dt-bindings: Use portable sort for version cmp
dt-bindings: ethernet-controller: fix fixed-link specification
dt-bindings: irqchip: Add node name to PRUSS INTC
dt-bindings: interconnect: Fix the expected number of cells
dt-bindings: Fix errors in 'if' schemas
dt-bindings: iommu: renesas,ipmmu-vmsa: Make 'power-domains' conditionally required
dt-bindings: Fix undocumented compatible strings in examples
kbuild: Add support to build overlays (%.dtbo)
scripts: dtc: Remove the unused fdtdump.c file
scripts: dtc: Build fdtoverlay tool
scripts/dtc: Update to upstream version v1.6.0-51-g183df9e9c2b9
scripts: dtc: Fetch fdtoverlay.c from external DTC project
dt-bindings: thermal: sun8i: Fix misplaced schema keyword in compatible strings
dt-bindings: iio: dac: Fix AD5686 references
...
2021-02-22 10:05:12 -08:00
Rob Herring
32ada6b098
dt-bindings: Cleanup standard unit properties
...
Properties with standard unit suffixes already have a type and don't need
type definitions. They also default to a single entry, so 'maxItems: 1'
can be dropped.
adi,ad5758 is an oddball which defined an enum of arrays. While a valid
schema, it is simpler as a whole to only define scalar constraints.
Cc: Jean Delvare <jdelvare@suse.com >
Cc: Lars-Peter Clausen <lars@metafoo.de >
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com >
Cc: Ulf Hansson <ulf.hansson@linaro.org >
Cc: "David S. Miller" <davem@davemloft.net >
Cc: Jakub Kicinski <kuba@kernel.org >
Cc: Serge Semin <fancer.lancer@gmail.com >
Cc: linux-hwmon@vger.kernel.org
Cc: linux-i2c@vger.kernel.org
Cc: linux-iio@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-input@vger.kernel.org
Cc: linux-mmc@vger.kernel.org
Cc: netdev@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Cc: linux-rtc@vger.kernel.org
Cc: linux-serial@vger.kernel.org
Cc: alsa-devel@alsa-project.org
Cc: linux-watchdog@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
Acked-by: Guenter Roeck <linux@roeck-us.net >
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Wolfram Sang <wsa@kernel.org > # for I2C
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Acked-by: Sebastian Reichel <sre@kernel.org > # for power-supply
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com > #for-iio
Acked-by: Alexandre TORGUE <alexandre.torgue@foss.st.com >
Link: https://lore.kernel.org/r/20210128194515.743252-1-robh@kernel.org
2021-01-29 16:36:06 -06:00
Rob Herring
0499220d6d
dt-bindings: Add missing array size constraints
...
DT properties which can have multiple entries need to specify what the
entries are and define how many entries there can be. In the case of
only a single entry, just 'maxItems: 1' is sufficient.
Add the missing entry constraints. These were found with a modified
meta-schema. Unfortunately, there are a few cases where the size
constraints are not defined such as common bindings, so the meta-schema
can't be part of the normal checks.
Cc: Jens Axboe <axboe@kernel.dk >
Cc: Stephen Boyd <sboyd@kernel.org >
Cc: Thierry Reding <thierry.reding@gmail.com >
Cc: MyungJoo Ham <myungjoo.ham@samsung.com >
Cc: Chanwoo Choi <cw00.choi@samsung.com >
Cc: Linus Walleij <linus.walleij@linaro.org >
Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com >
Cc: Jonathan Cameron <jic23@kernel.org >
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Marc Zyngier <maz@kernel.org >
Cc: Mauro Carvalho Chehab <mchehab@kernel.org >
Cc: Chen-Yu Tsai <wens@csie.org >
Cc: Ulf Hansson <ulf.hansson@linaro.org >
Cc: "David S. Miller" <davem@davemloft.net >
Cc: Jakub Kicinski <kuba@kernel.org >
Cc: Sebastian Reichel <sre@kernel.org >
Cc: Ohad Ben-Cohen <ohad@wizery.com >
Cc: Bjorn Andersson <bjorn.andersson@linaro.org >
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Acked-by: Sebastian Reichel <sre@kernel.org >
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com > #for-iio
Acked-by: Chanwoo Choi <cw00.choi@samsung.com >
Reviewed-by: Suman Anna <s-anna@ti.com >
Acked-by: Paul Cercueil <paul@crapouillou.net >
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com >
Acked-by: Bartosz Golaszewski <bgolaszewski@baylibre.com >
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Link: https://lore.kernel.org/r/20210104230253.2805217-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2021-01-11 17:42:25 -06:00
Linus Torvalds
571d54ed91
Merge tag 'devicetree-for-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
...
Pull devicetree updates from Rob Herring:
- Convert various DT (non-binding) doc files to ReST
- Various improvements to device link code
- Fix __of_attach_node_sysfs refcounting bug
- Add support for 'memory-region-names' with reserved-memory binding
- Vendor prefixes for Protonic Holland, BeagleBoard.org, Alps, Check
Point, Würth Elektronik, U-Boot, Vaisala, Baikal Electronics,
Shanghai Awinic Technology Co., MikroTik, Silex Insight
- A bunch more binding conversions to DT schema. Only 3K to go.
- Add a minimum version check for schema tools
- Treewide dropping of 'allOf' usage with schema references. Not needed
in new json-schema spec.
- Some formatting clean-ups of schemas
* tag 'devicetree-for-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (194 commits)
dt-bindings: clock: Add documentation for X1830 bindings.
dt-bindings: mailbox: Convert imx mu to json-schema
dt-bindings: power: Convert imx gpcv2 to json-schema
dt-bindings: power: Convert imx gpc to json-schema
dt-bindings: Merge gpio-usb-b-connector with usb-connector
dt-bindings: timer: renesas: cmt: Convert to json-schema
dt-bindings: clock: Convert i.MX8QXP LPCG to json-schema
dt-bindings: timer: Convert i.MX GPT to json-schema
dt-bindings: thermal: rcar-thermal: Add device tree support for r8a7742
dt-bindings: serial: Add binding for UART pin swap
dt-bindings: geni-se: Add interconnect binding for GENI QUP
dt-bindings: geni-se: Convert QUP geni-se bindings to YAML
dt-bindings: vendor-prefixes: Add Silex Insight vendor prefix
dt-bindings: input: touchscreen: edt-ft5x06: change reg property
dt-bindings: usb: qcom,dwc3: Introduce interconnect properties for Qualcomm DWC3 driver
dt-bindings: timer: renesas: mtu2: Convert to json-schema
of/fdt: Remove redundant kbasename function call
dt-bindings: clock: Convert i.MX1 clock to json-schema
dt-bindings: clock: Convert i.MX21 clock to json-schema
dt-bindings: clock: Convert i.MX25 clock to json-schema
...
2020-06-04 20:11:25 -07:00
Rob Herring
3d21a46093
dt-bindings: Remove cases of 'allOf' containing a '$ref'
...
json-schema versions draft7 and earlier have a weird behavior in that
any keywords combined with a '$ref' are ignored (silently). The correct
form was to put a '$ref' under an 'allOf'. This behavior is now changed
in the 2019-09 json-schema spec and '$ref' can be mixed with other
keywords. The json-schema library doesn't yet support this, but the
tooling now does a fixup for this and either way works.
This has been a constant source of review comments, so let's change this
treewide so everyone copies the simpler syntax.
Scripted with ruamel.yaml with some manual fixups. Some minor whitespace
changes from the script.
Signed-off-by: Rob Herring <robh@kernel.org >
Acked-by: Maxime Ripard <mripard@kernel.org >
Acked-by: Lee Jones <lee.jones@linaro.org >
Acked-By: Vinod Koul <vkoul@kernel.org >
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
Acked-by: Wolfram Sang <wsa@the-dreams.de > # for I2C
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com > #for-iio
Reviewed-by: Stephen Boyd <sboyd@kernel.org > # clock
Signed-off-by: Rob Herring <robh@kernel.org >
2020-05-03 11:10:41 -05:00
Fabrice Gasnier
6f63c90aa3
dt-bindings: iio: adc: stm32-adc: fix id relative path
...
Fix id relative path that shouldn't contain 'bindings', as pointed out
when submitting st,stm32-dac bindings conversion to json-schema [1].
[1] https://patchwork.ozlabs.org/patch/1257568/
Fixes: a8cf1723c4 ("dt-bindings: iio: adc: stm32-adc: convert bindings to json-schema")
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com >
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2020-04-19 17:50:01 +01:00
Fabrice Gasnier
a8cf1723c4
dt-bindings: iio: adc: stm32-adc: convert bindings to json-schema
...
Convert the STM32 ADC binding to DT schema format using json-schema
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2020-02-14 12:08:05 +00:00