1. Force all MIPI clocks running Setting in csi out enable.
2. Pattern mode force_clock_out_en default enable.
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: I44e89309704cba4ee5d03762b9b42fad4bc92af6
There are three status via control name "DAC Control Manually":
- None: By default, mute/unmute via rv1106_mute_stream() automatically
- Off: Force DAC control off manually
- On: Force DAC control on manually
And fixes incorrect DAC mute register, it should be ACODEC_DAC_ANA_CTL1.
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Change-Id: I9d7059b86654802eb4290897765d94f4b9afd787
This patch enable SND_SOC_ROCKCHIP_MULTI_DAIS for combine multiple
dais into a union one.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Ib1787a9df01a97185668cededcd41cd1192e0f4e
This patch enable SND_SOC_ROCKCHIP_MULTI_DAIS for combine multiple
dais into a union one.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I8cbec8001fe50b48261eb5c75a9191f7e05fa7fa
This patch add name-prefix for SAIx to support prefix kcontrol, widget
and route names in an ASoC machine that has multiple dais with
conflicting names. such as multi-dais.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I51cd4eeaa9adc36a3606c39c8a4269d085ba2932
Currently, The fixed 512KB prealloc buffer size is too larger for
tiny memory kernel (such as 16MB memory). This patch adds the module
option "prealloc_buffer_size_kbytes" to specify prealloc buffer size.
It's suitable for cards which use the multi-dais driver.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I9bee728dfd775c2f5924d4e1416088446918c2e4
* support samplerate up to 384k
* support channel range from mono to 512ch
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I4a7d85ea77cabbb1ce6e9f1fc237d83443ab13b1
This patch add controls for all sub-dai component to allow
user set/get each dai's controls.
if no name_prefix specified in driver, user should confirm that
the dai node of DT has assigned the property 'sound-name-prefix'.
e.g. SAI0 + SAI1 combo
&sai0 {
sound-name-prefix = "SAI0";
};
&sai1 {
sound-name-prefix = "SAI1";
};
amixer scontrols
...
Simple mixer control 'SAI0 SDI0 Loopback',0
Simple mixer control 'SAI0 SDI0 Loopback Src Select',0
Simple mixer control 'SAI1 SDI0 Loopback',0
Simple mixer control 'SAI1 SDI0 Loopback Src Select',0
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I9c3c56fe21e71afb26ad103f947b3dbfe1ccff11
This patch add verbose config for sai, and put expert-level
or not-commonly-used controls into there.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Ibe637ad00c058e01164c227c8549f0938920dff2
* support samplerate up to 384k
* support channel range from mono to 512ch
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I190990c18166dc5cd316bd0f2c5b0d9e9452c631
This patch allow mclk shift around +/- 1 Hz compared to
requested freq.
we could not always achieve the precise freq as required,
e.g. request: 98304000, but got: 98303999
there is no big deal and any side effect on the above case,
so, we allow a tiny shift for mclk.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Id181a3aa9017b1994786b71c3b56454a2e78b6aa
This patch introduce property 'arm,pl330-mcbufsz-bytes' to
support assign mcbufsz from DT.
And we limit the max value to one PAGE_SIZE. though there
is no limit for the controller.
e.g.
arm,pl330-mcbufsz-bytes = <2048>;
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Ia13c35e58cd6addcc7a80cb05b484184f6031989
1. remote device and local link are bound through link id
2. support local and remote port chain check
3. drivers/media/i2c/maxim4c/Kconfig support menu select
4. optimize delay time and error messages
5. power control: local by pwdn gpio, remote by pocen gpio
6. local pwdn on/off enable depend on MAXIM4C_LOCAL_DES_ON_OFF_EN
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: Ife74e6251b09628e8413aa810c995e7a71449f1d
1.Add the judgment of signal loss when use g_dv_timing.
2.Wait for the signal to stabilize before get resolution.
Change-Id: I4cef1bd8a67f38dd531d24ccbb23d960bb82abae
Signed-off-by: Wangqiang Guo <kay.guo@rock-chips.com>
Add support for dual lvds with hdmi output
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
Change-Id: I6e3c07be15886ebf1daf9b22b72659c21a21f0dd
Add support for dual channel lvds with hdmi output
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
Change-Id: I782edeaf7ad9bb057d3911453d039fbacc14ee13
The lvds two channel can work independent, each lvds channel can
connector a single channel lvds panel, so add left and right pixels mode
support.
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
Change-Id: I7fde54880d97269123688a3246a6db7005ddf254
Since GKI disables closing fd in the kernel, the acquire fence fd should be
closed in user-space.
Update driver version to 1.3.0
Change-Id: I9bf85d6a39b3564332fc00dc9fce01678dc1ce3b
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>