Skip to content
Permalink
Browse files

added i2s support, small wifi warp core update, addition of nfc to sw…

… repo
  • Loading branch information...
greenbreakfast committed Apr 2, 2018
1 parent e7deb93 commit e7d598f3f02a31c4aed91bb7d133bc468b873848
@@ -4439,6 +4439,7 @@ CONFIG_PACKAGE_fast-gpio=y
# CONFIG_PACKAGE_gpio-test is not set
# CONFIG_PACKAGE_ili9341-test is not set
# CONFIG_PACKAGE_neopixel-tool is not set
CONFIG_PACKAGE_nfc-exp=m
# CONFIG_PACKAGE_o2-wifi is not set
CONFIG_PACKAGE_ogps=m
CONFIG_PACKAGE_omega2-ctrl=y
@@ -4984,7 +4985,7 @@ CONFIG_PACKAGE_uuidd=m
# CONFIG_PACKAGE_whereis is not set
# CONFIG_PACKAGE_wifitoggle is not set
# CONFIG_PACKAGE_xsltproc is not set
# CONFIG_PACKAGE_xxd is not set
CONFIG_PACKAGE_xxd=m
# CONFIG_PACKAGE_yunbridge is not set

#
@@ -170,6 +170,15 @@ Initial firmware sent to be flashed at the factory
### Build Notes
Defining the changes in each build. *Note that if a number is missing, that build failed the deployment process.*

#### b177
*Apr 2, 2017*

* Added support for I2S - MAX98090 codec
* Updated Wifi Warp Core
* Better reconnect timing
* Print statement when apcli0 link is up
* Added `nfc` packages to the packeg repo

#### b176
*Mar 26, 2017*

@@ -1,10 +1,10 @@
{
"version": "0.2.0",
"system": "openwrt",
"device": "omega2",
"core": "omega2",
"devices": [
"omega2",
"omega2+"
{"name":"omega2","symbol":"omega2"},
{"name":"omega2+","symbol":"omega2p"}
]
}

@@ -2,7 +2,7 @@

uci -q batch <<-EOF > /dev/null
set onion.@onion[0].version='0.2.0'
set onion.@onion[0].build='176'
set onion.@onion[0].build='177'
commit system
EOF

@@ -0,0 +1,13 @@
Index: linux-4.4.74/sound/soc/codecs/Kconfig
===================================================================
--- linux-4.4.74.orig/sound/soc/codecs/Kconfig
+++ linux-4.4.74/sound/soc/codecs/Kconfig
@@ -481,7 +481,7 @@ config SND_SOC_MAX98088
tristate

config SND_SOC_MAX98090
- tristate
+ tristate "Maxim MAX98090 Codec"

config SND_SOC_MAX98095
tristate
@@ -30,6 +30,24 @@
linux,code = <KEY_RESTART>;
};
};

sound {
compatible = "simple-audio-card";
simple-audio-card,name = "Audio-I2S";
simple-audio-card,format = "i2s";
simple-audio-card,bitclock-master = <&cpu_dai_master>;
simple-audio-card,frame-master = <&cpu_dai_master>;
simple-audio-card,widgets =
"Speaker", "External Speaker";

cpu_dai_master: simple-audio-card,cpu {
sound-dai = <&i2s>;
};

dailink0_master: simple-audio-card,codec {
sound-dai = <&codec>;
};
};
};

&pinctrl {
@@ -142,6 +160,20 @@

&i2c {
status = "okay";
codec: max98091@10 {
#sound-dai-cells = <0>;
compatible = "maxim,max98091";
reg = <0x10>;
};
};

&gdma {
status = "okay";
};

&i2s {
#sound-dai-cells = <0>;
status = "okay";
};

&uart1 {
@@ -120,12 +120,14 @@ define KernelPackage/sound-mt7620
KCONFIG:= \
CONFIG_SND_RALINK_SOC_I2S \
CONFIG_SND_SIMPLE_CARD \
CONFIG_SND_SOC_MAX98090 \
CONFIG_SND_SOC_WM8960
FILES:= \
$(LINUX_DIR)/sound/soc/ralink/snd-soc-ralink-i2s.ko \
$(LINUX_DIR)/sound/soc/generic/snd-soc-simple-card.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-max98090.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8960.ko
AUTOLOAD:=$(call AutoLoad,90,snd-soc-wm8960 snd-soc-ralink-i2s snd-soc-simple-card)
AUTOLOAD:=$(call AutoLoad,90,snd-soc-max98090 snd-soc-wm8960 snd-soc-ralink-i2s snd-soc-simple-card)
$(call AddDepends/sound)
endef

@@ -95,6 +95,7 @@ CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_HAVE_GENERIC_DMA_COHERENT=y
CONFIG_HAVE_IDE=y
CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK=y
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
CONFIG_HAVE_KVM=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
@@ -198,6 +199,7 @@ CONFIG_RALINK=y
# CONFIG_RALINK_WDT is not set
# CONFIG_RCU_STALL_COMMON is not set
CONFIG_REGMAP=y
CONFIG_REGMAP_I2C=m
CONFIG_REGMAP_MMIO=y
CONFIG_REGMAP_SPI=y
CONFIG_RESET_CONTROLLER=y
@@ -208,11 +210,20 @@ CONFIG_SCHED_HRTICK=y
CONFIG_SERIAL_8250_NR_UARTS=3
CONFIG_SERIAL_8250_RUNTIME_UARTS=3
CONFIG_SERIAL_OF_PLATFORM=y
CONFIG_SND=m
# CONFIG_SND_COMPRESS_OFFLOAD is not set
CONFIG_SND_PCM=m
# CONFIG_SND_RALINK_SOC_I2S is not set
CONFIG_SND_SOC=m
CONFIG_SND_SOC_I2C_AND_SPI=m
CONFIG_SND_SOC_MAX98090=m
# CONFIG_SND_SOC_WM8960 is not set
CONFIG_SOC_MT7620=y
# CONFIG_SOC_MT7621 is not set
# CONFIG_SOC_RT288X is not set
# CONFIG_SOC_RT305X is not set
# CONFIG_SOC_RT3883 is not set
CONFIG_SOUND=m
CONFIG_SPI=y
CONFIG_SPI_MASTER=y
CONFIG_SPI_MT7621=y

0 comments on commit e7d598f

Please sign in to comment.
You can’t perform that action at this time.