Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into lotus

Conflicts:
       drivers/spi/spidev.c
       fs/f2fs/recovery.c
       kernel/printk/printk.c
  • Loading branch information
Hadenix committed Feb 2, 2024
2 parents 1c96869 + a777e9d commit 9cbbf09
Show file tree
Hide file tree
Showing 252 changed files with 1,323 additions and 740 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 4
PATCHLEVEL = 9
SUBLEVEL = 202
SUBLEVEL = 203
EXTRAVERSION =
NAME = Roaring Lionus

Expand Down
2 changes: 2 additions & 0 deletions arch/arm/boot/compressed/libfdt_env.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
#include <linux/string.h>
#include <asm/byteorder.h>

#define INT_MAX ((int)(~0U>>1))

typedef __be16 fdt16_t;
typedef __be32 fdt32_t;
typedef __be64 fdt64_t;
Expand Down
12 changes: 6 additions & 6 deletions arch/arm/boot/dts/am335x-evm.dts
Original file line number Diff line number Diff line change
Expand Up @@ -701,22 +701,22 @@
pinctrl-0 = <&cpsw_default>;
pinctrl-1 = <&cpsw_sleep>;
status = "okay";
slaves = <1>;
};

&davinci_mdio {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&davinci_mdio_default>;
pinctrl-1 = <&davinci_mdio_sleep>;
status = "okay";
};

&cpsw_emac0 {
phy_id = <&davinci_mdio>, <0>;
phy-mode = "rgmii-txid";
ethphy0: ethernet-phy@0 {
reg = <0>;
};
};

&cpsw_emac1 {
phy_id = <&davinci_mdio>, <1>;
&cpsw_emac0 {
phy-handle = <&ethphy0>;
phy-mode = "rgmii-txid";
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/arm-realview-eb.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@
clock-names = "uartclk", "apb_pclk";
};

ssp: ssp@1000d000 {
ssp: spi@1000d000 {
compatible = "arm,pl022", "arm,primecell";
reg = <0x1000d000 0x1000>;
clocks = <&sspclk>, <&pclk>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/arm-realview-pb1176.dts
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@
clock-names = "apb_pclk";
};

pb1176_ssp: ssp@1010b000 {
pb1176_ssp: spi@1010b000 {
compatible = "arm,pl022", "arm,primecell";
reg = <0x1010b000 0x1000>;
interrupt-parent = <&intc_dc1176>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/arm-realview-pb11mp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@
clock-names = "uartclk", "apb_pclk";
};

ssp@1000d000 {
spi@1000d000 {
compatible = "arm,pl022", "arm,primecell";
reg = <0x1000d000 0x1000>;
interrupt-parent = <&intc_pb11mp>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/arm-realview-pbx.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@
clock-names = "uartclk", "apb_pclk";
};

ssp: ssp@1000d000 {
ssp: spi@1000d000 {
compatible = "arm,pl022", "arm,primecell";
reg = <0x1000d000 0x1000>;
clocks = <&sspclk>, <&pclk>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/at91sam9g45.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@
};
};

uart1 {
usart1 {
pinctrl_usart1: usart1-0 {
atmel,pins =
<AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PB4 periph A with pullup */
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/dove-cubox.dts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
status = "okay";
clock-frequency = <100000>;

si5351: clock-generator {
si5351: clock-generator@60 {
compatible = "silabs,si5351a-msop";
reg = <0x60>;
#address-cells = <1>;
Expand Down
6 changes: 3 additions & 3 deletions arch/arm/boot/dts/dove.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
0xffffe000 MBUS_ID(0x03, 0x01) 0 0x0000800 /* CESA SRAM 2k */
0xfffff000 MBUS_ID(0x0d, 0x00) 0 0x0000800>; /* PMU SRAM 2k */

spi0: spi-ctrl@10600 {
spi0: spi@10600 {
compatible = "marvell,orion-spi";
#address-cells = <1>;
#size-cells = <0>;
Expand All @@ -165,7 +165,7 @@
status = "disabled";
};

i2c: i2c-ctrl@11000 {
i2c: i2c@11000 {
compatible = "marvell,mv64xxx-i2c";
reg = <0x11000 0x20>;
#address-cells = <1>;
Expand Down Expand Up @@ -215,7 +215,7 @@
status = "disabled";
};

spi1: spi-ctrl@14600 {
spi1: spi@14600 {
compatible = "marvell,orion-spi";
#address-cells = <1>;
#size-cells = <0>;
Expand Down
9 changes: 9 additions & 0 deletions arch/arm/boot/dts/exynos5250-arndale.dts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@
reg = <0x66>;
interrupt-parent = <&gpx3>;
interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&s5m8767_irq>;

vinb1-supply = <&main_dc_reg>;
vinb2-supply = <&main_dc_reg>;
Expand Down Expand Up @@ -547,6 +549,13 @@
cap-sd-highspeed;
};

&pinctrl_0 {
s5m8767_irq: s5m8767-irq {
samsung,pins = "gpx3-2";
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
};
};

&rtc {
status = "okay";
};
Expand Down
11 changes: 11 additions & 0 deletions arch/arm/boot/dts/exynos5250-snow-rev5.dts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@

samsung,model = "Snow-I2S-MAX98090";
samsung,audio-codec = <&max98090>;

cpu {
sound-dai = <&i2s0 0>;
};

codec {
sound-dai = <&max98090 0>, <&hdmi>;
};
};
};

Expand All @@ -34,6 +42,9 @@
interrupt-parent = <&gpx0>;
pinctrl-names = "default";
pinctrl-0 = <&max98090_irq>;
clocks = <&pmu_system_controller 0>;
clock-names = "mclk";
#sound-dai-cells = <1>;
};
};

Expand Down
3 changes: 3 additions & 0 deletions arch/arm/boot/dts/exynos5420-peach-pit.dts
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@
regulator-name = "vdd_1v35";
regulator-min-microvolt = <1350000>;
regulator-max-microvolt = <1350000>;
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-on-in-suspend;
Expand All @@ -323,6 +324,7 @@
regulator-name = "vdd_2v";
regulator-min-microvolt = <2000000>;
regulator-max-microvolt = <2000000>;
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-on-in-suspend;
Expand All @@ -333,6 +335,7 @@
regulator-name = "vdd_1v8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-on-in-suspend;
Expand Down
3 changes: 3 additions & 0 deletions arch/arm/boot/dts/exynos5800-peach-pi.dts
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@
regulator-name = "vdd_1v35";
regulator-min-microvolt = <1350000>;
regulator-max-microvolt = <1350000>;
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-on-in-suspend;
Expand All @@ -323,6 +324,7 @@
regulator-name = "vdd_2v";
regulator-min-microvolt = <2000000>;
regulator-max-microvolt = <2000000>;
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-on-in-suspend;
Expand All @@ -333,6 +335,7 @@
regulator-name = "vdd_1v8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
regulator-state-mem {
regulator-on-in-suspend;
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/lpc32xx.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
* ssp0 and spi1 are shared pins;
* enable one in your board dts, as needed.
*/
ssp0: ssp@20084000 {
ssp0: spi@20084000 {
compatible = "arm,pl022", "arm,primecell";
reg = <0x20084000 0x1000>;
interrupts = <20 IRQ_TYPE_LEVEL_HIGH>;
Expand All @@ -199,7 +199,7 @@
* ssp1 and spi2 are shared pins;
* enable one in your board dts, as needed.
*/
ssp1: ssp@2008c000 {
ssp1: spi@2008c000 {
compatible = "arm,pl022", "arm,primecell";
reg = <0x2008c000 0x1000>;
interrupts = <21 IRQ_TYPE_LEVEL_HIGH>;
Expand Down
49 changes: 38 additions & 11 deletions arch/arm/boot/dts/omap3-gta04.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

aliases {
display0 = &lcd;
display1 = &tv0;
};

gpio-keys {
Expand Down Expand Up @@ -70,7 +71,7 @@
#sound-dai-cells = <0>;
};

spi_lcd {
spi_lcd: spi_lcd {
compatible = "spi-gpio";
#address-cells = <0x1>;
#size-cells = <0x0>;
Expand Down Expand Up @@ -122,7 +123,7 @@
};

tv0: connector {
compatible = "svideo-connector";
compatible = "composite-video-connector";
label = "tv";

port {
Expand All @@ -134,7 +135,7 @@

tv_amp: opa362 {
compatible = "ti,opa362";
enable-gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
enable-gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>; /* GPIO_23 to enable video out amplifier */

ports {
#address-cells = <1>;
Expand Down Expand Up @@ -273,6 +274,13 @@
OMAP3_CORE1_IOPAD(0x2134, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio112 */
>;
};

penirq_pins: pinmux_penirq_pins {
pinctrl-single,pins = <
/* here we could enable to wakeup the cpu from suspend by a pen touch */
OMAP3_CORE1_IOPAD(0x2194, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio160 */
>;
};
};

&omap3_pmx_core2 {
Expand Down Expand Up @@ -410,10 +418,19 @@
tsc2007@48 {
compatible = "ti,tsc2007";
reg = <0x48>;
pinctrl-names = "default";
pinctrl-0 = <&penirq_pins>;
interrupt-parent = <&gpio6>;
interrupts = <0 IRQ_TYPE_EDGE_FALLING>; /* GPIO_160 */
gpios = <&gpio6 0 GPIO_ACTIVE_LOW>;
gpios = <&gpio6 0 GPIO_ACTIVE_LOW>; /* GPIO_160 */
ti,x-plate-ohms = <600>;
touchscreen-size-x = <480>;
touchscreen-size-y = <640>;
touchscreen-max-pressure = <1000>;
touchscreen-fuzz-x = <3>;
touchscreen-fuzz-y = <8>;
touchscreen-fuzz-pressure = <10>;
touchscreen-inverted-y;
};

/* RFID EEPROM */
Expand Down Expand Up @@ -519,6 +536,12 @@
regulator-max-microvolt = <3150000>;
};

/* Needed to power the DPI pins */

&vpll2 {
regulator-always-on;
};

&dss {
pinctrl-names = "default";
pinctrl-0 = < &dss_dpi_pins >;
Expand All @@ -539,10 +562,14 @@

vdda-supply = <&vdac>;

#address-cells = <1>;
#size-cells = <0>;

port {
reg = <0>;
venc_out: endpoint {
remote-endpoint = <&opa_in>;
ti,channels = <2>;
ti,channels = <1>;
ti,invert-polarity;
};
};
Expand Down Expand Up @@ -586,22 +613,22 @@

bootloaders@80000 {
label = "U-Boot";
reg = <0x80000 0x1e0000>;
reg = <0x80000 0x1c0000>;
};

bootloaders_env@260000 {
bootloaders_env@240000 {
label = "U-Boot Env";
reg = <0x260000 0x20000>;
reg = <0x240000 0x40000>;
};

kernel@280000 {
label = "Kernel";
reg = <0x280000 0x400000>;
reg = <0x280000 0x600000>;
};

filesystem@680000 {
filesystem@880000 {
label = "File System";
reg = <0x680000 0xf980000>;
reg = <0x880000 0>; /* 0 = MTDPART_SIZ_FULL */
};
};
};
Expand Down
5 changes: 5 additions & 0 deletions arch/arm/boot/dts/omap5-board-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,11 @@
vbus-supply = <&smps10_out1_reg>;
};

&dwc3 {
extcon = <&extcon_usb3>;
dr_mode = "otg";
};

&mcspi1 {

};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/orion5x-linkstation.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
&i2c {
status = "okay";

rtc {
rtc@32 {
compatible = "ricoh,rs5c372a";
reg = <0x32>;
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/pxa27x.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
clocks = <&clks CLK_PWM1>;
};

pwri2c: i2c@40f000180 {
pwri2c: i2c@40f00180 {
compatible = "mrvl,pxa-i2c";
reg = <0x40f00180 0x24>;
interrupts = <6>;
Expand Down
Loading

0 comments on commit 9cbbf09

Please sign in to comment.