History log of /rk3399_rockchip-uboot/include/dm/uclass-id.h (Results 1 – 25 of 138)
Revision Date Author Comments
# 426736b6 12-Feb-2025 Troy Lin <troy.lin@rock-chips.com>

dm: add keylad uclass

Change-Id: I906f4281ebf5f1f4cd6421870980ba76833bc00c
Signed-off-by: Troy Lin <troy.lin@rock-chips.com>


# 8f7de514 02-Feb-2023 Shawn Lin <shawn.lin@rock-chips.com>

ufs: backport ufs from upstream

Add ufs directory and cover some SCSI interface to fit for current
SCSI model.

Change-Id: I24c13fc494b1596905d9397a551b10f965dcb4dd
Signed-off-by: Shawn Lin <shawn.l

ufs: backport ufs from upstream

Add ufs directory and cover some SCSI interface to fit for current
SCSI model.

Change-Id: I24c13fc494b1596905d9397a551b10f965dcb4dd
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>

show more ...


# eef83f7d 06-Jan-2022 Wang Jie <dave.wang@rock-chips.com>

dm: add power delivery uclass

Signed-off-by: Wang Jie <dave.wang@rock-chips.com>
Change-Id: I49611878c74990f9571dc847f9b4124b0e3a4726


# a0d3d971 14-Oct-2021 YouMin Chen <cym@rock-chips.com>

dm: add dmc uclass for Dynamic Memory Interface drivers

Signed-off-by: YouMin Chen <cym@rock-chips.com>
Change-Id: I2e48b4dbbd087e2a73341a0152075e76756271e9


# 1afcdfc6 09-Sep-2020 Etienne Carriere <etienne.carriere@linaro.org>

UPSTREAM: firmware: add SCMI agent uclass

This change introduces SCMI agent uclass to interact with a firmware
using the SCMI protocols [1].

SCMI agent uclass currently supports a single method to

UPSTREAM: firmware: add SCMI agent uclass

This change introduces SCMI agent uclass to interact with a firmware
using the SCMI protocols [1].

SCMI agent uclass currently supports a single method to request
processing of the SCMI message by an identified server. A SCMI message
is made of a byte payload associated to a protocol ID and a message ID,
all defined by the SCMI specification [1]. On return from process_msg()
method, the caller gets the service response.

SCMI agent uclass defines a post bind generic sequence for all devices.
The sequence binds all the SCMI protocols listed in the FDT for that
SCMI agent device. Currently none, but later change will introduce
protocols.

This change implements a simple sandbox device for the SCMI agent uclass.
The sandbox nicely answers SCMI_NOT_SUPPORTED to SCMI messages.
To prepare for further test support, the sandbox exposes a architecture
function for test application to read the sandbox emulated devices state.
Currently supports 2 SCMI agents, identified by an ID in the FDT device
name. The simplistic DM test does nothing yet.

SCMI agent uclass is designed for platforms that embed a SCMI server in
a firmware hosted somewhere, for example in a companion co-processor or
in the secure world of the executing processor. SCMI protocols allow an
SCMI agent to discover and access external resources as clock, reset
controllers and more. SCMI agent and server communicate following the
SCMI specification [1]. This SCMI agent implementation complies with
the DT bindings defined in the Linux kernel source tree regarding
SCMI agent description since v5.8.

Links: [1] https://developer.arm.com/architectures/system-architectures/software-standards/scmi
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Cc: Simon Glass <sjg@chromium.org>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Sudeep Holla <sudeep.holla@arm.com>
Reviewed-by: Simon Glass <sjg@chromium.org>

Conflicts:
arch/sandbox/dts/test.dts
configs/sandbox_defconfig
drivers/firmware/Kconfig
drivers/firmware/Makefile
test/dm/Makefile

(cherry picked from commit 358599efd827b0ee48af864537cc86facc9167c0)
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I251bf48c2bb60af041e71c5904e0eb73f0243439

show more ...


# 28507ac3 28-Dec-2019 Sughosh Ganu <sughosh.ganu@linaro.org>

UPSTREAM: dm: rng: Add random number generator(rng) uclass

Add a uclass for reading a random number seed from a random number
generator device.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>

UPSTREAM: dm: rng: Add random number generator(rng) uclass

Add a uclass for reading a random number seed from a random number
generator device.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
(cherry picked from commit a2487684003b0bc380955e1a38cdd71da3ca4366)

Change-Id: Ife2287132db695181d663653f2ceaab0e343b41f
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>

show more ...


# 93a7515a 29-Oct-2020 Wenping Zhang <wenping.zhang@rock-chips.com>

video/rk_eink: add rockchip eink support.

Signed-off-by: Wenping Zhang <wenping.zhang@rock-chips.com>
Change-Id: I39e92ee00690ea1be274b1abd94d54284ef36898


# 5cc4c624 03-Jun-2020 Joseph Chen <chenjh@rock-chips.com>

dm: uclass: move new uclass id to the end

This patch handles the issue in SPL:

U-Boot SPL board initspl_early_init()
- found match at 'rv1126_syscon'
- found match at 'rv1126_syscon'
-

dm: uclass: move new uclass id to the end

This patch handles the issue in SPL:

U-Boot SPL board initspl_early_init()
- found match at 'rv1126_syscon'
- found match at 'rv1126_syscon'
- found match at 'syscon'
- found match at 'rockchip_rv1126_pmucru'
- found match at 'rockchip_rv1126_cru'
- found match at 'ns16550_serial'
- found match at 'rockchip_rk3288_dw_mshc'
- found match at 'rk_nandc_v6'
- found match at 'rockchip_sfc'
- found match at 'spi_nand'
- found match at 'spi_flash_std'
- found match at 'rockchip_crypto_v2'
- found match at 'rockchip_secure_otp_v2'
Cannot find uclass for id 36: please add the UCLASS_DRIVER() declaration for this UCLASS_... id
Missing uclass for driver rockchip_secure_otp_v2
secure_otp@0xff5d0000: ret=-96
dm_scan_fdt() failed: -96
dm_extended_scan_dt() failed: -96
dm_init_and_scan() returned error -96
spl_early_init() failed: -96
......

The root cause is drivers/misc/rockchip-secure-otp-v2.S is pre-compile
but not compile every time, it occupies the UCLASS_MISC id as 36.

There are the same situation for other otp drivers, so let's move it to
the end.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I58a2bec703c2af743d209192fefda6ff6167b01c

show more ...


# 70664e19 03-May-2020 Ye Li <ye.li@nxp.com>

UPSTREAM: net: Add eth phy generic driver for shared MDIO

For dual ethernet controllers, the HW design may connect ETH phys to
one MDIO ports. So two different ethernet drivers have to share MDIO bu

UPSTREAM: net: Add eth phy generic driver for shared MDIO

For dual ethernet controllers, the HW design may connect ETH phys to
one MDIO ports. So two different ethernet drivers have to share MDIO bus.
Since two ethernet drivers are independent, we can't ensure their probe
order.

To resolve this problem, introduce an eth phy generic driver and uclass.

After eth-uclass binds, we search the mdio node and binds the phy node
with the eth-phy-generic driver.

When one eth driver get its phy device, the parent of phy device will
probe prior than phy device. So this ensure the eth driver ownes the
MDIO bus will be probed before using its MDIO.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: Ice83493e9e1caf3842f9ce0c129e29ad46cc0532

show more ...


# 8a2d844d 03-Jun-2019 Alex Marginean <alexm.osslist@gmail.com>

UPSTREAM: net: introduce MDIO DM class for MDIO devices

Adds UCLASS_MDIO DM class supporting MDIO buses that are probed as
stand-alone devices. Useful in particular for systems that support
DM_ETH

UPSTREAM: net: introduce MDIO DM class for MDIO devices

Adds UCLASS_MDIO DM class supporting MDIO buses that are probed as
stand-alone devices. Useful in particular for systems that support
DM_ETH and have a stand-alone MDIO hardware block shared by multiple
Ethernet interfaces.

Signed-off-by: Alex Marginean <alexm.osslist@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: I8e106f4360aa46289e0ed551f8f685cad9dc6269

show more ...


# 1a4f6af8 02-Mar-2020 Joseph Chen <chenjh@rock-chips.com>

Merge branch 'next-dev' into thunder-boot


# 94fbbf0f 05-Jul-2019 Jean-Jacques Hiblot <jjhiblot@ti.com>

UPSTREAM: dm: Add a No-op uclass

This uclass is intended for devices that do not need any features from the
uclass, including binding children.
This will typically be used by devices that are used t

UPSTREAM: dm: Add a No-op uclass

This uclass is intended for devices that do not need any features from the
uclass, including binding children.
This will typically be used by devices that are used to bind child devices
but do not use dm_scan_fdt_dev() to do it. That is for example the case of
several USB wrappers that have 2 child devices (1 for device and 1 for
host) but bind only one at a any given time.

Change-Id: Iad9ba5f368bd2de9940cf069baf9bec9d668920c
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit 07e33711fec4f1106f36805b5dc830da07c783c5)

show more ...


# 20828bba 29-Nov-2018 Jean-Jacques Hiblot <jjhiblot@ti.com>

UPSTREAM: dm: usb: create a new UCLASS ID for USB gadget devices

UCLASS_USB_DEV_GENERIC was meant for USB devices connected to host
controllers, not gadget devices.
Adding a new UCLASS for gadget de

UPSTREAM: dm: usb: create a new UCLASS ID for USB gadget devices

UCLASS_USB_DEV_GENERIC was meant for USB devices connected to host
controllers, not gadget devices.
Adding a new UCLASS for gadget devices alone.

Also move the generic DM code for USB gadgets in a separate file for
clarity.

Conflicts:
board/sunxi/board.c

Change-Id: I9bd01ad0814b81f7718927660a8ece4080c5f988
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit 0131162439508801b9f8a330fa731f04273c9337)

show more ...


# cc6ac5d6 13-May-2019 Joseph Chen <chenjh@rock-chips.com>

dm: add crypto uclass and cmd support

Change-Id: I2241c90aca9695cd28bb9ca2a220d0e1af8ca932
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# 4388deca 21-Mar-2019 Joseph Chen <chenjh@rock-chips.com>

dm: add amp uclass and rockchip amp driver support

- add amp uclass;
- add a simple rockchip amp driver.

An example for amps dts node configure:
amps {
compatible = "uboot,rockchip-amp";
status =

dm: add amp uclass and rockchip amp driver support

- add amp uclass;
- add a simple rockchip amp driver.

An example for amps dts node configure:
amps {
compatible = "uboot,rockchip-amp";
status = "okay";

amp@0 {
description = "mcu-os1";
partition = "mcu1";
cpu = <0x1>; // this is mpidr!
load = <0x800000>;
entry = <0x800000>;
memory = <0x800000 0x400000>;
};

amp@1 {
......
};

......
};

U-Boot loads "mcu-os1" firmware to "0x800000" address from partiton
"mcu1" for cpu[1], the cpu[1] entry address is 0x800000. And
U-Boot reserve memory from 0x800000 with 0x400000 size in order
to make it invisible for kernel.

Please use rockchip tool "mkkrnlimg" to pack firmware binary, example:
./scripts/mkkrnlimg mcu-os1.bin mcu-os1.img

Change-Id: I127d5d9f460ec0c1812a76fb4c3702e82f21c9a6
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# 726087de 10-Dec-2018 Jason Zhu <jason.zhu@rock-chips.com>

crypto: support rockchip hardware crypto

Support: rsa & sha algorithm
Usage: Set CONFIG_RK_CRYPTO to enable rk crypto.

Change-Id: I2b6a920308fcdf46481bcf38fc6be532a02255bd
Signed-off-by: Jason Zhu

crypto: support rockchip hardware crypto

Support: rsa & sha algorithm
Usage: Set CONFIG_RK_CRYPTO to enable rk crypto.

Change-Id: I2b6a920308fcdf46481bcf38fc6be532a02255bd
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>

show more ...


# 4f43646e 14-Dec-2018 Jianqun Xu <jay.xu@rock-chips.com>

power: rockchip: add io-domain driver

The io-domains on Rockchip SoCs will be supplied with 1.8V or 3.3V(3.0V)
depends on hardware design. The driver needs to config them through grf
register.

Chan

power: rockchip: add io-domain driver

The io-domains on Rockchip SoCs will be supplied with 1.8V or 3.3V(3.0V)
depends on hardware design. The driver needs to config them through grf
register.

Change-Id: Ic896b94bfadd0b808da54992e58e2cf4a8fee950
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>

show more ...


# 0eea0d25 19-Nov-2018 Joseph Chen <chenjh@rock-chips.com>

dm: add dvfs uclass and wide temperature dvfs support

- add dvfs uclass;
- add dvfs command;
- add a simple wide temperature dvfs driver.

About wide temperature dvfs driver policy, see description

dm: add dvfs uclass and wide temperature dvfs support

- add dvfs uclass;
- add dvfs command;
- add a simple wide temperature dvfs driver.

About wide temperature dvfs driver policy, see description in:
drivers/power/dvfs/rockchip_wtemp_dvfs.c

Change-Id: I36a8de6e47f8375bf1795b794c77d96b4571a361
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# 4afb7f9c 21-Sep-2018 Sugar Zhang <sugar.zhang@rock-chips.com>

sound: rockchip: add driver support for rk809/rk817

This patch adds driver support for rockchip rk809/rk817.

Change-Id: I0e8355fa6dffb23d8413c0b3a198757aa2d2360c
Signed-off-by: Sugar Zhang <sugar.z

sound: rockchip: add driver support for rk809/rk817

This patch adds driver support for rockchip rk809/rk817.

Change-Id: I0e8355fa6dffb23d8413c0b3a198757aa2d2360c
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>

show more ...


# 69ab2873 21-Sep-2018 Sugar Zhang <sugar.zhang@rock-chips.com>

sound: rockchip: add support for i2s

This patch add driver support for rockchip i2s bus.

Change-Id: I2c7f2b46d628706fa000055f7962ba6b4ff6d0b6
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>


# a3fec70d 05-Sep-2018 Joseph Chen <chenjh@rock-chips.com>

dm: blk: add ramdisk uclass support

- Use ram as a disk which appears as block devices.
- Provide a read only ramdisk driver.

Change-Id: Ie6dc1a036c8a2841cacd0d467599c11b74b4ad77
Signed-off-by: Jos

dm: blk: add ramdisk uclass support

- Use ram as a disk which appears as block devices.
- Provide a read only ramdisk driver.

Change-Id: Ie6dc1a036c8a2841cacd0d467599c11b74b4ad77
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# 1bbb461d 31-Oct-2017 Joseph Chen <chenjh@rock-chips.com>

dm: add note for UCLASS_FG and UCLASS_KEY id

Change-Id: I977f39d3f8e3c58be6f2b9e90128fb476f431af0
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# 55b6f88e 31-Oct-2017 Joseph Chen <chenjh@rock-chips.com>

dm: add charge display uclass

This is mainly used for charge animation.

Change-Id: Iac4ffe76b1985abfa44181a797a15df74e5bcf14
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# 09486889 12-Oct-2017 Zhangbin Tong <zebulun.tong@rock-chips.com>

dm: input: add driver model rc uclass

Change-Id: I1e9b067d49e81bd09c2d1e6c9612f0831480ce73
Signed-off-by: Zhangbin Tong <zebulun.tong@rock-chips.com>


# 441217e3 17-Oct-2017 Zhaoyifeng <zyf@rock-chips.com>

drivers: rknand: add nand flash drivers for Rockchip SoC

This patch add the nand flash support for Rockchip Soc(RK3128, RK3126x,
RK3188, Rk3229 etc).

Change-Id: I35ea09f0714b303b247a97ed13cc6e0e566

drivers: rknand: add nand flash drivers for Rockchip SoC

This patch add the nand flash support for Rockchip Soc(RK3128, RK3126x,
RK3188, Rk3229 etc).

Change-Id: I35ea09f0714b303b247a97ed13cc6e0e56675a0e
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>

show more ...


123456