Krzysztof Kozlowski
1e52a7e679
dt-bindings: mmc: drop unneeded quotes
...
Cleanup by removing unneeded quotes from refs and redundant blank lines.
No functional impact except adjusting to preferred coding style.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com > # for Renesas controllers
Reviewed-by: Heiko Stuebner <heiko@sntech.de >
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20230120085722.171965-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2023-01-24 13:30:30 +01:00
Andrew Lunn
dd3cb467eb
dt-bindings: Remove 'Device Tree Bindings' from end of title:
...
As indicated in
link: https://lore.kernel.org/all/20220822204945.GA808626-robh@kernel.org/
DT schema files should not have 'Device Tree Binding' as part of there
title: line. Remove this in most .yaml files, so hopefully preventing
developers copying it into new .yaml files, and being asked to remove
it.
Signed-off-by: Andrew Lunn <andrew@lunn.ch >
Link: https://lore.kernel.org/r/20220825020427.3460650-1-andrew@lunn.ch
Signed-off-by: Rob Herring <robh@kernel.org >
2022-08-25 14:06:57 -05:00
Jesse Taube
e23b2f54db
dt-bindings: mmc: sunxi: add Allwinner F1c100s compatible
...
The Allwinner F1C100 series contains two MMC controller blocks. From
comparing the data sheets, they seem to be compatible with the one used
in the Allwinner A20: the register layout is the same, and they use the
same separate sample and output clocks design.
The only difference is the missing reset line in the A20 version, but
both the binding and the Linux driver make this optional, so it's still
a fit.
Add the new SoC specific name and require it to be paired with the A20
fallback name, as this is all the driver needs to care about.
Signed-off-by: Jesse Taube <Mr.Bossman075@gmail.com >
Signed-off-by: Andre Przywara <andre.przywara@arm.com >
Acked-by: Rob Herring <robh@kernel.org >
Acked-by: Samuel Holland <samuel@sholland.org >
Link: https://lore.kernel.org/r/20220307143421.1106209-8-andre.przywara@arm.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2022-03-11 16:37:20 +01:00
Samuel Holland
02d9c3f436
dt-bindings: mmc: sunxi: Add D1 MMC and eMMC compatibles
...
D1 contains variants of the usual sunxi MMC controller. The eMMC
controller has the same parameters as the A100 eMMC controller. The
other controllers have a DMA address shift like on A100, but they have
a smaller 13-bit size field, making them a new incompatible variant.
Signed-off-by: Samuel Holland <samuel@sholland.org >
Acked-by: Maxime Ripard <maxime@cerno.tech >
Link: https://lore.kernel.org/r/20220203015112.12008-1-samuel@sholland.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2022-02-28 13:06:22 +01:00
Rob Herring
972d6a7dce
dt-bindings: Drop redundant minItems/maxItems
...
If a property has an 'items' list, then a 'minItems' or 'maxItems' with the
same size as the list is redundant and can be dropped. Note that is DT
schema specific behavior and not standard json-schema behavior. The tooling
will fixup the final schema adding any unspecified minItems/maxItems.
This condition is partially checked with the meta-schema already, but
only if both 'minItems' and 'maxItems' are equal to the 'items' length.
An improved meta-schema is pending.
Cc: Jens Axboe <axboe@kernel.dk >
Cc: Stephen Boyd <sboyd@kernel.org >
Cc: Herbert Xu <herbert@gondor.apana.org.au >
Cc: "David S. Miller" <davem@davemloft.net >
Cc: David Airlie <airlied@linux.ie >
Cc: Daniel Vetter <daniel@ffwll.ch >
Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com >
Cc: Kamal Dasu <kdasu.kdev@gmail.com >
Cc: Lars-Peter Clausen <lars@metafoo.de >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Marc Zyngier <maz@kernel.org >
Cc: Joerg Roedel <joro@8bytes.org >
Cc: Mauro Carvalho Chehab <mchehab@kernel.org >
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Cc: Jakub Kicinski <kuba@kernel.org >
Cc: Wolfgang Grandegger <wg@grandegger.com >
Cc: Andrew Lunn <andrew@lunn.ch >
Cc: Vivien Didelot <vivien.didelot@gmail.com >
Cc: Vladimir Oltean <olteanv@gmail.com >
Cc: Bjorn Helgaas <bhelgaas@google.com >
Cc: Kishon Vijay Abraham I <kishon@ti.com >
Cc: Linus Walleij <linus.walleij@linaro.org >
Cc: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de >
Cc: Lee Jones <lee.jones@linaro.org >
Cc: Ohad Ben-Cohen <ohad@wizery.com >
Cc: Mathieu Poirier <mathieu.poirier@linaro.org >
Cc: Paul Walmsley <paul.walmsley@sifive.com >
Cc: Palmer Dabbelt <palmer@dabbelt.com >
Cc: Albert Ou <aou@eecs.berkeley.edu >
Cc: Alessandro Zummo <a.zummo@towertech.it >
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com >
Cc: Zhang Rui <rui.zhang@intel.com >
Cc: Daniel Lezcano <daniel.lezcano@linaro.org >
Cc: Wim Van Sebroeck <wim@linux-watchdog.org >
Cc: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Rob Herring <robh@kernel.org >
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de >
Acked-by: Ulf Hansson <ulf.hansson@linaro.org > # for MMC
Acked-by: Jassi Brar <jassisinghbrar@gmail.com >
Acked-By: Vinod Koul <vkoul@kernel.org >
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Reviewed-by: Arnaud Pouliquen <arnaud.pouliquen@st.com >
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Philipp Zabel <p.zabel@pengutronix.de >
Acked-by: Wolfram Sang <wsa@kernel.org > # for I2C
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Link: https://lore.kernel.org/r/20210615191543.1043414-1-robh@kernel.org
2021-06-21 13:56:46 -06:00
Yangtao Li
b79ee3852c
dt-bindings: mmc: sunxi: Add Allwinner A100 and H616 compatibles
...
Add binding for A100's and H616's mmc and emmc controller.
Signed-off-by: Yangtao Li <frank@allwinnertech.com >
Signed-off-by: Andre Przywara <andre.przywara@arm.com >
Link: https://lore.kernel.org/r/20201211011934.6171-9-andre.przywara@arm.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2021-02-01 11:54:42 +01:00
Maxime Ripard
5c7404bb30
dt-bindings: Change maintainer address
...
While my email address has changed for a while, all the schemas I
contributed still have the old one unfortunately. Update it.
Signed-off-by: Maxime Ripard <maxime@cerno.tech >
Signed-off-by: Rob Herring <robh@kernel.org >
2019-12-12 18:38:10 -06:00
Maxime Ripard
454f5d9da1
dt-bindings: Remove FIXME in yaml bindings
...
Some binding that were introduced early on got a comment to enable
additionalProperties, but we couldn't due to the generic properties being
reported as errors.
The way we're dealing with this now is to use the draft-08's
unevaluatedProperties (even though the tools doesn't do anything with it
yet).
Let's convert those old bindings to it.
Signed-off-by: Maxime Ripard <maxime@cerno.tech >
Signed-off-by: Rob Herring <robh@kernel.org >
2019-11-05 22:23:46 -06:00
Maxime Ripard
f84cf82bae
dt-bindings: mmc: sunxi: Add H5 compatibles
...
The conversion to the YAML binding left out two compatibles. Add them.
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com >
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2019-09-11 15:58:39 +02:00
Maxime Ripard
d9f43d113e
dt-bindings: mmc: sunxi: reorder MMC compatibles
...
The MMC compatibles in the bindings are not ordered as they should, so
let's make sure it's sorted.
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com >
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2019-09-11 15:58:39 +02:00
Maxime Ripard
ca4570a4c2
dt-bindings: mmc: sun4i: Add YAML schemas
...
Switch the DT binding to a YAML schema to enable the DT validation.
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com >
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2019-06-10 17:11:09 +02:00