U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Dang Huynh <danct12@riseup.net>
To: Jonas Karlman <jonas@kwiboo.se>
Cc: Anatolij Gustschin <agust@denx.de>,
	Simon Glass <sjg@chromium.org>,
	Philipp Tomsich <philipp.tomsich@vrull.eu>,
	Kever Yang <kever.yang@rock-chips.com>,
	Tom Rini <trini@konsulko.com>,
	Nicolas Frattaroli <frattaroli.nicolas@gmail.com>,
	Ondrej Jirman <megi@xff.cz>, Dragan Simic <dsimic@manjaro.org>,
	Svyatoslav Ryhel <clamor95@gmail.com>,
	Lukasz Majewski <lukma@denx.de>,
	Sean Anderson <seanga2@gmail.com>,
	u-boot@lists.denx.de, Piotr Zalewski <pZ010001011111@proton.me>
Subject: Re: [PATCH v3 11/12] configs: pinetab2-rk3566: Enable video and USB keyboard
Date: Tue, 15 Apr 2025 20:29:25 +0700	[thread overview]
Message-ID: <Z_5fNUPHuDP1cPmC@melt-pi5> (raw)
In-Reply-To: <6d852aca-dcc8-4098-9406-fc09738a205d@kwiboo.se>

On Sun, Apr 13, 2025 at 05:26:03PM +0200, Jonas Karlman wrote:
> Hi,
> 
> On 2025-04-12 16:27, Dang Huynh wrote:
> > Now that we have VOP2 support, let's enable it and support the
> > built in USB keyboard.
> > 
> > Signed-off-by: Dang Huynh <danct12@riseup.net>
> > ---
> >  configs/pinetab2-rk3566_defconfig | 11 +++++++++++
> >  1 file changed, 11 insertions(+)
> > 
> > diff --git a/configs/pinetab2-rk3566_defconfig b/configs/pinetab2-rk3566_defconfig
> > index 45e63b42d192dc172f24e071b09c8203675965d8..792ec0ec119437fd7a920558a149363c886c87de 100644
> > --- a/configs/pinetab2-rk3566_defconfig
> > +++ b/configs/pinetab2-rk3566_defconfig
> > @@ -57,6 +57,7 @@ CONFIG_BUTTON=y
> >  CONFIG_BUTTON_ADC=y
> >  CONFIG_BUTTON_GPIO=y
> >  CONFIG_SPL_CLK=y
> > +CONFIG_CLK_CCF=y
> 
> Rockchip clk drivers does not use this, and I do not see any new clock
> driver being added in this series.
> 
> Why is this needed?
I initially added this to get around clk_enable error, but it seems like
you don't need to enable VOP clocks.

However, I noticed that enabling CCF will give us clock rate that are
pretty close to how it's configured on Linux.

> 
> Regards,
> Jonas
> 
> >  # CONFIG_USB_FUNCTION_FASTBOOT is not set
> >  CONFIG_ROCKCHIP_GPIO=y
> >  CONFIG_SYS_I2C_ROCKCHIP=y
> > @@ -69,6 +70,7 @@ CONFIG_MMC_SDHCI_SDMA=y
> >  CONFIG_MMC_SDHCI_ROCKCHIP=y
> >  CONFIG_SPI_FLASH_SFDP_SUPPORT=y
> >  CONFIG_SPI_FLASH_SILICONKAISER=y
> > +CONFIG_PHY_ROCKCHIP_INNO_DSIDPHY=y
> >  CONFIG_PHY_ROCKCHIP_INNO_USB2=y
> >  CONFIG_PHY_ROCKCHIP_NANENG_COMBOPHY=y
> >  CONFIG_SPL_PINCTRL=y
> > @@ -94,6 +96,7 @@ CONFIG_USB_OHCI_HCD=y
> >  CONFIG_USB_OHCI_GENERIC=y
> >  CONFIG_USB_DWC3=y
> >  CONFIG_USB_DWC3_GENERIC=y
> > +CONFIG_USB_KEYBOARD=y
> >  CONFIG_USB_HOST_ETHER=y
> >  CONFIG_USB_ETHER_ASIX=y
> >  CONFIG_USB_ETHER_ASIX88179=y
> > @@ -101,4 +104,12 @@ CONFIG_USB_ETHER_RTL8152=y
> >  CONFIG_USB_GADGET=y
> >  CONFIG_USB_GADGET_DOWNLOAD=y
> >  CONFIG_USB_FUNCTION_ROCKUSB=y
> > +CONFIG_VIDEO=y
> > +CONFIG_VIDEO_LCD_BOE_TH101MB31IG002_28A=y
> > +CONFIG_DISPLAY=y
> > +CONFIG_VIDEO_ROCKCHIP=y
> > +CONFIG_DISPLAY_ROCKCHIP_HDMI=y
> > +CONFIG_DISPLAY_ROCKCHIP_DW_MIPI=y
> > +CONFIG_VIDEO_BRIDGE=y
> > +CONFIG_VIDEO_REMOVE=y
> >  CONFIG_ERRNO_STR=y
> > 
> 

  reply	other threads:[~2025-04-15 13:29 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-12 14:27 [PATCH v3 00/12] Rockchip VOP2 support Dang Huynh
2025-04-12 14:27 ` [PATCH v3 01/12] video: rockchip: dw-mipi-dsi: Depend on CONFIG_VIDEO_BRIDGE Dang Huynh
2025-04-12 14:27 ` [PATCH v3 02/12] video: rockchip: dw_mipi_dsi: Improve pixel clock calculations Dang Huynh
2025-04-12 14:27 ` [PATCH v3 03/12] video: rockchip: dw_mipi_dsi: Proceed when external PHY is not defined Dang Huynh
2025-04-12 14:27 ` [PATCH v3 04/12] video: rockchip: dw-mipi-dsi: Add get_display_timing support Dang Huynh
2025-04-12 14:27 ` [PATCH v3 05/12] video: Add BOE TH101MB31IG002-28A MIPI-DSI panel Dang Huynh
2025-04-12 14:27 ` [PATCH v3 06/12] video: rockchip: Add VOP2 support Dang Huynh
2025-04-12 14:27 ` [PATCH v3 07/12] video: rockchip: vop2: Add video bridge support Dang Huynh
2025-04-12 14:27 ` [PATCH v3 08/12] dts: rockchip: rk356x: Prerelocate VOP in U-Boot proper Dang Huynh
2025-04-13 14:33   ` Jonas Karlman
2025-04-15 13:15     ` Dang Huynh
2025-04-12 14:27 ` [PATCH v3 09/12] configs: quartz64: Enable vidconsole Dang Huynh
2025-04-12 14:27 ` [PATCH v3 10/12] video: rockchip: Add HDMI support for RK3568 Dang Huynh
2025-04-13 15:10   ` Jonas Karlman
2025-04-12 14:27 ` [PATCH v3 11/12] configs: pinetab2-rk3566: Enable video and USB keyboard Dang Huynh
2025-04-13 15:26   ` Jonas Karlman
2025-04-15 13:29     ` Dang Huynh [this message]
2025-04-15 15:52       ` Jonas Karlman
2025-04-19  4:22         ` Dang Huynh
2025-04-12 14:27 ` [PATCH v3 12/12] clk: rockchip: rk3568: Use assigned VPLL clock when possible Dang Huynh

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=Z_5fNUPHuDP1cPmC@melt-pi5 \
    --to=danct12@riseup.net \
    --cc=agust@denx.de \
    --cc=clamor95@gmail.com \
    --cc=dsimic@manjaro.org \
    --cc=frattaroli.nicolas@gmail.com \
    --cc=jonas@kwiboo.se \
    --cc=kever.yang@rock-chips.com \
    --cc=lukma@denx.de \
    --cc=megi@xff.cz \
    --cc=pZ010001011111@proton.me \
    --cc=philipp.tomsich@vrull.eu \
    --cc=seanga2@gmail.com \
    --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