From 23af88c2deb6e0464e81685def0561dfcdb2245b Mon Sep 17 00:00:00 2001 From: Rick Wertenbroek Date: Thu, 7 Mar 2024 10:53:18 +0100 Subject: [PATCH 01/56] UPSTREAM: phy: rockchip: Fix typo in function names Several functions had "rochchip" instead of "rockchip" in their name. Replace "rochchip" by "rockchip". Signed-off-By: Rick Wertenbroek Change-Id: I4af720cbc38af497d4a1d2780491a77348cdbb54 Reviewed-by: Heiko Stuebner Link: https://lore.kernel.org/r/20240307095318.3651498-1-rick.wertenbroek@gmail.com Signed-off-by: Vinod Koul Signed-off-by: Tao Huang (cherry picked from commit 9b6bfad9070a95d19973be17177e5d9220cbbf1f) --- drivers/phy/rockchip/phy-rockchip-snps-pcie3.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/phy/rockchip/phy-rockchip-snps-pcie3.c b/drivers/phy/rockchip/phy-rockchip-snps-pcie3.c index 5841a41a6703..bc8c2cb3cd01 100644 --- a/drivers/phy/rockchip/phy-rockchip-snps-pcie3.c +++ b/drivers/phy/rockchip/phy-rockchip-snps-pcie3.c @@ -200,7 +200,7 @@ static const struct rockchip_p3phy_ops rk3588_ops = { .phy_calibrate = rockchip_p3phy_rk3588_calibrate, }; -static int rochchip_p3phy_init(struct phy *phy) +static int rockchip_p3phy_init(struct phy *phy) { struct rockchip_p3phy_priv *priv = phy_get_drvdata(phy); int ret; @@ -223,7 +223,7 @@ static int rochchip_p3phy_init(struct phy *phy) return ret; } -static int rochchip_p3phy_exit(struct phy *phy) +static int rockchip_p3phy_exit(struct phy *phy) { struct rockchip_p3phy_priv *priv = phy_get_drvdata(phy); @@ -232,9 +232,9 @@ static int rochchip_p3phy_exit(struct phy *phy) return 0; } -static const struct phy_ops rochchip_p3phy_ops = { - .init = rochchip_p3phy_init, - .exit = rochchip_p3phy_exit, +static const struct phy_ops rockchip_p3phy_ops = { + .init = rockchip_p3phy_init, + .exit = rockchip_p3phy_exit, .set_mode = rockchip_p3phy_set_mode, .owner = THIS_MODULE, }; @@ -294,7 +294,7 @@ static int rockchip_p3phy_probe(struct platform_device *pdev) (reg << 16) | reg); }; - priv->phy = devm_phy_create(dev, NULL, &rochchip_p3phy_ops); + priv->phy = devm_phy_create(dev, NULL, &rockchip_p3phy_ops); if (IS_ERR(priv->phy)) { dev_err(dev, "failed to create combphy\n"); return PTR_ERR(priv->phy); From e28ecfd29befa589b8229c778efbb7755a8b5c20 Mon Sep 17 00:00:00 2001 From: Wu Liangqing Date: Tue, 21 Jan 2025 10:29:26 +0800 Subject: [PATCH 02/56] arm64: dts: rockchip: rk3566-rk817: optimize the recording noise Signed-off-by: Wu Liangqing Change-Id: I09d66ced4e2a2364292406a4fe5708800d868f36 --- arch/arm64/boot/dts/rockchip/rk3566-rk817-eink-w103.dts | 4 ++-- arch/arm64/boot/dts/rockchip/rk3566-rk817-eink.dts | 4 ++-- arch/arm64/boot/dts/rockchip/rk3566-rk817-tablet-k108.dts | 4 ++-- arch/arm64/boot/dts/rockchip/rk3566-rk817-tablet-rkg11.dts | 4 ++-- arch/arm64/boot/dts/rockchip/rk3566-rk817-tablet.dts | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-rk817-eink-w103.dts b/arch/arm64/boot/dts/rockchip/rk3566-rk817-eink-w103.dts index 3e5f82852660..f934c3126b86 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-rk817-eink-w103.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-rk817-eink-w103.dts @@ -542,8 +542,8 @@ vccio_acodec: LDO_REG4 { regulator-always-on; regulator-boot-on; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; regulator-name = "vccio_acodec"; regulator-state-mem { regulator-off-in-suspend; diff --git a/arch/arm64/boot/dts/rockchip/rk3566-rk817-eink.dts b/arch/arm64/boot/dts/rockchip/rk3566-rk817-eink.dts index e483e0cc34aa..4f3e218b59df 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-rk817-eink.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-rk817-eink.dts @@ -396,8 +396,8 @@ vccio_acodec: LDO_REG4 { regulator-always-on; regulator-boot-on; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; regulator-name = "vccio_acodec"; regulator-state-mem { regulator-off-in-suspend; diff --git a/arch/arm64/boot/dts/rockchip/rk3566-rk817-tablet-k108.dts b/arch/arm64/boot/dts/rockchip/rk3566-rk817-tablet-k108.dts index f00714e39511..dfcf9a2b4f54 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-rk817-tablet-k108.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-rk817-tablet-k108.dts @@ -724,8 +724,8 @@ vccio_acodec: LDO_REG4 { regulator-always-on; regulator-boot-on; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; regulator-name = "vccio_acodec"; regulator-state-mem { regulator-off-in-suspend; diff --git a/arch/arm64/boot/dts/rockchip/rk3566-rk817-tablet-rkg11.dts b/arch/arm64/boot/dts/rockchip/rk3566-rk817-tablet-rkg11.dts index 323471509afd..4578517486dd 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-rk817-tablet-rkg11.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-rk817-tablet-rkg11.dts @@ -542,8 +542,8 @@ vccio_acodec: LDO_REG4 { regulator-always-on; regulator-boot-on; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; regulator-name = "vccio_acodec"; regulator-state-mem { regulator-off-in-suspend; diff --git a/arch/arm64/boot/dts/rockchip/rk3566-rk817-tablet.dts b/arch/arm64/boot/dts/rockchip/rk3566-rk817-tablet.dts index b1629d722493..b71f170cafcd 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-rk817-tablet.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-rk817-tablet.dts @@ -656,8 +656,8 @@ vccio_acodec: LDO_REG4 { regulator-always-on; regulator-boot-on; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; regulator-name = "vccio_acodec"; regulator-state-mem { regulator-off-in-suspend; From 60bceebd7237984a0d0a179ab3d5ecd792bc9b31 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Tue, 21 Jan 2025 20:10:14 +0800 Subject: [PATCH 03/56] Revert "Documentation: add rockchip fb lcdc lvds specific content" This reverts commit 5198023c6d1214df546ea4d9264a2d99d4228432. Signed-off-by: Tao Huang Change-Id: I08211afb6ac057bfe66c75cbd6adfe31d56be250 --- .../devicetree/bindings/video/rockchip_fb.txt | 65 ----------------- .../bindings/video/rockchip_lcdc.txt | 69 ------------------- .../bindings/video/rockchip_lvds.txt | 22 ------ 3 files changed, 156 deletions(-) delete mode 100755 Documentation/devicetree/bindings/video/rockchip_fb.txt delete mode 100755 Documentation/devicetree/bindings/video/rockchip_lcdc.txt delete mode 100644 Documentation/devicetree/bindings/video/rockchip_lvds.txt diff --git a/Documentation/devicetree/bindings/video/rockchip_fb.txt b/Documentation/devicetree/bindings/video/rockchip_fb.txt deleted file mode 100755 index 4b86bb657086..000000000000 --- a/Documentation/devicetree/bindings/video/rockchip_fb.txt +++ /dev/null @@ -1,65 +0,0 @@ -Device-Tree bindings for Rockchip framebuffer. - -Required properties: -- compatible: value should be "rockchip,rk-fb". -- rockchip,disp-mode: DUAL :for dual lcdc and dual display; - ONE_DUAL : for one lcdc and dual display. - -Example: - -DT entry: - fb: fb{ - compatible = "rockchip,rk-fb"; - rockchip,disp-mode = ; - }; - -Device-Tree bindings for RockChip screen driver - -Required properties: -- compatible: value should be "rockchip,screen" -- display-timings: value should be disp_timings, which defined in - lcd-xxx.dtsi file,the file should include by your board dts - -Example: - creen: rk_screen{ - compatible = "rockchip,screen"; - display-timings = <&disp_timings>; - }; - -/* - * RockChip. LCD_B101ew05 lcd-b101ew05.dtsi - * - */ - -/ { - - disp_timings: display-timings { - native-mode = <&timing0>; - timing0: timing0 { - screen-type = ; - lvds-format = ; - out-face = ; - clock-frequency = <71000000>; - hactive = <1280>; - vactive = <800>; - hback-porch = <100>; - hfront-porch = <18>; - vback-porch = <8>; - vfront-porch = <6>; - hsync-len = <10>; - vsync-len = <2>; - hsync-active = <0>; - vsync-active = <0>; - de-active = <0>; - pixelclk-active = <0>; - swap-rb = <0>; - swap-rg = <0>; - swap-gb = <0>; - }; - }; -}; - - - - -note: reference for display-timing.txt for display-timing bindings diff --git a/Documentation/devicetree/bindings/video/rockchip_lcdc.txt b/Documentation/devicetree/bindings/video/rockchip_lcdc.txt deleted file mode 100755 index acf879042ab2..000000000000 --- a/Documentation/devicetree/bindings/video/rockchip_lcdc.txt +++ /dev/null @@ -1,69 +0,0 @@ -Device-Tree bindings for Rockchip SoC display controller (VOP / LCDC) -VOP (Video Output Process) / LCDC is the Display Controller for the -ROCKCHIP series of SoCs which transfers the image data from a video memory -buffer to an external LCD interface. - -Required properties: -- compatible: value should be one of the following - "rockchip,rk3288-lcdc"; /* for RK3288 SoCs */ - "rockchip,rk3368-lcdc"; /* for RK3368 SoCs */ - "rockchip,rk322x-lcdc"; /* for RK322X SoCs */ - "rockchip,rk3399-lcdc"; /* for RK3399 SoCs */ -- rockchip,prop: set the lcdc as primary or extend display. -- rochchip,pwr18: set the controller IO voltage,0 is 3.3v,1 is 1.8v. -- reg: physical base address and length of the LCDC registers set. -- interrupts: interrupt number to the cpu and interrupt proterties. -- pinctrl-names: must contain a "default" entry. -- pinctrl-0: pin control group to be used for this controller. -- pinctrl-1: pin control group to be used for gpio. -- clocks: must include clock specifiers corresponding to entries in the - clock-names property. -- clock-names: list of clock names sorted in the same order as the clocks - property.. - -Optional Properties: -- rockchip,debug: printk debug message. -- rockchip,mirror: the lcdc mirror function. -- lcd_en:lcd_en: contain power control for lcd. - - rockchip,power_type: power type,GPIO or REGULATOR. - - gpios: pin number for gpio. - - rockchip,delay: delay time after set power. - -Example: - -SoC specific DT entry: - lcdc1: lcdc@ff940000 { - compatible = "rockchip,rk3288-lcdc"; - rockchip,prop = ; - rochchip,pwr18 = <0>; - reg = <0xff940000 0x10000>; - interrupts = ; - pinctrl-names = "default", "gpio"; - pinctrl-0 = <&lcdc0_lcdc>; - pinctrl-1 = <&lcdc0_gpio>; - status = "disabled"; - clocks = <&clk_gates15 7>, <&dclk_lcdc1>, <&clk_gates15 8>, <&pd_vop1>; - clock-names = "aclk_lcdc", "dclk_lcdc", "hclk_lcdc", "pd_lcdc"; - }; - - -Board specific DT entry: - -&lcdc1 { - status = "okay"; - power_ctr: power_ctr { - rockchip,debug = <0>; - rockchip,mirror = ; - lcd_en:lcd_en { - rockchip,power_type = ; - gpios = <&gpio7 GPIO_A3 GPIO_ACTIVE_HIGH>; - rockchip,delay = <10>; - }; - lcd_cs:lcd_cs { - rockchip,power_type = ; - gpios = <&gpio7 GPIO_A4 GPIO_ACTIVE_HIGH>; - rockchip,delay = <10>; - }; - }; -}; - diff --git a/Documentation/devicetree/bindings/video/rockchip_lvds.txt b/Documentation/devicetree/bindings/video/rockchip_lvds.txt deleted file mode 100644 index d7f6f08b2cdf..000000000000 --- a/Documentation/devicetree/bindings/video/rockchip_lvds.txt +++ /dev/null @@ -1,22 +0,0 @@ -The Rockchip display port interface should be configured based on -the type of panel connected to it. - -Required properties: -- compatible: value should be "rockchip,rk32-lvds". -- reg: physical base address and length of the LVDS registers set. -- interrupts: interrupt number to the cpu and interrupt proterties. -- clocks: must include clock specifiers corresponding to entries in the - clock-names property. -- clock-names: list of clock names sorted in the same order as the clocks - property.. - -Example: - -SoC specific DT entry: - lvds: lvds@ff96c000 { - compatible = "rockchip,rk32-lvds"; - reg = <0xff96c000 0x4000>; - clocks = <&clk_gates16 7>; - clock-names = "pclk_lvds"; - }; - From d6b49d06f1b7a0e21667b877f1a77ffcdab6171e Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Tue, 21 Jan 2025 20:13:20 +0800 Subject: [PATCH 04/56] =?UTF-8?q?Revert=20"rk3288=20mipi=20dsi:=20add=20ro?= =?UTF-8?q?ckchip=5Fmipidsi=5Flcd.txt=20and=20rockchip=5Fmipidsi.txt?= =?UTF-8?q?=EF=BC=8Cin=20Documentation/devicetree/bindings/video/"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 9e41b24fe68026d2b14fa03e6e742665dd6792ff. Signed-off-by: Tao Huang Change-Id: I19c77b3e1af7fb2236874dfb4ea3cf6d203e83cf --- .../bindings/video/rockchip_mipidsi.txt | 39 ---- .../bindings/video/rockchip_mipidsi_lcd.txt | 173 ------------------ 2 files changed, 212 deletions(-) delete mode 100755 Documentation/devicetree/bindings/video/rockchip_mipidsi.txt delete mode 100755 Documentation/devicetree/bindings/video/rockchip_mipidsi_lcd.txt diff --git a/Documentation/devicetree/bindings/video/rockchip_mipidsi.txt b/Documentation/devicetree/bindings/video/rockchip_mipidsi.txt deleted file mode 100755 index bf571279392e..000000000000 --- a/Documentation/devicetree/bindings/video/rockchip_mipidsi.txt +++ /dev/null @@ -1,39 +0,0 @@ -Device-Tree bindings for rockchip mipi dsi driver - -Required properties: -- compatible: value should be "rockchip,rk32-dsi". -- rockchip,prop: dsi number. -- reg: physical base address of the hdmi and length of memory mapped - region. -- interrupts: interrupt number to the cpu. - -- clocks: must include clock specifiers corresponding to entries in the - clock-names property. -- clocks-names: list of clock names sorted in the same order as the clocks - property. Must contain "pclk_hdmi" and "hdcp_clk_hdmi". -- status: the dsi host status; - : open the dsi host; - :close the dsi host; - -Example: - - dsihost0: mipi@ff960000{ - compatible = "rockchip,rk32-dsi"; - rockchip,prop = <0>; - reg = <0xff960000 0x4000>; - interrupts = ; - clocks = <&clk_gates5 15>, <&clk_gates16 4> , <&pd_mipidsi>; - clock-names = "clk_mipi_24m", "pclk_mipi_dsi", "pd_mipi_dsi"; - status = "okay"; - }; - - dsihost1: mipi@ff964000{ - compatible = "rockchip,rk32-dsi"; - rockchip,prop = <1>; - reg = <0xff964000 0x4000>; - interrupts = ; - clocks = <&clk_gates5 15>, <&clk_gates16 5>, <&pd_mipidsi>; - clock-names = "clk_mipi_24m", "pclk_mipi_dsi", "pd_mipi_dsi"; - status = "okay"; - }; - diff --git a/Documentation/devicetree/bindings/video/rockchip_mipidsi_lcd.txt b/Documentation/devicetree/bindings/video/rockchip_mipidsi_lcd.txt deleted file mode 100755 index 837a3bd76b7f..000000000000 --- a/Documentation/devicetree/bindings/video/rockchip_mipidsi_lcd.txt +++ /dev/null @@ -1,173 +0,0 @@ -Device-Tree bindings for rockchip mipi dsi lcd driver - -Required properties: - - rockchip,screen_init: Whether you need this screen initialization. - <0>: Don't need to be initialized. - <1>: Do need to be initialized. - - - rockchip,dsi_lane: mipi lcd data lane number. - - - rockchip,dsi_hs_clk: mipi lcd high speed clock. - - - rockchip,mipi_dsi_num: mipi lcd dsi number. - - - mipi_lcd_rst:mipi_lcd_rst: Should specify pin control groups used for reset this lcd. - - - mipi_lcd_en:mipi_lcd_en: Should specify pin control groups used for enable this lcd. - - - rockchip,gpios: gpio pin - - - rockchip,delay: delay the millisecond. - - - rockchip,cmd_debug : debug the cammands. - <0>: close the debug; - <1>: open the debug; - - - rockchip,on-cmds1: write cammand to mipi lcd. - -- rockchip,cmd_type: - : close the debug; - : open the debug; - - - rockchip,dsi_id: write cammand to mipi lcd(left and right). - <0>: left dsi; - <1>: right dsi; - <2>: left and right dsis; - - - rockchip,cmd: cammand context. - The first parameter was data type; - The second parameter was index(register); - The third and ... parameter are cammand context; - - - rockchip,cmd_delay: delay the millisecond. - - - screen-type: mipi lcd type. - : Dual channel mipi lcd. - : single channel mipi lcd. - - - lvds-format:No relationship. - - - out-face: DPI color coding as follows: - :24bit - :18bit - :16bit - - - hactive, vactive: display resolution - - hfront-porch, hback-porch, hsync-len: horizontal display timing parameters - in pixels - vfront-porch, vback-porch, vsync-len: vertical display timing parameters in - lines - - clock-frequency: display clock in Hz - - - swap-rb :exchange of red and blue. - - swap-rg :exchange of red and green. - - swap-gb :exchange of green and blue. - - - hsync-active: hsync pulse is active low/high/ignored - - vsync-active: vsync pulse is active low/high/ignored - - de-active: data-enable pulse is active low/high/ignored - - pixelclk-active: with - - active high = drive pixel data on rising edge/ - sample data on falling edge - - active low = drive pixel data on falling edge/ - sample data on rising edge - - ignored = ignored - - interlaced (bool): boolean to enable interlaced mode - - doublescan (bool): boolean to enable doublescan mode - -All the optional properties that are not bool follow the following logic: - <1>: high active - <0>: low active - omitted: not used on hardware - -There are different ways of describing the capabilities of a display. The -devicetree representation corresponds to the one commonly found in datasheets -for displays. If a display supports multiple signal timings, the native-mode -can be specified. - -The parameters are defined as: - - +----------+-------------------------------------+----------+-------+ - | | ª | | | - | | |vback_porch | | | - | | « | | | - +----------#######################################----------+-------+ - | # ª # | | - | # | # | | - | hback # | # hfront | hsync | - | porch # | hactive # porch | len | - |<-------->#<-------+--------------------------->#<-------->|<----->| - | # | # | | - | # |vactive # | | - | # | # | | - | # « # | | - +----------#######################################----------+-------+ - | | ª | | | - | | |vfront_porch | | | - | | « | | | - +----------+-------------------------------------+----------+-------+ - | | ª | | | - | | |vsync_len | | | - | | « | | | - +----------+-------------------------------------+----------+-------+ - - -Example: - -{ - /* about mipi */ - disp_mipi_init: mipi_dsi_init{ - rockchip,screen_init = <1>; - rockchip,dsi_lane = <4>; - rockchip,dsi_hs_clk = <1020>; - rockchip,mipi_dsi_num = <2>; - }; - disp_mipi_power_ctr: mipi_power_ctr { - mipi_lcd_rst:mipi_lcd_rst{ - rockchip,gpios = <&gpio7 GPIO_B2 GPIO_ACTIVE_HIGH>; - rockchip,delay = <10>; - }; - /*mipi_lcd_en:mipi_lcd_en { - rockchip,gpios = <&gpio6 GPIO_A7 GPIO_ACTIVE_HIGH>; - rockchip,delay = <10>; - };*/ - }; - disp_mipi_init_cmds: screen-on-cmds { - rockchip,cmd_debug = <0>; - rockchip,on-cmds1 { - rockchip,cmd_type = ; - rockchip,dsi_id = <2>; - rockchip,cmd = <0x05 0x01>; //set soft reset - rockchip,cmd_delay = <10>; - }; - }; - - disp_timings: display-timings { - native-mode = <&timing0>; - timing0: timing0 { - screen-type = ; - lvds-format = ; - out-face = ; - clock-frequency = <285000000>; - hactive = <2560>; - vactive = <1600>; - - hsync-len = <38>;//19 - hback-porch = <80>;//40 - hfront-porch = <246>;//123 - - vsync-len = <4>; - vback-porch = <4>; - vfront-porch = <12>; - - hsync-active = <0>; - vsync-active = <0>; - de-active = <0>; - pixelclk-active = <0>; - swap-rb = <0>; - swap-rg = <0>; - swap-gb = <0>; - }; - }; -}; - From cc186a5a72223c914486e385c92f42e276a7c852 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Tue, 21 Jan 2025 20:16:03 +0800 Subject: [PATCH 05/56] Revert "video: rockchip: dp: add cdn DP support for rk3399 with rk fb" This reverts commit 5f713d0f6012724872844b573d5580708ce7df91. Signed-off-by: Tao Huang Change-Id: I82c0d6a973923f249ce448683fa61aa8bb7dd032 --- .../devicetree/bindings/video/rockchip_dp.txt | 50 ------------------- 1 file changed, 50 deletions(-) delete mode 100644 Documentation/devicetree/bindings/video/rockchip_dp.txt diff --git a/Documentation/devicetree/bindings/video/rockchip_dp.txt b/Documentation/devicetree/bindings/video/rockchip_dp.txt deleted file mode 100644 index 52c079743e99..000000000000 --- a/Documentation/devicetree/bindings/video/rockchip_dp.txt +++ /dev/null @@ -1,50 +0,0 @@ -Rockchip RK3399 specific extensions to the cdn Display Port with rkfb -================================ - -Required properties: -- compatible: must be "rockchip,rk3399-cdn-dp-fb" - -- reg: physical base address of the controller and length - -- clocks: from common clock binding: handle to dp clock. - -- clock-names: from common clock binding: - Required elements: "core-clk" "pclk" "spdif" - -- resets : a list of phandle + reset specifier pairs -- reset-names : string reset name, must be: - "spdif" -- power-domains : power-domain property defined with a phandle - to respective power domain. -- assigned-clocks: main clock, should be <&cru SCLK_DP_CORE> -- assigned-clock-rates : the DP core clk frequency, shall be: 100000000 - -- rockchip,grf: this soc should set GRF regs, so need get grf here. - -- phys: from general PHY binding: the phandle for the PHY device. - -- extcon: extcon specifier for the Power Delivery - -- #sound-dai-cells = it must be 1 if your system is using 2 DAIs: I2S, SPDIF - -------------------------------------------------------------------------------- - -Example: - cdn_dp_fb: dp-fb@fec00000 { - compatible = "rockchip,rk3399-cdn-dp-fb"; - reg = <0x0 0xfec00000 0x0 0x100000>; - interrupts = ; - clocks = <&cru SCLK_DP_CORE>, <&cru PCLK_DP_CTRL>, - <&cru SCLK_SPDIF_REC_DPTX>; - clock-names = "core-clk", "pclk", "spdif"; - assigned-clocks = <&cru SCLK_DP_CORE>; - assigned-clock-rates = <100000000>; - power-domains = <&power RK3399_PD_HDCP>; - phys = <&tcphy0 0>, <&tcphy1 0>; - resets = <&cru SRST_DPTX_SPDIF_REC>; - reset-names = "spdif"; - rockchip,grf = <&grf>; - #address-cells = <1>; - #size-cells = <0>; - #sound-dai-cells = <1>; - }; From 2e0260bfa0289c1f129746c143126bfbb6c9c684 Mon Sep 17 00:00:00 2001 From: Zhibin Huang Date: Tue, 7 Jan 2025 15:14:17 +0800 Subject: [PATCH 06/56] misc: rk628: dsi: add debugfs for dphy timing debug 1. Specify to modify a timing configuration: echo dphy0.data_hs_prepare 0x40 > dphy_timing 2. Modify multiple configurations in the order "clk_lp, clk_hs_prepare, clk_hs_zero, clk_hs_trail, clk_post, data_lp, data_hs_prepare, data_hs_zero, data_hs_trail": echo dphy0 0x7 0x30 0x25 0x3c 0xf 0x7 0x40 0x9 0x40 > dphy_timing Type: Function Redmine ID: #N/A Associated modifications: N/A Test: N/A Signed-off-by: Zhibin Huang Change-Id: I902d87986f6918f5d18e365b9afab286cb21f699 --- drivers/misc/rk628/rk628_dsi.c | 136 ++++++++++++++++++++++++++++++++- 1 file changed, 135 insertions(+), 1 deletion(-) diff --git a/drivers/misc/rk628/rk628_dsi.c b/drivers/misc/rk628/rk628_dsi.c index 3d0681855c37..28182b99df58 100644 --- a/drivers/misc/rk628/rk628_dsi.c +++ b/drivers/misc/rk628/rk628_dsi.c @@ -950,6 +950,17 @@ static void testif_write(struct rk628 *rk628, const struct rk628_dsi *dsi, dev_info(rk628->dev, "monitor_data: 0x%x\n", monitor_data); } +static u8 testif_read(struct rk628 *rk628, const struct rk628_dsi *dsi, u8 reg) +{ + u8 value = 0; + + testif_test_code_write(rk628, dsi, reg); + value = testif_get_data(rk628, dsi); + testif_test_data_write(rk628, dsi, value); + + return value; +} + static void testif_set_timing(const struct rk628_dsi *dsi, u8 addr, u8 max, u8 val) { @@ -961,6 +972,126 @@ static void testif_set_timing(const struct rk628_dsi *dsi, u8 addr, testif_write(rk628, dsi, addr, (max + 1) | val); } +static const struct { + char *name; + u8 reg; + u8 max; +} dphy_timing_table[] = { + { "clk_lp", 0x60, 0x3f }, + { "clk_hs_prepare", 0x61, 0x7f }, + { "clk_hs_zero", 0x62, 0x3f }, + { "clk_hs_trail", 0x63, 0x7f }, + { "clk_post", 0x65, 0x0f }, + { "data_lp", 0x70, 0x3f }, + { "data_hs_prepare", 0x71, 0x7f }, + { "data_hs_zero", 0x72, 0x3f }, + { "data_hs_trail", 0x73, 0x7f }, +}; + +static int rk628_dphy_timing_show(struct seq_file *s, void *v) +{ + struct rk628 *rk628 = s->private; + u8 val; + + seq_printf(s, "%-29sdphy0 dphy1\n", ""); + for (int i = 0; i < ARRAY_SIZE(dphy_timing_table); i++) { + seq_printf(s, "%-15s(0x%02x ~ 0x%02x): ", dphy_timing_table[i].name, 0, + dphy_timing_table[i].max); + + val = testif_read(rk628, &rk628->dsi0, dphy_timing_table[i].reg); + if (val & (dphy_timing_table[i].max + 1)) + seq_printf(s, "0x%02x ", val & dphy_timing_table[i].max); + else + seq_puts(s, "auto "); + + val = testif_read(rk628, &rk628->dsi1, dphy_timing_table[i].reg); + if (val & (dphy_timing_table[i].max + 1)) + seq_printf(s, "0x%02x ", val & dphy_timing_table[i].max); + else + seq_puts(s, "auto "); + + seq_puts(s, "\n"); + } + + seq_puts(s, "\n"); + seq_puts(s, "example of modify single configuration:\n"); + seq_puts(s, " echo dphy0.data_hs_prepare 0x40 > dphy_timing\n"); + seq_puts(s, "example of modify multiple configurations:\n"); + seq_puts(s, " echo dphy0 0x7 0x30 0x25 0x3c 0xf 0x7 0x40 0x9 0x40 > dphy_timing\n"); + + return 0; +} + +static ssize_t rk628_dphy_timing_write(struct file *file, const char __user *buf, size_t count, + loff_t *ppos) +{ + struct rk628 *rk628 = file->f_path.dentry->d_inode->i_private; + struct rk628_dsi *dsi; + char kbuf[51], *p; + u32 val; + int ret; + + if (count >= sizeof(kbuf)) + return -ENOSPC; + + if (copy_from_user(kbuf, buf, count)) + return -EFAULT; + + kbuf[count] = '\0'; + + if (strstr(kbuf, "dphy0") == kbuf) + dsi = &rk628->dsi0; + else if (strstr(kbuf, "dphy1") == kbuf) + dsi = &rk628->dsi1; + else + return -EINVAL; + + p = kbuf + 5; + if (*(p++) == '.') { + char name[51]; + + ret = sscanf(p, "%s %x", name, &val); + if (ret != 2) + return -EINVAL; + + for (int i = 0; i < ARRAY_SIZE(dphy_timing_table); i++) { + if (strcmp(name, dphy_timing_table[i].name) == 0) { + testif_set_timing(dsi, dphy_timing_table[i].reg, + dphy_timing_table[i].max, val); + return count; + } + } + } else { + int i = 0; + + while (i < ARRAY_SIZE(dphy_timing_table) && sscanf(p, "%x%n", &val, &ret) == 1) { + testif_set_timing(dsi, dphy_timing_table[i].reg, + dphy_timing_table[i].max, val); + i++; + p += ret; + } + return count; + } + + return -EINVAL; +} + +static int rk628_dphy_timing_open(struct inode *inode, struct file *file) +{ + struct rk628 *rk628 = inode->i_private; + + return single_open(file, rk628_dphy_timing_show, rk628); +} + +static const struct file_operations rk628_dphy_timing_fops = { + .owner = THIS_MODULE, + .open = rk628_dphy_timing_open, + .read = seq_read, + .write = rk628_dphy_timing_write, + .llseek = seq_lseek, + .release = single_release, +}; + static void mipi_dphy_set_timing(const struct rk628_dsi *dsi) { const struct { @@ -1363,9 +1494,12 @@ static const struct file_operations rk628_dsi_color_bar_fops = { void rk628_mipi_dsi_create_debugfs_file(struct rk628 *rk628) { - if (rk628_output_is_dsi(rk628)) + if (rk628_output_is_dsi(rk628)) { debugfs_create_file("dsi_color_bar", 0600, rk628->debug_dir, rk628, &rk628_dsi_color_bar_fops); + debugfs_create_file("dphy_timing", 0600, rk628->debug_dir, + rk628, &rk628_dphy_timing_fops); + } } void rk628_mipi_dsi_pre_enable(struct rk628 *rk628) From 51b493642cbb615de0708dce036aee89ad1078e6 Mon Sep 17 00:00:00 2001 From: Chaoyi Chen Date: Thu, 14 Nov 2024 16:33:30 +0000 Subject: [PATCH 07/56] drm/rockchip: debugfs: Add support for dclk rate count Some chips support calculating the exact dclk frequencies, adding debugfs support to read them. Signed-off-by: Chaoyi Chen Change-Id: I94ebb91e6a31de7ff6e2efa13f73e9108c6d297e --- .../gpu/drm/rockchip/rockchip_drm_debugfs.c | 46 +++++++++++++++++++ .../gpu/drm/rockchip/rockchip_drm_debugfs.h | 7 +++ drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 1 + 3 files changed, 54 insertions(+) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_debugfs.c b/drivers/gpu/drm/rockchip/rockchip_drm_debugfs.c index 8d71df1d4cbf..7b5e3c2bbe2f 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_debugfs.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_debugfs.c @@ -351,3 +351,49 @@ int rockchip_drm_debugfs_add_regs_write(struct drm_crtc *crtc, struct dentry *ro return 0; } + +static int rockchip_drm_debugfs_dclk_rate_show(struct seq_file *s, void *data) +{ + struct drm_crtc *crtc = s->private; + struct rockchip_drm_private *priv = crtc->dev->dev_private; + int pipe = drm_crtc_index(crtc); + unsigned long rate; + + if (!priv->crtc_funcs[pipe]->crtc_get_dclk_rate) { + seq_puts(s, "Not support get rate\n"); + return 0; + } + + rate = priv->crtc_funcs[pipe]->crtc_get_dclk_rate(crtc); + + seq_printf(s, "%lu\n", rate); + return 0; +} + +static int rockchip_drm_debugfs_dclk_rate_open(struct inode *inode, struct file *file) +{ + struct drm_crtc *crtc = inode->i_private; + + return single_open(file, rockchip_drm_debugfs_dclk_rate_show, crtc); +} + +static const struct file_operations rockchip_drm_debugfs_dclk_rate_ops = { + .owner = THIS_MODULE, + .open = rockchip_drm_debugfs_dclk_rate_open, + .read = seq_read, + .llseek = seq_lseek, + .release = single_release, +}; + +int rockchip_drm_debugfs_add_dclk_rate(struct drm_crtc *crtc, struct dentry *root) +{ + struct dentry *ent; + + ent = debugfs_create_file("calculated_dclk_rate", 0644, root, crtc, + &rockchip_drm_debugfs_dclk_rate_ops); + if (!ent) + DRM_ERROR("Failed to add dclk_rate for debugfs\n"); + + return 0; +} + diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_debugfs.h b/drivers/gpu/drm/rockchip/rockchip_drm_debugfs.h index 2f8ec1677245..bb7290146427 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_debugfs.h +++ b/drivers/gpu/drm/rockchip/rockchip_drm_debugfs.h @@ -37,6 +37,7 @@ rockchip_drm_crtc_dump_plane_buffer(struct drm_crtc *crtc) #endif int rockchip_drm_debugfs_add_color_bar(struct drm_crtc *crtc, struct dentry *root); int rockchip_drm_debugfs_add_regs_write(struct drm_crtc *crtc, struct dentry *root); +int rockchip_drm_debugfs_add_dclk_rate(struct drm_crtc *crtc, struct dentry *root); #else static inline int rockchip_drm_add_dump_buffer(struct drm_crtc *crtc, struct dentry *root) @@ -61,6 +62,12 @@ rockchip_drm_debugfs_add_regs_write(struct drm_crtc *crtc, struct dentry *root) { return 0; } + +static inline int +rockchip_drm_debugfs_add_dclk_rate(struct drm_crtc *crtc, struct dentry *root) +{ + return 0; +} #endif #endif diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_drv.h b/drivers/gpu/drm/rockchip/rockchip_drm_drv.h index c28e84f7a2b1..1dc25364eed7 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_drv.h +++ b/drivers/gpu/drm/rockchip/rockchip_drm_drv.h @@ -527,6 +527,7 @@ struct rockchip_crtc_funcs { void (*crtc_output_post_enable)(struct drm_crtc *crtc, int intf); void (*crtc_output_pre_disable)(struct drm_crtc *crtc, int intf); int (*crtc_set_color_bar)(struct drm_crtc *crtc, enum rockchip_color_bar_mode mode); + unsigned long (*crtc_get_dclk_rate)(struct drm_crtc *crtc); int (*set_aclk)(struct drm_crtc *crtc, enum rockchip_drm_vop_aclk_mode aclk_mode, struct dmcfreq_vop_info *vop_bw_info); int (*get_crc)(struct drm_crtc *crtc); void (*iommu_fault_handler)(struct drm_crtc *crtc, struct iommu_domain *iommu); From f03f3720bb2baa7e46e5a9133d1c2976d6b8a51f Mon Sep 17 00:00:00 2001 From: Simon Xue Date: Wed, 15 Jan 2025 11:04:06 +0800 Subject: [PATCH 08/56] soc: rockchip: rk_dmabuf_procfs: protect dmabuf linked list from concurrent access Change-Id: I36c844db01622006aaae1b4173663f5442693b3c Signed-off-by: Simon Xue --- drivers/soc/rockchip/rk_dmabuf_procfs.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/soc/rockchip/rk_dmabuf_procfs.c b/drivers/soc/rockchip/rk_dmabuf_procfs.c index 6d7fb31dfb2a..86c31aeae80d 100644 --- a/drivers/soc/rockchip/rk_dmabuf_procfs.c +++ b/drivers/soc/rockchip/rk_dmabuf_procfs.c @@ -10,6 +10,7 @@ #include #include #include +#include #define K(size) ((unsigned long)((size) >> 10)) static struct device *dmabuf_dev; @@ -59,6 +60,8 @@ static void rk_dmabuf_dump_sgt(const struct dma_buf *dmabuf, void *private) phys_addr_t end, len; int i; + dma_resv_lock(dmabuf->resv, NULL); + list_for_each_entry_safe(a, t, &dmabuf->attachments, node) { if (!a->sgt) continue; @@ -76,8 +79,12 @@ static void rk_dmabuf_dump_sgt(const struct dma_buf *dmabuf, void *private) (len >> 10) ? (K(len)) : (unsigned long)len, (len >> 10) ? "KiB" : "Bytes"); } + dma_resv_unlock(dmabuf->resv); return; } + + dma_resv_unlock(dmabuf->resv); + /* Try to attach and map the dmabufs without sgt. */ if (IS_ENABLED(CONFIG_RK_DMABUF_DEBUG_ADVANCED)) { struct dma_buf *dbuf = (struct dma_buf *)dmabuf; @@ -105,9 +112,11 @@ static int rk_dmabuf_cb3(const struct dma_buf *dmabuf, void *private) seq_printf(s, "%px %-16.16s %-16.16s %10lu KiB", dmabuf, dmabuf->name, dmabuf->exp_name, K(dmabuf->size)); + dma_resv_lock(dmabuf->resv, NULL); list_for_each_entry_safe(a, t, &dmabuf->attachments, node) { seq_printf(s, " %s", dev_name(a->dev)); } + dma_resv_unlock(dmabuf->resv); seq_puts(s, "\n"); return 0; From 92364ef8ee1e2065f4c41ab592d4023d39a2be56 Mon Sep 17 00:00:00 2001 From: Zhibin Huang Date: Thu, 22 Aug 2024 07:56:12 +0800 Subject: [PATCH 09/56] misc: rk628: hdmitx: pll configured within the range of values specified by spec MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The specification states that the pre-dividing ratio ranges from 1≤N≤15 and the feedback dividing ratio ranges from 16≤M≤512, and lower values have a eliminating effect on external reference clock jitter. The following example is given in specification: Bandwidth Frequency(MHz) N/M 1.41MHz 148.5 2/20 458KHz 148.5 3/30 322.89KHz 148.5 6/60 229KHz 148.5 12/120 Here the configuration is configured according to the minimum value in the sample Type: Fix Redmine ID: N/A Associated modifications: N/A Test: N/A Signed-off-by: Zhibin Huang Change-Id: I73e9cc5d70816e5409a48866430ed3762821909b --- drivers/misc/rk628/rk628_hdmitx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/misc/rk628/rk628_hdmitx.c b/drivers/misc/rk628/rk628_hdmitx.c index f44371bba2b7..19b05981441f 100644 --- a/drivers/misc/rk628/rk628_hdmitx.c +++ b/drivers/misc/rk628/rk628_hdmitx.c @@ -511,9 +511,9 @@ static int rk628_hdmi_config_video_timing(struct rk628_hdmi *hdmi, value = mode->vsync_end - mode->vsync_start; hdmi_writeb(hdmi, HDMI_VIDEO_EXT_VDURATION, value & 0xFF); - hdmi_writeb(hdmi, HDMI_PHY_PRE_DIV_RATIO, 0x1e); - hdmi_writeb(hdmi, PHY_FEEDBACK_DIV_RATIO_LOW, 0x2c); - hdmi_writeb(hdmi, PHY_FEEDBACK_DIV_RATIO_HIGH, 0x01); + hdmi_writeb(hdmi, HDMI_PHY_PRE_DIV_RATIO, 0x02); + hdmi_writeb(hdmi, PHY_FEEDBACK_DIV_RATIO_LOW, 0x14); + hdmi_writeb(hdmi, PHY_FEEDBACK_DIV_RATIO_HIGH, 0x00); return 0; } From 5749679e7fc5033e8b8827744887e3658e172b5c Mon Sep 17 00:00:00 2001 From: Algea Cao Date: Wed, 22 Jan 2025 11:46:52 +0800 Subject: [PATCH 10/56] drm/rockchip: dw_hdmi: Fix resolution between 340MHz and 594MHz can't be switched to yuv420 HDMI2.0 resolution that frequency between 340MHz and 594MHz may support yuv420.These include resolutions of less than 4K60/50Hz. Change-Id: I4cf5466ef91c42a33dbfc3c7462773c82e31fe68 Signed-off-by: Algea Cao --- drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c b/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c index e05b61cea886..0b00c6a3562b 100644 --- a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c +++ b/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c @@ -197,6 +197,7 @@ #define HDMI_EARC_MODE BIT(29) #define DATA_RATE_MASK 0xFFFFFFF +#define HDMI14_MAX_RATE 340000 #define HDMI20_MAX_RATE 600000 #define HDMI_8K60_RATE 2376000 @@ -2382,12 +2383,12 @@ dw_hdmi_rockchip_select_output(struct drm_connector_state *conn_state, *color_format = RK_IF_FORMAT_YCBCR422; else if (conn_state->connector->ycbcr_420_allowed && drm_mode_is_420(info, &mode) && - (pixclock >= 594000 && !hdmi->is_hdmi_qp)) + (pixclock > HDMI14_MAX_RATE && !hdmi->is_hdmi_qp)) *color_format = RK_IF_FORMAT_YCBCR420; break; case RK_IF_FORMAT_YCBCR_LQ: if (conn_state->connector->ycbcr_420_allowed && - drm_mode_is_420(info, &mode) && pixclock >= 594000) + drm_mode_is_420(info, &mode) && pixclock > HDMI14_MAX_RATE) *color_format = RK_IF_FORMAT_YCBCR420; else if (info->color_formats & DRM_COLOR_FORMAT_YCBCR422) *color_format = RK_IF_FORMAT_YCBCR422; @@ -2396,7 +2397,7 @@ dw_hdmi_rockchip_select_output(struct drm_connector_state *conn_state, break; case RK_IF_FORMAT_YCBCR420: if (conn_state->connector->ycbcr_420_allowed && - drm_mode_is_420(info, &mode) && pixclock >= 594000) + drm_mode_is_420(info, &mode) && pixclock > HDMI14_MAX_RATE) *color_format = RK_IF_FORMAT_YCBCR420; break; case RK_IF_FORMAT_YCBCR422: From 6c737726710dd2d31cadebd2f7e5f4d12320663b Mon Sep 17 00:00:00 2001 From: Finley Xiao Date: Mon, 20 Jan 2025 11:42:25 +0800 Subject: [PATCH 11/56] dt-bindings: clock: rk3506: Add clock id CLK_32K_FRAC_MUX Change-Id: Ia9cb3fbed2acf9eb087151e0b6a78c8571cc1374 Signed-off-by: Finley Xiao --- include/dt-bindings/clock/rockchip,rk3506-cru.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/clock/rockchip,rk3506-cru.h b/include/dt-bindings/clock/rockchip,rk3506-cru.h index 6d880fd8339a..9394f34093e3 100644 --- a/include/dt-bindings/clock/rockchip,rk3506-cru.h +++ b/include/dt-bindings/clock/rockchip,rk3506-cru.h @@ -280,8 +280,9 @@ #define CLK_WIFI_OUT 281 #define CLK_V0PLL_REF 282 #define CLK_V1PLL_REF 283 +#define CLK_32K_FRAC_MUX 284 -#define CLK_NR_CLKS (CLK_V1PLL_REF + 1) +#define CLK_NR_CLKS (CLK_32K_FRAC_MUX + 1) /* soft-reset indices */ From b0f1f18d9615200636625027b49bd44c9b61577e Mon Sep 17 00:00:00 2001 From: Finley Xiao Date: Mon, 20 Jan 2025 11:55:27 +0800 Subject: [PATCH 12/56] clk: rockchip: rk3506: Fix clk_32k_frac Change-Id: I29042582db22b24951318b60aafddf1e8e843030 Signed-off-by: Finley Xiao --- drivers/clk/rockchip/clk-rk3506.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/clk/rockchip/clk-rk3506.c b/drivers/clk/rockchip/clk-rk3506.c index d7e5fc6661ff..639ff439aa6c 100644 --- a/drivers/clk/rockchip/clk-rk3506.c +++ b/drivers/clk/rockchip/clk-rk3506.c @@ -742,9 +742,10 @@ static struct rockchip_clk_branch rk3506_clk_branches[] __initdata = { COMPOSITE(CLK_REF_OUT1, "clk_ref_out1", clk_ref_out_parents_p, 0, RK3506_PMU_CLKSEL_CON(1), 14, 2, MFLAGS, 8, 6, DFLAGS, RK3506_PMU_CLKGATE_CON(1), 5, GFLAGS), - COMPOSITE_DIV_OFFSET(CLK_32K_FRAC, "clk_32k_frac", clk_32k_frac_parents_p, CLK_IGNORE_UNUSED, - RK3506_PMU_CLKSEL_CON(3), 0, 2, MFLAGS, - RK3506_PMU_CLKSEL_CON(2), 0, 32, DFLAGS, + MUX(CLK_32K_FRAC_MUX, "clk_32k_frac_mux", clk_32k_frac_parents_p, 0, + RK3506_PMU_CLKSEL_CON(3), 0, 2, MFLAGS), + COMPOSITE_FRAC(CLK_32K_FRAC, "clk_32k_frac", "clk_32k_frac_mux", 0, + RK3506_PMU_CLKSEL_CON(2), 0, RK3506_PMU_CLKGATE_CON(1), 6, GFLAGS), COMPOSITE_NOMUX(CLK_32K_RC, "clk_32k_rc", "clk_rc", CLK_IS_CRITICAL, RK3506_PMU_CLKSEL_CON(3), 2, 5, DFLAGS, From c70f002a5f01364d2b7235ed45a56695ebe17204 Mon Sep 17 00:00:00 2001 From: Finley Xiao Date: Mon, 20 Jan 2025 11:56:14 +0800 Subject: [PATCH 13/56] ARM: dts: rockchip: rk3502: Set clk_32k_frac to 32768Hz Change-Id: I5625e04bd2f4acf427d235157939268d21b2975f Signed-off-by: Finley Xiao --- arch/arm/boot/dts/rk3502.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/rk3502.dtsi b/arch/arm/boot/dts/rk3502.dtsi index 039fd5ff9bd6..ac795287b5b0 100644 --- a/arch/arm/boot/dts/rk3502.dtsi +++ b/arch/arm/boot/dts/rk3502.dtsi @@ -1452,9 +1452,15 @@ #reset-cells = <1>; assigned-clocks = + <&cru CLK_32K_FRAC_MUX>, + <&cru CLK_32K_FRAC>, <&cru CLK_FRAC_UART_MATRIX0>, <&cru CLK_FRAC_UART_MATRIX1>; + assigned-clock-parents = + <&cru PLL_V0PLL>; assigned-clock-rates = + <0>, + <32768>, <96000000>, <128000000>; }; From 64786cc31215f259bf43146eb4eb64634ea7e8e4 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 18:51:16 +0800 Subject: [PATCH 14/56] mtd: rawnand: rockchip: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: I12965ad29f1be0d0e1e7f60e8d45e40525b785e8 --- drivers/mtd/nand/raw/rockchip-nand-controller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/raw/rockchip-nand-controller.c b/drivers/mtd/nand/raw/rockchip-nand-controller.c index 2a2f0b9fc9b9..4b121fdad8b5 100644 --- a/drivers/mtd/nand/raw/rockchip-nand-controller.c +++ b/drivers/mtd/nand/raw/rockchip-nand-controller.c @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 OR MIT /* * Rockchip NAND Flash controller driver. - * Copyright (C) 2020 Rockchip Inc. + * Copyright (C) 2020 Rockchip Electronics Co., Ltd. * Author: Yifeng Zhao */ From fd606df5de6c1be8003078359209a83735f75b96 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 18:52:03 +0800 Subject: [PATCH 15/56] pinctrl: rockchip: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: Ic72bd05e6dfcc38e39b5983ba25c0746cdf04066 --- drivers/pinctrl/pinctrl-rockchip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-rockchip.h b/drivers/pinctrl/pinctrl-rockchip.h index c8478816095d..8e1173f60d73 100644 --- a/drivers/pinctrl/pinctrl-rockchip.h +++ b/drivers/pinctrl/pinctrl-rockchip.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* - * Copyright (c) 2020-2021 Rockchip Electronics Co. Ltd. + * Copyright (c) 2020-2021 Rockchip Electronics Co., Ltd. * * Copyright (c) 2013 MundoReader S.L. * Author: Heiko Stuebner From dee0952de96c75165523910f4b615cf2b88619c1 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 18:52:57 +0800 Subject: [PATCH 16/56] power: supply: cw2015: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: If24ef1b9dd202dcb12b8acfde0b480f135761c2c --- drivers/power/supply/cw2015_battery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/supply/cw2015_battery.c b/drivers/power/supply/cw2015_battery.c index cdd6e028f461..d797974994c8 100644 --- a/drivers/power/supply/cw2015_battery.c +++ b/drivers/power/supply/cw2015_battery.c @@ -2,7 +2,7 @@ /* * Fuel gauge driver for CellWise 2013 / 2015 * - * Copyright (C) 2012, RockChip + * Copyright (C) 2012, Rockchip Electronics Co., Ltd. * Copyright (C) 2020, Tobias Schramm * * Authors: xuhuicong From 61d7056f7ff86e25ed3a14a799f408fb94cbecb1 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 18:53:29 +0800 Subject: [PATCH 17/56] power: supply: rk817: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: Ie9da64678868293bfc9a0911fbe6c699f7ae77f0 --- drivers/power/supply/rk817_charger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/supply/rk817_charger.c b/drivers/power/supply/rk817_charger.c index d3c4e56828e9..852002437e94 100644 --- a/drivers/power/supply/rk817_charger.c +++ b/drivers/power/supply/rk817_charger.c @@ -1,7 +1,7 @@ /* * rk817 charger driver * - * Copyright (C) 2018 Rockchip Electronics Co., Ltd + * Copyright (C) 2018 Rockchip Electronics Co., Ltd. * xsf * * This program is free software; you can redistribute it and/or modify it From 9afba3f60d6495ae8084518724c456c3bc427464 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 18:54:13 +0800 Subject: [PATCH 18/56] rtc: hym8563: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: Iee05613555d5f43f6433d173648015405b93a53c --- drivers/rtc/rtc-hym8563.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-hym8563.c b/drivers/rtc/rtc-hym8563.c index 417c4ccc79e4..59759e26d476 100644 --- a/drivers/rtc/rtc-hym8563.c +++ b/drivers/rtc/rtc-hym8563.c @@ -6,7 +6,7 @@ * Author: Heiko Stuebner * * based on rtc-HYM8563 - * Copyright (C) 2010 ROCKCHIP, Inc. + * Copyright (C) 2010 Rockchip Electronics Co., Ltd. */ #include From a4c59234e0f94373ca8c8e0cfaac52ebf99b7868 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 18:54:57 +0800 Subject: [PATCH 19/56] spi: rockchip-sfc: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: Ibcd80856de5e2f4fbe9d71061291dd6c61933ea3 --- drivers/spi/spi-rockchip-sfc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-rockchip-sfc.c b/drivers/spi/spi-rockchip-sfc.c index d4567b2e54c4..de41d7bfd566 100644 --- a/drivers/spi/spi-rockchip-sfc.c +++ b/drivers/spi/spi-rockchip-sfc.c @@ -2,7 +2,7 @@ /* * Rockchip Serial Flash Controller Driver * - * Copyright (c) 2017-2021, Rockchip Inc. + * Copyright (c) 2017-2021, Rockchip Electronics Co., Ltd. * Author: Shawn Lin * Chris Morgan * Jon Lin From 686d50ff6c72478927de7a2ac2207123a65b5faf Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 18:57:58 +0800 Subject: [PATCH 20/56] pwm: rockchip: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: I652cf4586168463dfd593e24e7ea0182e9e1d53d --- drivers/pwm/pwm-rockchip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pwm/pwm-rockchip.c b/drivers/pwm/pwm-rockchip.c index 26a7986b6157..1808b1ddf6bb 100644 --- a/drivers/pwm/pwm-rockchip.c +++ b/drivers/pwm/pwm-rockchip.c @@ -3,7 +3,7 @@ * PWM driver for Rockchip SoCs * * Copyright (C) 2014 Beniamino Galvani - * Copyright (C) 2014 ROCKCHIP, Inc. + * Copyright (C) 2014 Rockchip Electronics Co., Ltd. */ #include From c77992f02248574e8f81adc299b54c49192298b1 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:01:56 +0800 Subject: [PATCH 21/56] misc: rkflash_vendor_storage: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: Iaa29882311643aa0c2fbdfe9a64d2cefc9a2c4cb --- include/uapi/misc/rkflash_vendor_storage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/misc/rkflash_vendor_storage.h b/include/uapi/misc/rkflash_vendor_storage.h index c217380d1713..e4d604f81664 100644 --- a/include/uapi/misc/rkflash_vendor_storage.h +++ b/include/uapi/misc/rkflash_vendor_storage.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: ((GPL-2.0+ WITH Linux-syscall-note) OR MIT) */ -/* Copyright (c) 2023 Rockchip Electronics Co., Ltd */ +/* Copyright (c) 2023 Rockchip Electronics Co., Ltd. */ #ifndef _RKFLASH_VENDOR_STORAGE #define _RKFLASH_VENDOR_STORAGE From 30780022aae5098a777640069974dbcc421e736c Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:02:16 +0800 Subject: [PATCH 22/56] misc: dw_hdcp2: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: I75042a7977719f7ab38661bb422db43bafe54400 --- include/uapi/misc/dw_hdcp2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/misc/dw_hdcp2.h b/include/uapi/misc/dw_hdcp2.h index 43d4af3d80d6..b1a82368295c 100644 --- a/include/uapi/misc/dw_hdcp2.h +++ b/include/uapi/misc/dw_hdcp2.h @@ -2,7 +2,7 @@ /* * Rockchip HDCP Host Library driver * - * Copyright (C) 2022 Rockchip Electronics Co., Ltd + * Copyright (C) 2022 Rockchip Electronics Co., Ltd. */ #ifndef _DW_HDCP_HOST_LIB_DRIVER_LINUX_IF_H_ From 99dd010aca0d6749b3ee98690b504c24c98215f9 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:03:29 +0800 Subject: [PATCH 23/56] rk-dma-heap: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: I6718d622d51fd3570c4fe9cbd520d3567b33ccf5 --- include/linux/rk-dma-heap.h | 2 +- include/uapi/linux/rk-dma-heap.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/rk-dma-heap.h b/include/linux/rk-dma-heap.h index e42bc227dd04..1d44bf139d72 100644 --- a/include/linux/rk-dma-heap.h +++ b/include/linux/rk-dma-heap.h @@ -4,7 +4,7 @@ * * Copyright (C) 2011 Google, Inc. * Copyright (C) 2019 Linaro Ltd. - * Copyright (C) 2022 Rockchip Electronics Co. Ltd. + * Copyright (C) 2022 Rockchip Electronics Co., Ltd. * Author: Simon Xue */ diff --git a/include/uapi/linux/rk-dma-heap.h b/include/uapi/linux/rk-dma-heap.h index 4e83d71811ce..127b5cab6736 100644 --- a/include/uapi/linux/rk-dma-heap.h +++ b/include/uapi/linux/rk-dma-heap.h @@ -4,7 +4,7 @@ * * Copyright (C) 2011 Google, Inc. * Copyright (C) 2019 Linaro Ltd. - * Copyright (C) 2022 Rockchip Electronics Co. Ltd. + * Copyright (C) 2022 Rockchip Electronics Co., Ltd. * Author: Simon Xue */ #ifndef _UAPI_LINUX_DMABUF_POOL_H From 02dfd4e9569bf236815d4fa979a6442739de29be Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:04:08 +0800 Subject: [PATCH 24/56] misc: rk_scr_api: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: I5905eb85d4dc2217d2bfdf9a4bdcd1f4a232e749 --- include/misc/rk_scr_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/misc/rk_scr_api.h b/include/misc/rk_scr_api.h index 535e83a9183c..0b3dbdd6b615 100644 --- a/include/misc/rk_scr_api.h +++ b/include/misc/rk_scr_api.h @@ -1,7 +1,7 @@ /* * Driver for Rockchip Smart Card Reader Controller * - * Copyright (C) 2012-2016 ROCKCHIP, Inc. + * Copyright (C) 2012-2016 Rockchip Electronics Co., Ltd. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and From 8c85762b10cf712398d0cfa87878909efc144696 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:04:54 +0800 Subject: [PATCH 25/56] soc: rockchip: rockchip_thunderboot_service: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: I975f1f4d6f7aabf75875a08a5f25c129b9781a50 --- include/linux/soc/rockchip/rockchip_thunderboot_service.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/soc/rockchip/rockchip_thunderboot_service.h b/include/linux/soc/rockchip/rockchip_thunderboot_service.h index d0a08a07c21d..00f75f88b688 100644 --- a/include/linux/soc/rockchip/rockchip_thunderboot_service.h +++ b/include/linux/soc/rockchip/rockchip_thunderboot_service.h @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0+ */ -/* Copyright (c) 2022 Rockchip Electronics Co., Ltd */ +/* Copyright (c) 2022 Rockchip Electronics Co., Ltd. */ #ifndef _ROCKCHIP_THUNDERBOOT_SERVICE_H #define _ROCKCHIP_THUNDERBOOT_SERVICE_H From 9aa937523ff3064d001fc51a51ce020e6d15a979 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:05:33 +0800 Subject: [PATCH 26/56] soc: rockchip: rockchip_thunderboot_crypto: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: I8056ce803b1656488c1023ac369455ef85a28e70 --- include/linux/soc/rockchip/rockchip_thunderboot_crypto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/soc/rockchip/rockchip_thunderboot_crypto.h b/include/linux/soc/rockchip/rockchip_thunderboot_crypto.h index 2fe176649409..166971d45284 100644 --- a/include/linux/soc/rockchip/rockchip_thunderboot_crypto.h +++ b/include/linux/soc/rockchip/rockchip_thunderboot_crypto.h @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0+ */ -/* Copyright (c) 2021 Rockchip Electronics Co., Ltd */ +/* Copyright (c) 2021 Rockchip Electronics Co., Ltd. */ #ifndef _ROCKCHIP_THUNDERBOOT_CRYPTO_ #define _ROCKCHIP_THUNDERBOOT_CRYPTO_ From 8a51a673bb0d33c023c68b3a25aafcbd39a9d92f Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:05:49 +0800 Subject: [PATCH 27/56] soc: rockchip: rockchip_decompress: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: I190e4678495bb8de15cf450f61048a77fde879a5 --- include/linux/soc/rockchip/rockchip_decompress.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/soc/rockchip/rockchip_decompress.h b/include/linux/soc/rockchip/rockchip_decompress.h index 120ae907c2aa..9eb34f6d4ddd 100644 --- a/include/linux/soc/rockchip/rockchip_decompress.h +++ b/include/linux/soc/rockchip/rockchip_decompress.h @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0+ */ -/* Copyright (c) 2020 Rockchip Electronics Co., Ltd */ +/* Copyright (c) 2020 Rockchip Electronics Co., Ltd. */ #ifndef _ROCKCHIP_DECOMPRESS #define _ROCKCHIP_DECOMPRESS From 4c7037df79dbfcbf39c981b1cc0dcac2bef41a4b Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:06:11 +0800 Subject: [PATCH 28/56] sensor-dev: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: I4f1409255bb324f27ac3ef90cc5f1ce97ae8549c --- include/linux/sensor-dev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/sensor-dev.h b/include/linux/sensor-dev.h index a29d512ec0d1..e64676f2d967 100644 --- a/include/linux/sensor-dev.h +++ b/include/linux/sensor-dev.h @@ -1,6 +1,6 @@ /* include/linux/sensor-dev.h - sensor header file * - * Copyright (C) 2012-2015 ROCKCHIP. + * Copyright (C) 2012-2015 Rockchip Electronics Co., Ltd. * Author: luowei * * This software is licensed under the terms of the GNU General Public From b62996559e875c9d73a91759285ce942c8d60585 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:06:30 +0800 Subject: [PATCH 29/56] rockchip: cpu: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: Ie458b2fc4fc9d7679ea4d2632e14d98a31448bd5 --- include/linux/rockchip/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/rockchip/cpu.h b/include/linux/rockchip/cpu.h index beaaf923f9ec..0cd6f673c4d9 100644 --- a/include/linux/rockchip/cpu.h +++ b/include/linux/rockchip/cpu.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Rockchip Electronics Co. Ltd. + * Copyright (C) 2017 Rockchip Electronics Co., Ltd. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as From 07d96086a68275c5102dcb8ff102bf5bb5abb9ba Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:06:48 +0800 Subject: [PATCH 30/56] rockchip-panel-notifier: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: Ifc0937f8fce8a10894eed0457e0c35599339f467 --- include/linux/rockchip-panel-notifier.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/rockchip-panel-notifier.h b/include/linux/rockchip-panel-notifier.h index 6fb90045ca7e..23bd2403be33 100644 --- a/include/linux/rockchip-panel-notifier.h +++ b/include/linux/rockchip-panel-notifier.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0 */ /* - * Copyright (c) 2024 Rockchip Electronics Co. Ltd. + * Copyright (c) 2024 Rockchip Electronics Co., Ltd. * Author: Zhibin Huang */ From b1c7a05f82f865b39623cd07d0804532bd393ac3 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:10:46 +0800 Subject: [PATCH 31/56] rk_hdmirx_class: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: Icfb095c93eee3def91521788fdc289c1795adb61 --- include/linux/rk_hdmirx_class.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/rk_hdmirx_class.h b/include/linux/rk_hdmirx_class.h index d3a3e434b030..780ab3f96919 100644 --- a/include/linux/rk_hdmirx_class.h +++ b/include/linux/rk_hdmirx_class.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0 */ /* - * Copyright (c) 2021 Rockchip Electronics Co. Ltd. + * Copyright (c) 2021 Rockchip Electronics Co., Ltd. * * Author: Dingxian Wen */ From aef257897ea28b52aef4d11b615f0dcb2938ab7d Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:11:09 +0800 Subject: [PATCH 32/56] power: cw2015_battery: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: Ib295c22f40959f70da2fb308d25647cd1bc9fe8f --- include/linux/power/cw2015_battery.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/power/cw2015_battery.h b/include/linux/power/cw2015_battery.h index 8e6b1fc7e344..87aff015a17a 100644 --- a/include/linux/power/cw2015_battery.h +++ b/include/linux/power/cw2015_battery.h @@ -1,7 +1,7 @@ /* * Fuel gauge driver for CellWise 2013 / 2015 * - * Copyright (C) 2012, RockChip + * Copyright (C) 2012, Rockchip Electronics Co., Ltd. * * Authors: xuhuicong * From d81dbd906eeb6b8268c4bb2c859890b157e115be Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:12:03 +0800 Subject: [PATCH 33/56] platform_data: spi-rockchip: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: I08bbc211c5a2792892daf4f3fdda50fab3db7964 --- include/linux/platform_data/spi-rockchip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/platform_data/spi-rockchip.h b/include/linux/platform_data/spi-rockchip.h index 4b588739b5b6..47a2851e8bbe 100755 --- a/include/linux/platform_data/spi-rockchip.h +++ b/include/linux/platform_data/spi-rockchip.h @@ -1,6 +1,6 @@ /* include/linux/platform_data/spi-rockchip.h * - * Copyright (C) 2014 Rockchip Electronics Ltd. + * Copyright (C) 2014 Rockchip Electronics Co., Ltd. * luowei * * This program is free software; you can redistribute it and/or modify From 8e8bec37977ed1b0ebd53b0b0938ede66a8c8b2a Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:12:54 +0800 Subject: [PATCH 34/56] mtd: bbt_store: Fix typos in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: I4fb28f10580711d2c524c04b0bc94dc4cb9f2d6e --- drivers/mtd/nand/bbt_store.c | 2 +- include/linux/mtd/bbt_store.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/bbt_store.c b/drivers/mtd/nand/bbt_store.c index 8687861bf3b4..2f9807138e0e 100644 --- a/drivers/mtd/nand/bbt_store.c +++ b/drivers/mtd/nand/bbt_store.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /* - * Copyright (c) 2021 Rockchip Electronics Co. Ltd. + * Copyright (c) 2021 Rockchip Electronics Co., Ltd. * */ diff --git a/include/linux/mtd/bbt_store.h b/include/linux/mtd/bbt_store.h index 20373ef5c4a6..09b5de593302 100644 --- a/include/linux/mtd/bbt_store.h +++ b/include/linux/mtd/bbt_store.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0 */ /* - * Copyright (c) 2021 Rockchip Electronics Co. Ltd. + * Copyright (c) 2021 Rockchip Electronics Co., Ltd. * */ From b3ea65948c93f54649f9985267b6207912eadc8d Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:13:11 +0800 Subject: [PATCH 35/56] mfd: rk630: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: I8589ab0af02fc1db635ce90fc5c46aec8efb8000 --- include/linux/mfd/rk630.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mfd/rk630.h b/include/linux/mfd/rk630.h index 53c67e846f7c..e496813945c8 100644 --- a/include/linux/mfd/rk630.h +++ b/include/linux/mfd/rk630.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0 */ /* - * Copyright (c) 2020 Rockchip Electronics Co. Ltd. + * Copyright (c) 2020 Rockchip Electronics Co., Ltd. * * Author: Algea Cao */ From de7d1186a88bf3fa7e8a698aee63d52f5daa5c33 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:14:19 +0800 Subject: [PATCH 36/56] mfd: rk618: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: Ic13d8fedd438b01d84aebef9616d928cb9c9e1a4 --- include/linux/mfd/rk618.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mfd/rk618.h b/include/linux/mfd/rk618.h index 94525e1cb137..e957d8ab4c1c 100644 --- a/include/linux/mfd/rk618.h +++ b/include/linux/mfd/rk618.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 Rockchip Electronics Co. Ltd. + * Copyright (c) 2017 Rockchip Electronics Co., Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by From ba11da5f7fc272507dfacde2be85871c5f1dd5f5 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:14:31 +0800 Subject: [PATCH 37/56] mfd: max96755f: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: I53ed383dadd3b245bf8db394d9ef653583874039 --- include/linux/mfd/max96755f.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mfd/max96755f.h b/include/linux/mfd/max96755f.h index 88bafca9609e..83d200ddb70f 100644 --- a/include/linux/mfd/max96755f.h +++ b/include/linux/mfd/max96755f.h @@ -2,7 +2,7 @@ /* * Defining registers address and its bit definitions of MAX96752F * - * Copyright (c) 2022 Rockchip Electronics Co. Ltd. + * Copyright (c) 2022 Rockchip Electronics Co., Ltd. */ #ifndef _MFD_MAX96755F_H_ From 776463ab06c74e4250f3cff89652fcc733117205 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:14:44 +0800 Subject: [PATCH 38/56] mfd: max96745: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: Ic6759911b12d5c17e0bd9ec13aa0ba5711c11952 --- include/linux/mfd/max96745.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mfd/max96745.h b/include/linux/mfd/max96745.h index 7eef5153a760..222dcbaca886 100644 --- a/include/linux/mfd/max96745.h +++ b/include/linux/mfd/max96745.h @@ -2,7 +2,7 @@ /* * Defining registers address and its bit definitions of MAX96745 * - * Copyright (c) 2022 Rockchip Electronics Co. Ltd. + * Copyright (c) 2022 Rockchip Electronics Co., Ltd. */ #ifndef _MFD_MAX96745_H_ From 107455b759656006738cb992a1b8a16c51e30820 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:14:59 +0800 Subject: [PATCH 39/56] dma-buf-cache: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: Id228cc6a7088a4f7c1294d42d3320b3c48e277b9 --- include/linux/dma-buf-cache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/dma-buf-cache.h b/include/linux/dma-buf-cache.h index d97545560990..0cf3ec91fe6d 100644 --- a/include/linux/dma-buf-cache.h +++ b/include/linux/dma-buf-cache.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0 */ /* - * Copyright (c) 2021 Rockchip Electronics Co. Ltd. + * Copyright (c) 2021 Rockchip Electronics Co., Ltd. */ #ifndef _LINUX_DMA_BUF_CACHE_H #define _LINUX_DMA_BUF_CACHE_H From 12d321f646b4325ab507c3cf5df6bde9a182d210 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:15:16 +0800 Subject: [PATCH 40/56] clk: rockchip: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: I8474a4e94732570799ea1da051a706e45a0b72a3 --- include/linux/clk/rockchip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/clk/rockchip.h b/include/linux/clk/rockchip.h index 07c563a42c60..e3ac8322f1ca 100644 --- a/include/linux/clk/rockchip.h +++ b/include/linux/clk/rockchip.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ /* - * Copyright (c) 2020 Rockchip Electronics Co. Ltd. + * Copyright (c) 2020 Rockchip Electronics Co., Ltd. */ #ifndef __LINUX_CLK_ROCKCHIP_H_ From f5dd00e4cbb637053eec0d6fb792c3ced90b1058 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:15:55 +0800 Subject: [PATCH 41/56] dt-bindings: rockchip: Fix typos in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: I5472169c1ae0718a9aa5039e214f924e1a4e3e54 --- include/dt-bindings/soc/rockchip-csu.h | 2 +- include/dt-bindings/soc/rockchip-system-status.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/dt-bindings/soc/rockchip-csu.h b/include/dt-bindings/soc/rockchip-csu.h index 8b0442533c3f..1add02bd94e4 100644 --- a/include/dt-bindings/soc/rockchip-csu.h +++ b/include/dt-bindings/soc/rockchip-csu.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ /* - * Copyright (c) 2023 Rockchip Electronics Co. Ltd. + * Copyright (c) 2023 Rockchip Electronics Co., Ltd. * Author: Finley Xiao */ diff --git a/include/dt-bindings/soc/rockchip-system-status.h b/include/dt-bindings/soc/rockchip-system-status.h index 198641d92203..ff3163726fb0 100644 --- a/include/dt-bindings/soc/rockchip-system-status.h +++ b/include/dt-bindings/soc/rockchip-system-status.h @@ -1,6 +1,6 @@ /* * - * Copyright (C) 2017 ROCKCHIP, Inc. + * Copyright (C) 2017 Rockchip Electronics Co., Ltd. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and From 92887bebb8b656b8f6ab4fff2333dd5935d8088b Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:16:22 +0800 Subject: [PATCH 42/56] video: rockchip: vtunnel: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: Ia55110111037a78f392900967200b4615d0540be --- drivers/video/rockchip/vtunnel/rkvtunnel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/rockchip/vtunnel/rkvtunnel.h b/drivers/video/rockchip/vtunnel/rkvtunnel.h index 1781aa785bc0..d173412115c4 100644 --- a/drivers/video/rockchip/vtunnel/rkvtunnel.h +++ b/drivers/video/rockchip/vtunnel/rkvtunnel.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ /* - * Copyright (c) 2022 Rockchip Electronics Co., Ltd + * Copyright (c) 2022 Rockchip Electronics Co., Ltd. */ #ifndef __ROCKCHIP_VIDEO_TUNNEL_H__ #define __ROCKCHIP_VIDEO_TUNNEL_H__ From 1904e5b4460ea0746e23e5db4984504b535a6b8e Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:16:35 +0800 Subject: [PATCH 43/56] video: rockchip: rga2: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: I9c32b8036b0e318e146991d4fd9eeb901c884300 --- drivers/video/rockchip/rga2/rga2_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/rockchip/rga2/rga2_drv.c b/drivers/video/rockchip/rga2/rga2_drv.c index f1cd65550537..87d185257b72 100644 --- a/drivers/video/rockchip/rga2/rga2_drv.c +++ b/drivers/video/rockchip/rga2/rga2_drv.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2012 ROCKCHIP, Inc. + * Copyright (C) 2012 Rockchip Electronics Co., Ltd. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and From be8cfb00110dee78d02eac60259888e03fa19987 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:16:42 +0800 Subject: [PATCH 44/56] video: rockchip: rga: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: Ia5df60455cf2449ee3de1250fa3853fc9e2e6cc4 --- drivers/video/rockchip/rga/rga_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/rockchip/rga/rga_drv.c b/drivers/video/rockchip/rga/rga_drv.c index 57f4c6327322..40061ff82497 100644 --- a/drivers/video/rockchip/rga/rga_drv.c +++ b/drivers/video/rockchip/rga/rga_drv.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2012 ROCKCHIP, Inc. + * Copyright (C) 2012 Rockchip Electronics Co., Ltd. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and From 3d3618faee0337f39d95abb26113d668337c4669 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:17:30 +0800 Subject: [PATCH 45/56] usb: typec: tcpci_husb311: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: Iec05c0f98bd2604d888d86941489daa5662e6cdb --- drivers/usb/typec/tcpm/tcpci_husb311.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/typec/tcpm/tcpci_husb311.c b/drivers/usb/typec/tcpm/tcpci_husb311.c index 20d91839a1bc..faed6b65fb70 100644 --- a/drivers/usb/typec/tcpm/tcpci_husb311.c +++ b/drivers/usb/typec/tcpm/tcpci_husb311.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /* - * Copyright (C) 2021 Rockchip Co.,Ltd. + * Copyright (C) 2021 Rockchip Electronics Co., Ltd. * Author: Wang Jie * * Hynetek Husb311 Type-C Chip Driver From 6788c8cf9bed53bd6acee05c7144a204ab8d6070 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:17:50 +0800 Subject: [PATCH 46/56] usb: typec: tcpci_et7303: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: I5aa26d8bb696b6d25731fac2a9db62021313bd3e --- drivers/usb/typec/tcpm/tcpci_et7303.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/typec/tcpm/tcpci_et7303.c b/drivers/usb/typec/tcpm/tcpci_et7303.c index f7302d1ed1b7..838329a18d81 100644 --- a/drivers/usb/typec/tcpm/tcpci_et7303.c +++ b/drivers/usb/typec/tcpm/tcpci_et7303.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0+ /* - * Copyright (C) 2022 Rockchip Co.,Ltd. + * Copyright (C) 2022 Rockchip Electronics Co., Ltd. * Author: Wang Jie * * Etek ET7303 Type-C Chip Driver From 869ae51db98043846d7e393af77d781c2545fef1 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:18:11 +0800 Subject: [PATCH 47/56] thermal: rk_virtual_thermal: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: If47872f7d139b1dbf8d8588caf6ab0b494cbae83 --- drivers/thermal/rk_virtual_thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/rk_virtual_thermal.c b/drivers/thermal/rk_virtual_thermal.c index d03c466e8b55..68627bd84862 100644 --- a/drivers/thermal/rk_virtual_thermal.c +++ b/drivers/thermal/rk_virtual_thermal.c @@ -1,7 +1,7 @@ /* * rk virtual tsadc driver * - * Copyright (C) 2017 Rockchip Electronics Co., Ltd + * Copyright (C) 2017 Rockchip Electronics Co., Ltd. * Author: Rocky Hao * * This program is free software; you can redistribute it and/or modify it From e2560753d1dc5346e0bb6d453d468b8557b184a8 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:19:07 +0800 Subject: [PATCH 48/56] spi: rockchip-slave: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: I68242cd0fedc89bb8592b3b156130c19c5fb80a7 --- drivers/spi/spi-rockchip-slave.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-rockchip-slave.c b/drivers/spi/spi-rockchip-slave.c index 58377839db0f..7b12392b9481 100644 --- a/drivers/spi/spi-rockchip-slave.c +++ b/drivers/spi/spi-rockchip-slave.c @@ -2,7 +2,7 @@ /* * Rockchip SPI Slave Controller Driver * - * Copyright (c) 2023, Rockchip Inc. + * Copyright (c) 2023, Rockchip Electronics Co., Ltd. * Author: Jon Lin */ From e59a45a563ab5eb6264b1e951333fab7ca44e393 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:19:22 +0800 Subject: [PATCH 49/56] pwm: rockchip-i2s: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: I2927da860a3b54484c69d27035bcf67e9008323e --- drivers/pwm/pwm-rockchip-i2s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pwm/pwm-rockchip-i2s.c b/drivers/pwm/pwm-rockchip-i2s.c index 0888f62ab60a..391ebf1d755d 100644 --- a/drivers/pwm/pwm-rockchip-i2s.c +++ b/drivers/pwm/pwm-rockchip-i2s.c @@ -3,7 +3,7 @@ /* * PWM-I2S driver for Rockchip SoCs * - * Copyright (c) 2018 Rockchip Electronics Co. Ltd. + * Copyright (c) 2018 Rockchip Electronics Co., Ltd. */ #include From 5c67f68c5e5018c3f92e37ec2b204fffd34342c8 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:19:36 +0800 Subject: [PATCH 50/56] power: ec_battery: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: I557316493fc58abfe1fe975f0eb2c9915ef8f4bf --- drivers/power/ec_battery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/ec_battery.c b/drivers/power/ec_battery.c index 9627cd1a0a11..38db43507bee 100644 --- a/drivers/power/ec_battery.c +++ b/drivers/power/ec_battery.c @@ -1,7 +1,7 @@ /* * ec battery driver * - * Copyright (C) 2016 Rockchip Electronics Co., Ltd + * Copyright (C) 2016 Rockchip Electronics Co., Ltd. * Shunqing Chen * * This program is free software; you can redistribute it and/or modify it From 0bd2dba2ef368cd8ae53cd6d1078239226d61940 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:22:12 +0800 Subject: [PATCH 51/56] pinctrl: max96755f: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: Iea39064a8b721bac0aaa31b3aa28823f96609bd9 --- drivers/pinctrl/pinctrl-max96755f.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-max96755f.c b/drivers/pinctrl/pinctrl-max96755f.c index cf1708e8f06c..93472d5edb71 100644 --- a/drivers/pinctrl/pinctrl-max96755f.c +++ b/drivers/pinctrl/pinctrl-max96755f.c @@ -2,7 +2,7 @@ /* * Maxim max96755f pin control driver. * - * Copyright (c) 2022 Rockchip Electronics Co. Ltd. + * Copyright (c) 2022 Rockchip Electronics Co., Ltd. */ #include From 7358c1e6f970fdf3514b2b773dfc3058b7ecc70f Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:22:26 +0800 Subject: [PATCH 52/56] pinctrl: max96745: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: I7cc6a173820f38f9b27729ea3476335e1a511026 --- drivers/pinctrl/pinctrl-max96745.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-max96745.c b/drivers/pinctrl/pinctrl-max96745.c index e5e2c6772f27..5ee29bddab7b 100644 --- a/drivers/pinctrl/pinctrl-max96745.c +++ b/drivers/pinctrl/pinctrl-max96745.c @@ -2,7 +2,7 @@ /* * Maxim MAX96745 pin control driver * - * Copyright (c) 2022 Rockchip Electronics Co. Ltd. + * Copyright (c) 2022 Rockchip Electronics Co., Ltd. */ #include From eeb355823a794954737fd75820dfccdab4c57af6 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:22:41 +0800 Subject: [PATCH 53/56] net: phy: rk630: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: I81fbf360af600814783a5bb1fdc89e3081b8920a --- drivers/net/phy/rk630phy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/phy/rk630phy.c b/drivers/net/phy/rk630phy.c index a4abd835c9e1..b345aba78044 100644 --- a/drivers/net/phy/rk630phy.c +++ b/drivers/net/phy/rk630phy.c @@ -3,7 +3,7 @@ * * Driver for ROCKCHIP RK630 Ethernet PHYs * - * Copyright (c) 2020, Rockchip Electronics Co., Ltd + * Copyright (c) 2020, Rockchip Electronics Co., Ltd. * * David Wu * From 3038677d2a63b79f900e508b6aaea341d5b4c110 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:23:02 +0800 Subject: [PATCH 54/56] net: ethernet: stmmac: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: I2639277384c4d3ca958109030f2eade1b8e5088a --- drivers/net/ethernet/stmicro/stmmac/stmmac_uio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_uio.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_uio.c index 11ec4b787da4..0db6d50cc542 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_uio.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_uio.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /** - * Copyright 2023 ROCKCHIP + * Copyright 2023 Rockchip Electronics Co., Ltd. */ #include From 0c5f11d59131c7dc4a8782e0b0e42cd176ae7a39 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:23:18 +0800 Subject: [PATCH 55/56] mtd: rknand: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: Ia01ee5601474bbf4937fe198bd1b51a99d1f87c6 --- drivers/mtd/rknand/rknand_base.h | 2 +- drivers/mtd/rknand/rknand_base_ko.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/rknand/rknand_base.h b/drivers/mtd/rknand/rknand_base.h index 6460e9eace46..eeb1e1228444 100644 --- a/drivers/mtd/rknand/rknand_base.h +++ b/drivers/mtd/rknand/rknand_base.h @@ -2,7 +2,7 @@ /* * linux/drivers/mtd/rknand/rknand_base.c * - * Copyright (C) 2005-2009 Fuzhou Rockchip Electronics + * Copyright (C) 2005-2009 Rockchip Electronics Co., Ltd. * ZYF * * diff --git a/drivers/mtd/rknand/rknand_base_ko.c b/drivers/mtd/rknand/rknand_base_ko.c index 5a462b76dc42..928ab8b7b3a8 100644 --- a/drivers/mtd/rknand/rknand_base_ko.c +++ b/drivers/mtd/rknand/rknand_base_ko.c @@ -2,7 +2,7 @@ /* * linux/drivers/mtd/rknand/rknand_base.c * - * Copyright (C) 2005-2009 Fuzhou Rockchip Electronics + * Copyright (C) 2005-2009 Rockchip Electronics Co., Ltd. * ZYF * * From a30a6043181668fa1856337dd99258e88972e649 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Wed, 22 Jan 2025 19:25:06 +0800 Subject: [PATCH 56/56] iio: adc: gpio_muxadc: Fix typo in Rockchip copyright notice Signed-off-by: Tao Huang Change-Id: I70eee7b9a64cdd09245ebd4d492f43e7fde85f75 --- drivers/iio/adc/gpio_muxadc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/gpio_muxadc.c b/drivers/iio/adc/gpio_muxadc.c index bf5e2d4b504c..3e8deb53c82c 100644 --- a/drivers/iio/adc/gpio_muxadc.c +++ b/drivers/iio/adc/gpio_muxadc.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /* - * Copyright (c) 2018 Rockchip Electronics Co. Ltd. + * Copyright (c) 2018 Rockchip Electronics Co., Ltd. * * Author: Ziyuan Xu */