public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Dragan Simic <dsimic@manjaro.org>
To: Jonas Karlman <jonas@kwiboo.se>
Cc: Kever Yang <kever.yang@rock-chips.com>,
	Simon Glass <sjg@chromium.org>,
	Philipp Tomsich <philipp.tomsich@vrull.eu>,
	Tom Rini <trini@konsulko.com>,
	Peter Robinson <pbrobinson@gmail.com>,
	u-boot@lists.denx.de
Subject: Re: [PATCH 30/31] rockchip: rk3399-pinebook-pro: Sync device tree from linux v6.8
Date: Sun, 31 Mar 2024 23:33:14 +0200	[thread overview]
Message-ID: <e0cb4cf1b038460ce476a555acd9eeb7@manjaro.org> (raw)
In-Reply-To: <20240331202921.262323-31-jonas@kwiboo.se>

On 2024-03-31 22:28, Jonas Karlman wrote:
> Sync rk3399-pinebook-pro device tree from linux v6.8.
> 
> Add SF_DEFAULT_SPEED=10000000 and SPI_FLASH_SFDP_SUPPORT=y to improve
> support for booting from SPI flash.
> 
> Add CMD_POWEROFF=y to support poweroff using cmdline and power on using
> the pwr button on the board.
> 
> Remove SPL_TINY_MEMSET=y to use full memset in SPL.
> 
> Signed-off-by: Jonas Karlman <jonas@kwiboo.se>

Looking good to me.

Reviewed-by: Dragan Simic <dsimic@manjaro.org>

> ---
>  arch/arm/dts/rk3399-pinebook-pro.dts  | 24 +++++++-----------------
>  configs/pinebook-pro-rk3399_defconfig |  6 ++++--
>  2 files changed, 11 insertions(+), 19 deletions(-)
> 
> diff --git a/arch/arm/dts/rk3399-pinebook-pro.dts
> b/arch/arm/dts/rk3399-pinebook-pro.dts
> index d6b68d77d63a..054c6a4d1a45 100644
> --- a/arch/arm/dts/rk3399-pinebook-pro.dts
> +++ b/arch/arm/dts/rk3399-pinebook-pro.dts
> @@ -50,19 +50,9 @@
>  		pinctrl-0 = <&panel_en_pin>;
>  		power-supply = <&vcc3v3_panel>;
> 
> -		ports {
> -			#address-cells = <1>;
> -			#size-cells = <0>;
> -
> -			port@0 {
> -				reg = <0>;
> -				#address-cells = <1>;
> -				#size-cells = <0>;
> -
> -				panel_in_edp: endpoint@0 {
> -					reg = <0>;
> -					remote-endpoint = <&edp_out_panel>;
> -				};
> +		port {
> +			panel_in_edp: endpoint {
> +				remote-endpoint = <&edp_out_panel>;
>  			};
>  		};
>  	};
> @@ -76,7 +66,7 @@
>  		pinctrl-names = "default";
>  		pinctrl-0 = <&lidbtn_pin>;
> 
> -		lid {
> +		switch-lid {
>  			debounce-interval = <20>;
>  			gpios = <&gpio1 RK_PA1 GPIO_ACTIVE_LOW>;
>  			label = "Lid";
> @@ -92,7 +82,7 @@
>  		pinctrl-names = "default";
>  		pinctrl-0 = <&pwrbtn_pin>;
> 
> -		power {
> +		key-power {
>  			debounce-interval = <20>;
>  			gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
>  			label = "Power";
> @@ -675,7 +665,7 @@
>  	i2c-scl-rising-time-ns = <168>;
>  	status = "okay";
> 
> -	es8316: es8316@11 {
> +	es8316: audio-codec@11 {
>  		compatible = "everest,es8316";
>  		reg = <0x11>;
>  		clocks = <&cru SCLK_I2S_8CH_OUT>;
> @@ -943,7 +933,7 @@
>  	disable-wp;
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
> -	sd-uhs-sdr104;
> +	sd-uhs-sdr50;
>  	vmmc-supply = <&vcc3v0_sd>;
>  	vqmmc-supply = <&vcc_sdio>;
>  	status = "okay";
> diff --git a/configs/pinebook-pro-rk3399_defconfig
> b/configs/pinebook-pro-rk3399_defconfig
> index dd8bc2b72cc3..8ac6ddd49dea 100644
> --- a/configs/pinebook-pro-rk3399_defconfig
> +++ b/configs/pinebook-pro-rk3399_defconfig
> @@ -4,7 +4,7 @@ CONFIG_COUNTER_FREQUENCY=24000000
>  CONFIG_ARCH_ROCKCHIP=y
>  CONFIG_SPL_GPIO=y
>  CONFIG_NR_DRAM_BANKS=1
> -CONFIG_SF_DEFAULT_SPEED=20000000
> +CONFIG_SF_DEFAULT_SPEED=10000000
>  CONFIG_ENV_SIZE=0x8000
>  CONFIG_ENV_OFFSET=0x3F8000
>  CONFIG_DEFAULT_DEVICE_TREE="rk3399-pinebook-pro"
> @@ -36,6 +36,7 @@ CONFIG_CMD_GPT=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_POWEROFF=y
>  CONFIG_CMD_USB=y
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_CMD_TIME=y
> @@ -64,7 +65,9 @@ CONFIG_MMC_SDHCI=y
>  CONFIG_MMC_SDHCI_SDMA=y
>  CONFIG_MMC_SDHCI_ROCKCHIP=y
>  CONFIG_SF_DEFAULT_BUS=1
> +CONFIG_SPI_FLASH_SFDP_SUPPORT=y
>  CONFIG_SPI_FLASH_GIGADEVICE=y
> +CONFIG_SPI_FLASH_SILICONKAISER=y
>  CONFIG_SPI_FLASH_WINBOND=y
>  CONFIG_NVME_PCI=y
>  CONFIG_PHY_ROCKCHIP_INNO_USB2=y
> @@ -98,5 +101,4 @@ CONFIG_VIDEO=y
>  CONFIG_DISPLAY=y
>  CONFIG_VIDEO_ROCKCHIP=y
>  CONFIG_DISPLAY_ROCKCHIP_EDP=y
> -CONFIG_SPL_TINY_MEMSET=y
>  CONFIG_ERRNO_STR=y

  reply	other threads:[~2024-03-31 21:33 UTC|newest]

Thread overview: 108+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-31 20:28 [PATCH 00/31] rockchip: rk3399: Sync DT with linux v6.8 and update defconfigs Jonas Karlman
2024-03-31 20:28 ` [PATCH 01/31] rockchip: rk3399-gru: Fix max SPL size on bob and kevin Jonas Karlman
2024-04-23 10:59   ` Kever Yang
2024-03-31 20:28 ` [PATCH 02/31] rockchip: rk3399-ficus: Enable TPL and use common bss and stack addr Jonas Karlman
2024-04-02 13:10   ` Quentin Schulz
2024-04-02 13:47     ` Jonas Karlman
2024-04-03  4:45   ` Peter Robinson
2024-04-23 11:00   ` Kever Yang
2024-03-31 20:28 ` [PATCH 03/31] rockchip: rk3399: Sort imply statements alphabetically Jonas Karlman
2024-04-23 11:01   ` Kever Yang
2024-03-31 20:28 ` [PATCH 04/31] rockchip: rk3399: Enable ARMv8 crypto and FIT checksum validation Jonas Karlman
2024-04-02 13:22   ` Quentin Schulz
2024-05-01 11:37     ` Jonas Karlman
2024-04-23 11:01   ` Kever Yang
2024-03-31 20:28 ` [PATCH 05/31] rockchip: rk3399: Enable random generator on all boards Jonas Karlman
2024-04-02 13:55   ` Quentin Schulz
2024-04-03  4:44   ` Peter Robinson
2024-04-23 11:01   ` Kever Yang
2024-03-31 20:28 ` [PATCH 06/31] rockchip: rk3399: Imply support for GbE PHY Jonas Karlman
2024-04-02 13:56   ` Quentin Schulz
2024-04-23 11:01   ` Kever Yang
2024-03-31 20:28 ` [PATCH 07/31] rockchip: rk3399: Enable DT overlay support on all boards Jonas Karlman
2024-04-02 13:56   ` Quentin Schulz
2024-04-23 11:02   ` Kever Yang
2024-03-31 20:28 ` [PATCH 08/31] rockchip: rk3399: Remove use of xPL_MISC_DRIVERS options Jonas Karlman
2024-04-02 14:23   ` Quentin Schulz
2024-04-23 11:02   ` Kever Yang
2024-03-31 20:28 ` [PATCH 09/31] rockchip: rk3399: Add a default spl-boot-order prop Jonas Karlman
2024-04-02 14:02   ` Quentin Schulz
2024-05-01 11:47     ` Jonas Karlman
2024-04-23 11:02   ` Kever Yang
2024-03-31 20:28 ` [PATCH 10/31] rockchip: rk3399: Fix loading FIT from SD-card when booting from eMMC Jonas Karlman
2024-04-02 14:31   ` Quentin Schulz
2024-04-23 11:03   ` Kever Yang
2024-03-31 20:28 ` [PATCH 11/31] clk: rockchip: rk3399: Rename SCLK_DDRCLK to SCLK_DDRC Jonas Karlman
2024-04-01  8:56   ` Sumit Garg
2024-04-01  9:49     ` Jonas Karlman
2024-04-23 11:03   ` Kever Yang
2024-03-31 20:28 ` [PATCH 12/31] clk: rockchip: rk3399: Add dummy support for ACLK_VDU clock Jonas Karlman
2024-04-23 11:03   ` Kever Yang
2024-03-31 20:28 ` [PATCH 13/31] clk: rockchip: rk3399: Add dummy support for SCLK_PCIEPHY_REF clock Jonas Karlman
2024-04-02 14:44   ` Quentin Schulz
2024-05-01 11:58     ` Jonas Karlman
2024-04-23 11:03   ` Kever Yang
2024-03-31 20:28 ` [PATCH 14/31] clk: rockchip: rk3399: Add SCLK_USB3OTGx_REF support Jonas Karlman
2024-04-02 14:46   ` Quentin Schulz
2024-04-23 11:03   ` Kever Yang
2024-03-31 20:28 ` [PATCH 15/31] rockchip: rk3399: Sync soc device tree from linux v6.8 Jonas Karlman
2024-04-02 15:02   ` Quentin Schulz
2024-05-01 12:06     ` Jonas Karlman
2024-04-23 11:03   ` Kever Yang
2024-03-31 20:28 ` [PATCH 16/31] rockchip: rk3399-gru: Sync " Jonas Karlman
2024-04-23 11:03   ` Kever Yang
2024-03-31 20:28 ` [PATCH 17/31] rockchip: rk3399-puma: Sync DT " Jonas Karlman
2024-04-02 15:13   ` Quentin Schulz
2024-04-23 11:08   ` Kever Yang
2024-03-31 20:28 ` [PATCH 18/31] rockchip: rk3399-rock-pi-n10: Sync device tree " Jonas Karlman
2024-04-23 11:09   ` Kever Yang
2024-03-31 20:28 ` [PATCH 19/31] rockchip: rk3399-eaidk-610: " Jonas Karlman
2024-04-23 11:09   ` Kever Yang
2024-03-31 20:28 ` [PATCH 20/31] rockchip: rk3399-leez: " Jonas Karlman
2024-04-23 11:09   ` Kever Yang
2024-03-31 20:28 ` [PATCH 21/31] rockchip: rk3399-evb: " Jonas Karlman
2024-04-23 11:09   ` Kever Yang
2024-03-31 20:28 ` [PATCH 22/31] rockchip: rk3399-firefly: " Jonas Karlman
2024-04-23 11:10   ` Kever Yang
2024-03-31 20:28 ` [PATCH 23/31] rockchip: rk3399-orangepi: " Jonas Karlman
2024-04-23 11:11   ` Kever Yang
2024-03-31 20:28 ` [PATCH 24/31] rockchip: rk3399-roc-pc: " Jonas Karlman
2024-04-23 11:12   ` Kever Yang
2024-03-31 20:28 ` [PATCH 25/31] rockchip: rk3399-nanopi-4: " Jonas Karlman
2024-04-23 11:12   ` Kever Yang
2024-03-31 20:28 ` [PATCH 26/31] rockchip: rk3399-rock960: " Jonas Karlman
2024-04-03  4:53   ` Peter Robinson
2024-05-01 12:28     ` Jonas Karlman
2024-04-23 11:13   ` Kever Yang
2024-03-31 20:28 ` [PATCH 27/31] rockchip: rk3399-khadas: " Jonas Karlman
2024-04-23 11:14   ` Kever Yang
2024-03-31 20:28 ` [PATCH 28/31] rockchip: rk3399-rock-pi-4: " Jonas Karlman
2024-03-31 22:53   ` Dragan Simic
2024-03-31 23:14     ` Jonas Karlman
2024-03-31 23:30       ` Dragan Simic
2024-03-31 23:41         ` Jonas Karlman
2024-03-31 23:48           ` Dragan Simic
2024-04-02 21:41   ` Christopher Obbard
2024-04-23 11:14   ` Kever Yang
2024-03-31 20:28 ` [PATCH 29/31] rockchip: rk3399-rockpro64: " Jonas Karlman
2024-03-31 21:24   ` Dragan Simic
2024-04-23 11:14   ` Kever Yang
2024-03-31 20:28 ` [PATCH 30/31] rockchip: rk3399-pinebook-pro: " Jonas Karlman
2024-03-31 21:33   ` Dragan Simic [this message]
2024-04-23 11:14   ` Kever Yang
2024-03-31 20:28 ` [PATCH 31/31] rockchip: rk3399-pinephone-pro: " Jonas Karlman
2024-03-31 21:35   ` Dragan Simic
2024-04-23 11:15   ` Kever Yang
2024-04-01  8:52 ` [PATCH 00/31] rockchip: rk3399: Sync DT with linux v6.8 and update defconfigs Sumit Garg
2024-04-01  9:45   ` Jonas Karlman
2024-04-01 10:01     ` Jonas Karlman
2024-04-01 10:53       ` Sumit Garg
2024-04-01 11:04         ` Jonas Karlman
2024-04-01 11:33           ` Sumit Garg
2024-04-01 10:08     ` Sumit Garg
2024-04-01 10:24       ` Jonas Karlman
2024-04-01 11:15         ` Sumit Garg
2024-04-02 15:16 ` Quentin Schulz
2024-04-03  4:42 ` Peter Robinson
2024-04-23 11:27 ` Kever Yang
2024-04-24  9:21   ` Jonas Karlman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e0cb4cf1b038460ce476a555acd9eeb7@manjaro.org \
    --to=dsimic@manjaro.org \
    --cc=jonas@kwiboo.se \
    --cc=kever.yang@rock-chips.com \
    --cc=pbrobinson@gmail.com \
    --cc=philipp.tomsich@vrull.eu \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox