~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/rockchip/rk3566-powkiddy-rgb30.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm64/rockchip/rk3566-powkiddy-rgb30.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/rockchip/rk3566-powkiddy-rgb30.dts (Version linux-6.7.12)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2                                                     2 
  3 /dts-v1/;                                           3 /dts-v1/;
  4                                                     4 
  5 #include <dt-bindings/gpio/gpio.h>                  5 #include <dt-bindings/gpio/gpio.h>
  6 #include <dt-bindings/input/linux-event-codes.      6 #include <dt-bindings/input/linux-event-codes.h>
  7 #include <dt-bindings/pinctrl/rockchip.h>           7 #include <dt-bindings/pinctrl/rockchip.h>
  8 #include "rk3566-powkiddy-rk2023.dtsi"         !!   8 #include "rk3566-anbernic-rg353x.dtsi"
  9                                                     9 
 10 / {                                                10 / {
 11         model = "Powkiddy RGB30";              !!  11         model = "RGB30";
 12         compatible = "powkiddy,rgb30", "rockch     12         compatible = "powkiddy,rgb30", "rockchip,rk3566";
                                                   >>  13 
                                                   >>  14         aliases {
                                                   >>  15                 mmc1 = &sdmmc0;
                                                   >>  16                 mmc2 = &sdmmc1;
                                                   >>  17                 mmc3 = &sdmmc2;
                                                   >>  18         };
                                                   >>  19 
                                                   >>  20         battery: battery {
                                                   >>  21                 compatible = "simple-battery";
                                                   >>  22                 charge-full-design-microamp-hours = <3151000>;
                                                   >>  23                 charge-term-current-microamp = <300000>;
                                                   >>  24                 constant-charge-current-max-microamp = <2000000>;
                                                   >>  25                 constant-charge-voltage-max-microvolt = <4250000>;
                                                   >>  26                 factory-internal-resistance-micro-ohms = <117000>;
                                                   >>  27                 voltage-max-design-microvolt = <4172000>;
                                                   >>  28                 voltage-min-design-microvolt = <3400000>;
                                                   >>  29 
                                                   >>  30                 ocv-capacity-celsius = <20>;
                                                   >>  31                 ocv-capacity-table-0 =  <4172000 100>, <4092000 95>, <4035000 90>, <3990000 85>,
                                                   >>  32                                         <3939000 80>, <3895000 75>, <3852000 70>, <3807000 65>,
                                                   >>  33                                         <3762000 60>, <3713000 55>, <3672000 50>, <3647000 45>,
                                                   >>  34                                         <3629000 40>, <3613000 35>, <3598000 30>, <3578000 25>,
                                                   >>  35                                         <3550000 20>, <3519000 15>, <3479000 10>, <3438000 5>,
                                                   >>  36                                         <3400000 0>;
                                                   >>  37         };
                                                   >>  38 
                                                   >>  39         /*
                                                   >>  40          * Channels reversed for speakers. Headphones automatically switch via hardware when
                                                   >>  41          * detected with no ability to control output in software. Headphones appear to be mono
                                                   >>  42          * (each output channel receives all audio). No microphone support on 3.5mm jack.
                                                   >>  43          */
                                                   >>  44         sound {
                                                   >>  45                 compatible = "simple-audio-card";
                                                   >>  46                 simple-audio-card,name = "rk817_ext";
                                                   >>  47                 simple-audio-card,format = "i2s";
                                                   >>  48                 simple-audio-card,mclk-fs = <256>;
                                                   >>  49                 simple-audio-card,widgets =
                                                   >>  50                         "Headphone", "Headphones";
                                                   >>  51                 simple-audio-card,routing =
                                                   >>  52                         "Headphones", "HPOL",
                                                   >>  53                         "Headphones", "HPOR";
                                                   >>  54 
                                                   >>  55                 simple-audio-card,codec {
                                                   >>  56                         sound-dai = <&rk817>;
                                                   >>  57                 };
                                                   >>  58 
                                                   >>  59                 simple-audio-card,cpu {
                                                   >>  60                         sound-dai = <&i2s1_8ch>;
                                                   >>  61                 };
                                                   >>  62         };
                                                   >>  63 };
                                                   >>  64 
                                                   >>  65 /delete-node/ &adc_keys;
                                                   >>  66 
                                                   >>  67 &chosen {
                                                   >>  68         /delete-property/ stdout-path;
 13 };                                                 69 };
 14                                                    70 
 15 &cru {                                             71 &cru {
 16         assigned-clocks = <&pmucru CLK_RTC_32K     72         assigned-clocks = <&pmucru CLK_RTC_32K>, <&cru PLL_GPLL>,
 17                           <&pmucru PLL_PPLL>,      73                           <&pmucru PLL_PPLL>, <&cru PLL_VPLL>;
 18         assigned-clock-rates = <32768>, <12000     74         assigned-clock-rates = <32768>, <1200000000>,
 19                                <200000000>, <2     75                                <200000000>, <292500000>;
 20 };                                                 76 };
 21                                                    77 
 22 &dsi0 {                                        !!  78 &gpio_keys_control {
 23         panel: panel@0 {                       !!  79         button-r1 {
 24                 compatible = "powkiddy,rgb30-p !!  80                 gpios = <&gpio3 RK_PB3 GPIO_ACTIVE_LOW>;
 25                 reg = <0>;                     !!  81                 label = "TR";
 26                 backlight = <&backlight>;      !!  82                 linux,code = <BTN_TR>;
 27                 pinctrl-names = "default";     !!  83         };
 28                 pinctrl-0 = <&lcd_rst>;        !!  84 
 29                 reset-gpios = <&gpio4 RK_PA0 G !!  85         button-r2 {
 30                 vcc-supply = <&vcc3v3_lcd0_n>; !!  86                 gpios = <&gpio3 RK_PB4 GPIO_ACTIVE_LOW>;
 31                 iovcc-supply = <&vcc3v3_lcd0_n !!  87                 label = "TR2";
 32                                                !!  88                 linux,code = <BTN_TR2>;
 33                 port {                         << 
 34                         mipi_in_panel: endpoin << 
 35                                 remote-endpoin << 
 36                         };                     << 
 37                 };                             << 
 38         };                                         89         };
 39 };                                                 90 };
 40                                                    91 
                                                   >>  92 /delete-node/ &{/i2c@fdd40000/regulator@40};
                                                   >>  93 
 41 &i2c0 {                                            94 &i2c0 {
 42         vdd_cpu: regulator@1c {                    95         vdd_cpu: regulator@1c {
 43                 compatible = "tcs,tcs4525";        96                 compatible = "tcs,tcs4525";
 44                 reg = <0x1c>;                      97                 reg = <0x1c>;
 45                 fcs,suspend-voltage-selector =     98                 fcs,suspend-voltage-selector = <1>;
 46                 regulator-always-on;               99                 regulator-always-on;
 47                 regulator-boot-on;                100                 regulator-boot-on;
 48                 regulator-min-microvolt = <712    101                 regulator-min-microvolt = <712500>;
 49                 regulator-max-microvolt = <139    102                 regulator-max-microvolt = <1390000>;
 50                 regulator-name = "vdd_cpu";       103                 regulator-name = "vdd_cpu";
 51                 regulator-ramp-delay = <2300>;    104                 regulator-ramp-delay = <2300>;
 52                 vin-supply = <&vcc_sys>;          105                 vin-supply = <&vcc_sys>;
 53                 regulator-state-mem {             106                 regulator-state-mem {
 54                         regulator-off-in-suspe    107                         regulator-off-in-suspend;
 55                 };                                108                 };
 56         };                                        109         };
 57 };                                                110 };
                                                   >> 111 
                                                   >> 112 /*
                                                   >> 113  * Device has 2 red LEDs instead of an amber and a red. Relabel LEDs as
                                                   >> 114  * red_led0 and red_led1.
                                                   >> 115  */
                                                   >> 116 /delete-node/ &{/pwm-leds/led-1};
                                                   >> 117 /delete-node/ &{/pwm-leds/led-2};
                                                   >> 118 
                                                   >> 119 &leds {
                                                   >> 120         red_led0: led-1 {
                                                   >> 121                 color = <LED_COLOR_ID_RED>;
                                                   >> 122                 function = LED_FUNCTION_CHARGING;
                                                   >> 123                 max-brightness = <255>;
                                                   >> 124                 pwms = <&pwm7 0 25000 0>;
                                                   >> 125         };
                                                   >> 126 
                                                   >> 127         red_led1: led-2 {
                                                   >> 128                 color = <LED_COLOR_ID_RED>;
                                                   >> 129                 default-state = "off";
                                                   >> 130                 function = LED_FUNCTION_STATUS;
                                                   >> 131                 max-brightness = <255>;
                                                   >> 132                 pwms = <&pwm0 0 25000 0>;
                                                   >> 133         };
                                                   >> 134 };
                                                   >> 135 
                                                   >> 136 &panel {
                                                   >> 137         compatible = "powkiddy,rgb30-panel";
                                                   >> 138         vcc-supply = <&vcc3v3_lcd0_n>;
                                                   >> 139         iovcc-supply = <&vcc3v3_lcd0_n>;
                                                   >> 140         /delete-property/ vdd-supply;
                                                   >> 141 };
                                                   >> 142 
                                                   >> 143 &pwm5 {
                                                   >> 144         status = "disabled";
                                                   >> 145 };
                                                   >> 146 
                                                   >> 147 &rk817 {
                                                   >> 148         rk817_charger: charger {
                                                   >> 149                 monitored-battery = <&battery>;
                                                   >> 150                 rockchip,resistor-sense-micro-ohms = <10000>;
                                                   >> 151                 rockchip,sleep-enter-current-microamp = <300000>;
                                                   >> 152                 rockchip,sleep-filter-current-microamp = <100000>;
                                                   >> 153         };
                                                   >> 154 };
                                                   >> 155 
                                                   >> 156 /* There is no UART header visible on the board for this device. */
                                                   >> 157 &uart2 {
                                                   >> 158         status = "disabled";
                                                   >> 159 };
                                                   >> 160 
                                                   >> 161 /delete-node/ &vibrator;
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php