[U-Boot] [U-Boot, 1/3] arm: dts: rockchip: add some common pin-settings to rk3399

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Fri Jul 20 16:26:19 UTC 2018



On Mon, 16 Jul 2018, Ezequiel Garcia wrote:

> From: Randy Li <ayaka at soulik.info>
>
> Those pins would be used by many boards.

The Rockchip pinctrl driver in U-Boot does not (yet) read the DTS for pin 
configuration information.

Is this a sync of the Linux DTS (which seems unlikely, as I'd expect more 
changes) or why are we doing this as part of this series?

>
> Signed-off-by: Randy Li <ayaka at soulik.info>
> Signed-off-by: Heiko Stuebner <heiko at sntech.de>
> Signed-off-by: Ezequiel Garcia <ezequiel at collabora.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> ---
> arch/arm/dts/rk3399.dtsi | 55 +++++++++++++++++++++++++++++++++++-----
> 1 file changed, 49 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/dts/rk3399.dtsi b/arch/arm/dts/rk3399.dtsi
> index 83c257b1228b..8349451b03dc 100644
> --- a/arch/arm/dts/rk3399.dtsi
> +++ b/arch/arm/dts/rk3399.dtsi
> @@ -1602,19 +1602,49 @@
> 			drive-strength = <12>;
> 		};
>
> +		pcfg_pull_none_13ma: pcfg-pull-none-13ma {
> +			bias-disable;
> +			drive-strength = <13>;
> +		};
> +
> +		pcfg_pull_none_18ma: pcfg-pull-none-18ma {
> +			bias-disable;
> +			drive-strength = <18>;
> +		};
> +
> +		pcfg_pull_none_20ma: pcfg-pull-none-20ma {
> +			bias-disable;
> +			drive-strength = <20>;
> +		};
> +
> +		pcfg_pull_up_2ma: pcfg-pull-up-2ma {
> +			bias-pull-up;
> +			drive-strength = <2>;
> +		};
> +
> 		pcfg_pull_up_8ma: pcfg-pull-up-8ma {
> 			bias-pull-up;
> 			drive-strength = <8>;
> 		};
>
> +		pcfg_pull_up_18ma: pcfg-pull-up-18ma {
> +			bias-pull-up;
> +			drive-strength = <18>;
> +		};
> +
> +		pcfg_pull_up_20ma: pcfg-pull-up-20ma {
> +			bias-pull-up;
> +			drive-strength = <20>;
> +		};
> +
> 		pcfg_pull_down_4ma: pcfg-pull-down-4ma {
> 			bias-pull-down;
> 			drive-strength = <4>;
> 		};
>
> -		pcfg_pull_up_2ma: pcfg-pull-up-2ma {
> -			bias-pull-up;
> -			drive-strength = <2>;
> +		pcfg_pull_down_8ma: pcfg-pull-down-8ma {
> +			bias-pull-down;
> +			drive-strength = <8>;
> 		};
>
> 		pcfg_pull_down_12ma: pcfg-pull-down-12ma {
> @@ -1622,9 +1652,22 @@
> 			drive-strength = <12>;
> 		};
>
> -		pcfg_pull_none_13ma: pcfg-pull-none-13ma {
> -			bias-disable;
> -			drive-strength = <13>;
> +		pcfg_pull_down_18ma: pcfg-pull-down-18ma {
> +			bias-pull-down;
> +			drive-strength = <18>;
> +		};
> +
> +		pcfg_pull_down_20ma: pcfg-pull-down-20ma {
> +			bias-pull-down;
> +			drive-strength = <20>;
> +		};
> +
> +		pcfg_output_high: pcfg-output-high {
> +			output-high;
> +		};
> +
> +		pcfg_output_low: pcfg-output-low {
> +			output-low;
> 		};
>
> 		clock {
>


More information about the U-Boot mailing list