pinctrl: aspeed: Document existence of deprecated compatibles
Otherwise they look odd in the face of not being listed in the bindings documents. Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Link: https://lore.kernel.org/r/20190724081313.12934-3-andrew@aj.id.au Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
2eda1cdec4
commit
73c732c571
@ -2660,6 +2660,10 @@ static int aspeed_g4_pinctrl_probe(struct platform_device *pdev)
|
|||||||
|
|
||||||
static const struct of_device_id aspeed_g4_pinctrl_of_match[] = {
|
static const struct of_device_id aspeed_g4_pinctrl_of_match[] = {
|
||||||
{ .compatible = "aspeed,ast2400-pinctrl", },
|
{ .compatible = "aspeed,ast2400-pinctrl", },
|
||||||
|
/*
|
||||||
|
* The aspeed,g4-pinctrl compatible has been removed the from the
|
||||||
|
* bindings, but keep the match in case of old devicetrees.
|
||||||
|
*/
|
||||||
{ .compatible = "aspeed,g4-pinctrl", },
|
{ .compatible = "aspeed,g4-pinctrl", },
|
||||||
{ },
|
{ },
|
||||||
};
|
};
|
||||||
|
@ -2783,6 +2783,10 @@ static int aspeed_g5_pinctrl_probe(struct platform_device *pdev)
|
|||||||
|
|
||||||
static const struct of_device_id aspeed_g5_pinctrl_of_match[] = {
|
static const struct of_device_id aspeed_g5_pinctrl_of_match[] = {
|
||||||
{ .compatible = "aspeed,ast2500-pinctrl", },
|
{ .compatible = "aspeed,ast2500-pinctrl", },
|
||||||
|
/*
|
||||||
|
* The aspeed,g5-pinctrl compatible has been removed the from the
|
||||||
|
* bindings, but keep the match in case of old devicetrees.
|
||||||
|
*/
|
||||||
{ .compatible = "aspeed,g5-pinctrl", },
|
{ .compatible = "aspeed,g5-pinctrl", },
|
||||||
{ },
|
{ },
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user