Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes rpm package generation v2 #13

Closed
wants to merge 61 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
dede890
ARM64: rockchip: dts: add video decoder nodes
Apr 12, 2017
c1aca7d
ARM64: rockchip: dts: enable video decoder for RK3328 EVB
Apr 12, 2017
2bccb7e
dts: Add rock64 dts
Jun 7, 2017
74e1af6
Renamed to rock64 to rk3328-rock64
Jun 9, 2017
55f19aa
dts: renamed model for rock64
Jun 9, 2017
1adb0d4
Fix test failures
ayufan Jun 20, 2017
7b1605c
Update rock64
ayufan Jun 20, 2017
bf512ba
Revert "drm: bridge: dw-hdmi: add hdcp1.4 support"
ayufan Jun 20, 2017
ed67c63
Fix DTS
ayufan Jun 20, 2017
986aea8
Revert "Revert "drm: bridge: dw-hdmi: add hdcp1.4 support""
ayufan Jun 23, 2017
069585e
Merge remote-tracking branch 'rockchip/release-4.4' into HEAD
ayufan Jun 23, 2017
e7ee1cc
For arm64 do not compress kernel
ayufan Jun 23, 2017
f9ac151
wireless: update rtl8723bs driver to v4.4.0_17166.20160322
Kwiboo Mar 5, 2017
30ded88
rk3288-miniarm: enable wifi
Kwiboo Mar 5, 2017
865e144
rk3288-miniarm: update dts
Kwiboo Mar 5, 2017
c516ce0
video/rockchip: raise up vpu clock
LongChair Mar 26, 2017
5241554
drm/rockchip: make video overlay bottom layer
LongChair Mar 26, 2017
eca77e9
gpu/arm/midgard: default to performance gpu governor
Kwiboo Mar 29, 2017
d09c2f1
DRM: add help to get ELD speaker allocation
arnopo Jan 3, 2017
b8bbd47
ASoC: core: add optional pcm_new callback for DAI driver
arnopo Jan 3, 2017
234678b
ASoC: hdmi-codec: add channel mapping control
arnopo Jan 3, 2017
ff65e7d
drm/bridge/dw-hdmi-i2s-audio: implement get_eld
Kwiboo Apr 2, 2017
6bd5d90
drm/bridge/dw-hdmi-i2s-audio: configure channel allocation
Kwiboo Apr 17, 2017
fee0cad
sound/usb/quirks-table: add Realtek ALC4040
Kwiboo Apr 17, 2017
6be005e
drm : allow framebuffer and videomodes not to have same size
LongChair Apr 24, 2017
4e01f6c
drm: skip wait on vblank for set plane
Kwiboo May 2, 2017
f75b7ae
Revert squashfs changes
Kwiboo May 25, 2017
3fba9be
sound/soc/codecs/hdmi-codec: fix I2S audio in Kodi
Kwiboo May 2, 2017
1011d24
gpu/arm/mali400: default to performance gpu governor
Kwiboo May 28, 2017
6a462bd
rk3328: set the default VPU speed to 600MHz
omegamoon Jun 15, 2017
28535a5
rk3328: add missing operating performance point
LongChair Jun 15, 2017
e2ac588
net: phy: Add rockchip phy support
SuperDavidWu Jun 16, 2017
ca92000
ethernet: stmmac: dwmac-rk: Add support internal phy for rk3328
SuperDavidWu Jun 16, 2017
9b0a27a
arm64: dts: rockchip: Add support gmac2phy for rk3328
SuperDavidWu Jun 16, 2017
447d6ff
rk3328-box: work-in-progress
Kwiboo Jun 16, 2017
530b064
rk3328-rock64: work-in-progress
Kwiboo Jun 16, 2017
f944f84
gpu/drm/rockchip: hdmi fix from rockchip
Kwiboo Jun 17, 2017
7bff776
rk3288-miniarm: enable bluetooth
Kwiboo Jun 18, 2017
c145fd8
rk3288: add 1704/1800Mhz opp
Kwiboo Jun 18, 2017
bf36156
Enable a bunch of network and filesystem modules
ayufan Jun 24, 2017
72dfd39
Enable additional dvb and wlan modules
ayufan Jun 24, 2017
d9f8397
Compile-in CONFIG_UNIX
ayufan Jun 25, 2017
1f744a3
Remove unused PCI based Ethernet drivers, remove SDIO wifi driver, ad…
xalius Jul 2, 2017
f0a0669
Add support for generic SPI NOR flash and the GD25Q128 on Rock64 (#2)
xalius Jul 3, 2017
a3944a4
Enable mtdparts and fanotify
ayufan Jul 3, 2017
d7a913f
Squashed commit of the following:
ayufan Jul 3, 2017
0831fbb
Enable asynchronous SCSI scanning and logging facility. (#4)
xalius Jul 6, 2017
e4903a7
dts: Remove Ampak wireless sdio module and sdio wifi. (#5)
xalius Jul 6, 2017
be1947a
Make emmc to be always mmcblk0, and sd to be always mmcblk1
ayufan Jul 6, 2017
17cebdb
Optimise kernel config
ayufan Jul 7, 2017
3b7ef43
Merge remote-tracking branch 'kwiboo/rockchip-4.4' into release-4.4
ayufan Jul 8, 2017
b3a68ad
dts: Remove SDIO wifi support. (#6)
xalius Jul 18, 2017
c0d4377
config: enable internal Ethernet PHY driver. (#7)
xalius Jul 18, 2017
57caa2d
Fix HS-200 eMMC bus mode (#8)
xalius Jul 21, 2017
6d33722
dts: fix mmc node property ordering, missing regulators and cd-gpios …
xalius Jul 22, 2017
328ae88
Add 1.4Ghz operating point, disable energy aware scheduling. (#10)
xalius Jul 22, 2017
5c6b473
Revert "Add 1.4Ghz operating point, disable energy aware scheduling. …
ayufan Jul 23, 2017
b6632f1
Fix vendor storage to erase before writing
ayufan Jul 30, 2017
933b62e
Configure mtdparts in rock64.dts and enable CONFIG_MTD_OF_PARTS
ayufan Jul 30, 2017
d3d5765
Fixes rpm package generation v2
Terra854 Aug 9, 2017
62968f2
Fixes rpm package generation v2.1
Terra854 Aug 9, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Empty file removed .scmversion
Empty file.
96 changes: 90 additions & 6 deletions arch/arm/boot/dts/rk3288-miniarm.dts
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,50 @@
reg = <0x0 0x0 0x0 0x80000000>;
};

wireless-bluetooth {
compatible = "bluetooth-platdata";
uart_rts_gpios = <&gpio4 19 GPIO_ACTIVE_LOW>;
pinctrl-names = "default","rts_gpio";
pinctrl-0 = <&uart0_rts>;
pinctrl-1 = <&uart0_gpios>;
BT,reset_gpio = <&gpio4 29 GPIO_ACTIVE_HIGH>;
BT,wake_gpio = <&gpio4 26 GPIO_ACTIVE_HIGH>;
BT,wake_host_irq = <&gpio4 31 GPIO_ACTIVE_HIGH>;
status = "okay";
};

wireless-wlan {
compatible = "wlan-platdata";
rockchip,grf = <&grf>;
wifi_chip_type = "rtl8723bs";
sdio_vref = <1800>;
WIFI,host_wake_irq = <&gpio4 30 GPIO_ACTIVE_HIGH>;
status = "okay";
};

ext_gmac: external-gmac-clock {
compatible = "fixed-clock";
clock-frequency = <125000000>;
clock-output-names = "ext_gmac";
#clock-cells = <0>;
};

sdio_pwrseq: sdio-pwrseq {
compatible = "mmc-pwrseq-simple";
clocks = <&rk808 1>;
clock-names = "ext_clock";
pinctrl-names = "default";
pinctrl-0 = <&chip_enable_h>, <&wifi_enable_h>;

/*
* On the module itself this is one of these (depending
* on the actual card populated):
* - SDIO_RESET_L_WL_REG_ON
* - PDN (power down when low)
*/
reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>, <&gpio4 27 GPIO_ACTIVE_LOW>;
};

gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
Expand All @@ -79,20 +116,25 @@
compatible = "gpio-leds";

pwr-led {
gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "default-on";
};

heartbeat-led {
gpios=<&gpio1 25 GPIO_ACTIVE_HIGH>;
linux,default-trigger="heartbeat";
};

act-led {
gpios=<&gpio2 3 GPIO_ACTIVE_LOW>;
gpios=<&gpio1 24 GPIO_ACTIVE_HIGH>;
linux,default-trigger="mmc0";
};
};

sound {
compatible = "simple-audio-card";
simple-audio-card,format = "i2s";
simple-audio-card,name = "rockchip,miniarm-codec";
simple-audio-card,name = "TinkerBoard";
simple-audio-card,mclk-fs = <512>;
simple-audio-card,cpu {
sound-dai = <&i2s>;
Expand Down Expand Up @@ -139,14 +181,14 @@
clock_in_out = "input";
snps,reset-gpio = <&gpio4 7 0>;
snps,reset-active-low;
snps,reset-delays-us = <0 10000 1000000>;
snps,reset-delays-us = <0 10000 50000>;
assigned-clocks = <&cru SCLK_MAC>;
assigned-clock-parents = <&ext_gmac>;
pinctrl-names = "default";
pinctrl-0 = <&rgmii_pins>;
tx_delay = <0x30>;
rx_delay = <0x10>;
status = "ok";
status = "okay";
};

&gpu {
Expand Down Expand Up @@ -208,7 +250,7 @@
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <750000>;
regulator-max-microvolt = <1350000>;
regulator-max-microvolt = <1450000>;
regulator-name = "vdd_arm";
regulator-ramp-delay = <6000>;
regulator-state-mem {
Expand Down Expand Up @@ -368,17 +410,24 @@

&i2c2 {
status = "okay";

m24c08@50 {
compatible = "at,24c08";
reg = <0x50>;
};
};

&i2s {
#sound-dai-cells = <0>;
rockchip,bclk-fs = <128>;
status = "okay";
};

&io_domains {
status = "okay";

sdcard-supply = <&vccio_sd>;
wifi-supply = <&vcc_18>;
};

&pwm0 {
Expand All @@ -389,6 +438,24 @@
status = "okay";
};

&sdio0 {
status = "okay";
clock-frequency = <50000000>;
clock-freq-min-max = <200000 50000000>;
bus-width = <4>;
cap-sd-highspeed;
cap-sdio-irq;
disable-wp;
keep-power-in-suspend;
mmc-pwrseq = <&sdio_pwrseq>;
non-removable;
num-slots = <1>;
pinctrl-names = "default";
pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk &sdio0_int>;
sd-uhs-sdr104;
supports-sdio;
};

&saradc {
vref-supply = <&vcc18_ldo1>;
status ="okay";
Expand Down Expand Up @@ -416,6 +483,8 @@
};

&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_xfer>, <&uart0_cts>;
status = "okay";
};

Expand Down Expand Up @@ -522,6 +591,15 @@
};
};

sdio-pwrseq {
wifi_enable_h: wifi-enable-h {
rockchip,pins = <4 28 RK_FUNC_GPIO &pcfg_pull_none>;
};
chip_enable_h: chip-enable-h {
rockchip,pins = <4 27 RK_FUNC_GPIO &pcfg_pull_none>;
};
};

sdmmc {
/*
* Default drive strength isn't enough to achieve even
Expand Down Expand Up @@ -556,4 +634,10 @@
rockchip,pins = <7 8 RK_FUNC_GPIO &pcfg_pull_none>;
};
};

wireless-bluetooth {
uart0_gpios: uart0-gpios {
rockchip,pins = <4 19 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
};
15 changes: 15 additions & 0 deletions arch/arm/boot/dts/rk3288.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@
#cooling-cells = <2>; /* min followed by max */
dynamic-power-coefficient = <322>;
clocks = <&cru ARMCLK>;
nvmem-cells = <&package_info>;
nvmem-cell-names = "package_info";
};
cpu1: cpu@501 {
device_type = "cpu";
Expand Down Expand Up @@ -185,6 +187,16 @@
opp-microvolt = <1350000>;
clock-latency-ns = <40000>;
};
opp-1704000000 {
opp-hz = /bits/ 64 <1704000000>;
opp-microvolt = <1350000>;
clock-latency-ns = <40000>;
};
opp-1800000000 {
opp-hz = /bits/ 64 <1800000000>;
opp-microvolt = <1400000>;
clock-latency-ns = <40000>;
};
};

amba {
Expand Down Expand Up @@ -1532,6 +1544,9 @@
cpu_leakage: cpu_leakage@17 {
reg = <0x17 0x1>;
};
package_info: package-info@5 {
reg = <0x05 0x1>;
};
};

gic: interrupt-controller@ffc01000 {
Expand Down
4 changes: 3 additions & 1 deletion arch/arm64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@ ifeq ($(CONFIG_CPU_BIG_ENDIAN), y)
KBUILD_CPPFLAGS += -mbig-endian
AS += -EB
LD += -EB
UTS_MACHINE := aarch64_be
else
KBUILD_CPPFLAGS += -mlittle-endian
AS += -EL
LD += -EL
UTS_MACHINE := aarch64
endif

CHECKFLAGS += -D__aarch64__
Expand Down Expand Up @@ -89,7 +91,7 @@ core-$(CONFIG_EFI_STUB) += $(objtree)/drivers/firmware/efi/libstub/lib.a
ifeq ($(CONFIG_BUILD_ARM64_APPENDED_DTB_IMAGE),y)
KBUILD_IMAGE := $(subst $\",,$(CONFIG_BUILD_ARM64_APPENDED_KERNEL_IMAGE_NAME))
else
KBUILD_IMAGE := Image.gz
KBUILD_IMAGE := Image
endif

KBUILD_DTBS := dtbs
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/rockchip/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3328-evb.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3328-rock64.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3366-fpga.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3366-tb.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-evb-act8846.dtb
Expand Down
Loading