Message ID | 1419665937-22701-1-git-send-email-siarhei.siamashka@gmail.com |
---|---|
State | Accepted |
Delegated to: | Ian Campbell |
Headers | show |
Hi, Thanks, I've queued both patch up in u-boot-sunxi/next. Note I've changed the sync:0 to sync:3 in the LCD_MODE for the Primo73, because of: https://github.com/jwrdegoede/u-boot-sunxi/commit/5a6b9376f78128d00459db21da80f17ad3473d3a Before the above commit the lcd-code was ignoring the sync field, but now it honors it, and to get the lcd-code to behave the same as android you need sync:3 I've updated: http://linux-sunxi.org/LCD To reflect this. Regards, Hans On 27-12-14 08:38, Siarhei Siamashka wrote: > This patch uses the same ZQ and DRAM clock settings as in the > pre-installed Android firmware. > > Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com> > --- > board/sunxi/Kconfig | 13 +++++++++++++ > board/sunxi/MAINTAINERS | 5 +++++ > configs/MSI_Primo81_defconfig | 12 ++++++++++++ > 3 files changed, 30 insertions(+) > create mode 100644 configs/MSI_Primo81_defconfig > > diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig > index 7140b80..f9b3786 100644 > --- a/board/sunxi/Kconfig > +++ b/board/sunxi/Kconfig > @@ -149,6 +149,19 @@ config TARGET_MINI_X > bool "MINI_X" > depends on MACH_SUN4I > > +config TARGET_MSI_PRIMO81 > + bool "MSI Primo81 (7.85\" tablet)" > + depends on MACH_SUN6I > + ---help--- > + The MSI Primo81 is an A31s based tablet, with 1G RAM, 16G NAND, > + 1024x768 IPS LCD display, mono speaker, 0.3 MP front camera, 2.0 MP > + rear camera, 3500 mAh battery, gt911 touchscreen, mma8452 accelerometer > + and rtl8188etv usb wifi. Has "power", "volume+" and "volume-" buttons > + (both volume buttons are also connected to the UBOOT_SEL pin). The > + external connectors are represented by MicroSD slot, MiniHDMI, MicroUSB > + OTG and 3.5mm headphone jack. More details are available at > + http://linux-sunxi.org/MSI_Primo81 > + > config TARGET_BA10_TV_BOX > bool "BA10_TV_BOX" > depends on MACH_SUN4I > diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS > index 3db42ea..c6460f0 100644 > --- a/board/sunxi/MAINTAINERS > +++ b/board/sunxi/MAINTAINERS > @@ -66,3 +66,8 @@ IPPO-Q8H-V5 BOARD > M: Chen-Yu Tsai <wens@csie.org> > S: Maintained > F: configs/Ippo_q8h_v5_defconfig > + > +MSI-PRIMO81 BOARD > +M: Siarhei Siamashka <siarhei.siamashka@gmail.com> > +S: Maintained > +F: configs/MSI_Primo81_defconfig > diff --git a/configs/MSI_Primo81_defconfig b/configs/MSI_Primo81_defconfig > new file mode 100644 > index 0000000..b4b0f6d > --- /dev/null > +++ b/configs/MSI_Primo81_defconfig > @@ -0,0 +1,12 @@ > +CONFIG_SPL=y > +CONFIG_SYS_EXTRA_OPTIONS="" > +CONFIG_FDTFILE="sun6i-a31s-primo81.dtb" > +CONFIG_USB_KEYBOARD=n > ++S:CONFIG_ARM=y > ++S:CONFIG_ARCH_SUNXI=y > ++S:CONFIG_MACH_SUN6I=y > ++S:CONFIG_TARGET_MSI_PRIMO81=y > ++S:CONFIG_DRAM_CLK=360 > ++S:CONFIG_DRAM_ZQ=122 > +# Wifi power > ++S:CONFIG_AXP221_DLDO1_VOLT=3300 >
On Sat, 27 Dec 2014 14:16:36 +0100 Hans de Goede <hdegoede@redhat.com> wrote: > Hi, > > Thanks, I've queued both patch up in u-boot-sunxi/next. Note I've > changed the sync:0 to sync:3 in the LCD_MODE for the Primo73, > because of: > > https://github.com/jwrdegoede/u-boot-sunxi/commit/5a6b9376f78128d00459db21da80f17ad3473d3a > > Before the above commit the lcd-code was ignoring the sync field, > but now it honors it, and to get the lcd-code to behave the same as > android you need sync:3 OK. Though now I wonder if I actually should have waited until the LCD code lands to the sunxi 'next' branch. Just to safeguard against any other potentially incompatible changes. > I've updated: > > http://linux-sunxi.org/LCD > > To reflect this. Thanks!
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index 7140b80..f9b3786 100644 --- a/board/sunxi/Kconfig +++ b/board/sunxi/Kconfig @@ -149,6 +149,19 @@ config TARGET_MINI_X bool "MINI_X" depends on MACH_SUN4I +config TARGET_MSI_PRIMO81 + bool "MSI Primo81 (7.85\" tablet)" + depends on MACH_SUN6I + ---help--- + The MSI Primo81 is an A31s based tablet, with 1G RAM, 16G NAND, + 1024x768 IPS LCD display, mono speaker, 0.3 MP front camera, 2.0 MP + rear camera, 3500 mAh battery, gt911 touchscreen, mma8452 accelerometer + and rtl8188etv usb wifi. Has "power", "volume+" and "volume-" buttons + (both volume buttons are also connected to the UBOOT_SEL pin). The + external connectors are represented by MicroSD slot, MiniHDMI, MicroUSB + OTG and 3.5mm headphone jack. More details are available at + http://linux-sunxi.org/MSI_Primo81 + config TARGET_BA10_TV_BOX bool "BA10_TV_BOX" depends on MACH_SUN4I diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS index 3db42ea..c6460f0 100644 --- a/board/sunxi/MAINTAINERS +++ b/board/sunxi/MAINTAINERS @@ -66,3 +66,8 @@ IPPO-Q8H-V5 BOARD M: Chen-Yu Tsai <wens@csie.org> S: Maintained F: configs/Ippo_q8h_v5_defconfig + +MSI-PRIMO81 BOARD +M: Siarhei Siamashka <siarhei.siamashka@gmail.com> +S: Maintained +F: configs/MSI_Primo81_defconfig diff --git a/configs/MSI_Primo81_defconfig b/configs/MSI_Primo81_defconfig new file mode 100644 index 0000000..b4b0f6d --- /dev/null +++ b/configs/MSI_Primo81_defconfig @@ -0,0 +1,12 @@ +CONFIG_SPL=y +CONFIG_SYS_EXTRA_OPTIONS="" +CONFIG_FDTFILE="sun6i-a31s-primo81.dtb" +CONFIG_USB_KEYBOARD=n ++S:CONFIG_ARM=y ++S:CONFIG_ARCH_SUNXI=y ++S:CONFIG_MACH_SUN6I=y ++S:CONFIG_TARGET_MSI_PRIMO81=y ++S:CONFIG_DRAM_CLK=360 ++S:CONFIG_DRAM_ZQ=122 +# Wifi power ++S:CONFIG_AXP221_DLDO1_VOLT=3300
This patch uses the same ZQ and DRAM clock settings as in the pre-installed Android firmware. Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com> --- board/sunxi/Kconfig | 13 +++++++++++++ board/sunxi/MAINTAINERS | 5 +++++ configs/MSI_Primo81_defconfig | 12 ++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 configs/MSI_Primo81_defconfig