When SSC work in slave mode, the clock can come from TK pin and also
can come from RK pin, this is hardware design decided. So, make it
available to choose where the clock from.
Changes in v2:
- using "-" replace "_" in binding document
Bo Shen (3):
ASoC: atmel_ssc_dai: m
When SSC works in slave mode, according to the hardware design, the
clock can get from TK pin, also can get from RK pin. So, add one
parameter to choose where the clock from.
Signed-off-by: Bo Shen
---
Changes in v2: None
sound/soc/atmel/atmel_ssc_dai.c | 16
sound/soc/atmel
Make it available to choose the clock from TK pin or RK pin. This
is hardware design decided.
Signed-off-by: Bo Shen
---
Changes in v2: None
sound/soc/atmel/atmel_wm8904.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/sound/soc/atmel/atmel_wm8904.c b/sound/soc/atmel
Add the option to choose clock output on which pin connect to SSC.
Default is on TK pin to SSC, add clk_from_rk_pin option, the clock
is on RK pin to SSC.
Signed-off-by: Bo Shen
---
Documentation/devicetree/bindings/sound/atmel-wm8904.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a
Make it available to choose the clock from TK pin or RK pin. This
is hardware design decided.
Signed-off-by: Bo Shen
---
sound/soc/atmel/atmel_wm8904.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/sound/soc/atmel/atmel_wm8904.c b/sound/soc/atmel/atmel_wm8904.c
index b4e3690
When SSC works in slave mode, according to the hardware design, the
clock can get from TK pin, also can get from RK pin. So, add one
parameter to choose where the clock from.
Signed-off-by: Bo Shen
---
sound/soc/atmel/atmel_ssc_dai.c | 16
sound/soc/atmel/atmel_ssc_dai.h | 1
When SSC work in slave mode, the clock can come from TK pin and also
can come from RK pin, this is hardware design decided. So, make it
available to choose where the clock from.
Bo Shen (3):
ASoC: atmel_ssc_dai: make option to choose clock
ASoC: atmel_wm8904: make it available to choose
/atmel_wm8904.c | 8
1 file changed, 8 deletions(-)
Tested OK on at91sam9n12ek and sama5d3xek board.
Thanks.
Acked-by: Bo Shen
Best Regards,
Bo Shen
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kerne
Add at91sam9n12 ssc clock in look up table
Signed-off-by: Bo Shen
---
arch/arm/mach-at91/at91sam9n12.c |1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-at91/at91sam9n12.c b/arch/arm/mach-at91/at91sam9n12.c
index c7d670d..2d895a2 100644
--- a/arch/arm/mach-at91/at91sam9n12.c
Add sound support on at91sam9n12ek board with wm8904 as codec.
Signed-off-by: Bo Shen
---
arch/arm/boot/dts/at91sam9n12ek.dts | 25 +
1 file changed, 25 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts
b/arch/arm/boot/dts/at91sam9n12ek.dts
index
This patch series enable sound on at91sam9n12ek board with wm8904 codec
Bo Shen (5):
ARM: at91: add at91sam9n12 ssc clock in look up table
ARM: at91: add ssc dma parameter for at91sam9n12
ARM: at91: enable wm8904 on at91sam9n12ek board
ARM: at91: enable ssc on at91sam9n12ek board
ARM
Enable ssc on at91sam9n12ek board
Signed-off-by: Bo Shen
---
arch/arm/boot/dts/at91sam9n12ek.dts |4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts
b/arch/arm/boot/dts/at91sam9n12ek.dts
index 1ba8def..391c532 100644
--- a/arch/arm/boot/dts
Enable wm8904 codec on at91sam9n12ek board, which is connect
to i2c0 bus with 0x1a as address.
Signed-off-by: Bo Shen
---
arch/arm/boot/dts/at91sam9n12ek.dts |5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts
b/arch/arm/boot/dts/at91sam9n12ek.dts
Add ssc dma parameter for at91sam9n12
Signed-off-by: Bo Shen
---
arch/arm/boot/dts/at91sam9n12.dtsi |3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi
b/arch/arm/boot/dts/at91sam9n12.dtsi
index 9fb7ffd..6224f9f 100644
--- a/arch/arm/boot/dts
drop the atmel-pwm-bl driver in favor of the generic
backlight.
The atmel pwm driver is on the way to generic subsystem. more
information at:
--->8---
PWM: atmel-pwm: add PWM controller driver:
https://patchwork.kernel.org/patch/2963081/
---<8---
Best Regards,
Bo Shen
--
To unsubscribe
Hi Nicolas,
On 10/28/2013 10:49 PM, Nicolas Ferre wrote:
On 22/10/2013 12:13, Bo Shen :
Hi All,
On 10/8/2013 21:17, Thierry Reding wrote:
On Mon, Sep 30, 2013 at 05:10:40PM +0800, Bo Shen wrote:
Add Atmel PWM controller driver based on PWM framework.
This is the basic function
Hi J,
On 10/31/2013 13:42, Jean-Christophe PLAGNIOL-VILLARD wrote:
On 17:10 Mon 30 Sep , Bo Shen wrote:
Add Atmel PWM controller driver based on PWM framework.
This is the basic function implementation of Atmel PWM controller.
It can work with PWM based led and backlight.
Signed-off-by
Add Atmel PWM controller driver based on PWM framework.
This is the basic function implementation of Atmel PWM controller.
It can work with PWM based led and backlight.
Signed-off-by: Bo Shen
---
Changes in v6:
- using relaxed version for writel and readl
- add none device tree support
Add atmel pwm driver device tree binding document
Signed-off-by: Bo Shen
---
Changes in v6:
- New, split binding document as a separate patch
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
.../devicetree/bindings/pwm/atmel-pwm.txt | 41
Hi Thierry,
On 11/18/2013 05:13 PM, Bo Shen wrote:
Add Atmel PWM controller driver based on PWM framework.
This is the basic function implementation of Atmel PWM controller.
It can work with PWM based led and backlight.
Signed-off-by: Bo Shen
Acked-by: Alexandre Belloni
Acked-by: Jean
Enable qt1070 keyboard as a wakeup source on sama5d3xek board.
Signed-off-by: Bo Shen
---
arch/arm/boot/dts/sama5d3xdm.dtsi |1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/sama5d3xdm.dtsi
b/arch/arm/boot/dts/sama5d3xdm.dtsi
index 1c296d6..f9bdde5 100644
--- a/arch/arm
Hi Thierry,
On 12/02/2013 06:59 PM, Thierry Reding wrote:
On Mon, Nov 18, 2013 at 05:13:21PM +0800, Bo Shen wrote:
[...]
diff --git a/drivers/pwm/pwm-atmel.c b/drivers/pwm/pwm-atmel.c
[...]
+/* Max value for duty and period
Block comments should be of this form:
/*
* Max
Hi Thierry,
On 12/03/2013 05:43 PM, Thierry Reding wrote:
On Tue, Dec 03, 2013 at 11:09:12AM +0800, Bo Shen wrote:
On 12/02/2013 06:59 PM, Thierry Reding wrote:
On Mon, Nov 18, 2013 at 05:13:21PM +0800, Bo Shen wrote:
[...]
diff --git a/drivers/pwm/pwm-atmel.c b/drivers/pwm/pwm-atmel.c
Add Atmel PWM controller driver based on PWM framework.
This is the basic function implementation of Atmel PWM controller.
It can work with PWM based led and backlight.
Signed-off-by: Bo Shen
Acked-by: Alexandre Belloni
Acked-by: Jean-Christophe PLAGNIOL-VILLARD
---
drivers/pwm/Kconfig
Add atmel pwm driver device tree binding document
Signed-off-by: Bo Shen
Acked-by: Alexandre Belloni
Acked-by: Jean-Christophe PLAGNIOL-VILLARD
Acked-by: Kumar Gala
---
.../devicetree/bindings/pwm/atmel-pwm.txt | 41
1 file changed, 41 insertions(+)
create
Address the comments from Thierry Reding
Bo Shen (2):
PWM: atmel-pwm: add PWM controller driver
PWM: atmel-pwm: add device tree binding document
.../devicetree/bindings/pwm/atmel-pwm.txt | 41 ++
drivers/pwm/Kconfig|
Hi Mark,
On 01/15/2014 04:36 AM, Mark Brown wrote:
On Tue, Jan 14, 2014 at 11:25:55AM +0800, Bo Shen wrote:
Make it available to choose the clock from TK pin or RK pin. This
is hardware design decided.
--- a/sound/soc/atmel/atmel_wm8904.c
+++ b/sound/soc/atmel/atmel_wm8904.c
@@ -108,6
Hi J,
On 01/15/2014 07:54 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
On 11:25 Tue 14 Jan , Bo Shen wrote:
Add the option to choose clock output on which pin connect to SSC.
Default is on TK pin to SSC, add clk_from_rk_pin option, the clock
is on RK pin to SSC.
Signed-off-by: Bo Shen
Hi Nicolas,
On 01/16/2014 01:17 AM, Nicolas Ferre wrote:
On 14/01/2014 04:25, Bo Shen :
Add the option to choose clock output on which pin connect to SSC.
Default is on TK pin to SSC, add clk_from_rk_pin option, the clock
Please do not use "_" in DT properties. It is a common patt
When the SoC is earlier than sama5d3 SoC, which have the same number
endpoints and DMAs. However for sama5d3 SoC, it has different number
for endpoints and DMAs. So, define USBA_NR_DMAs for DMA channels
Signed-off-by: Bo Shen
---
drivers/usb/gadget/atmel_usba_udc.c | 2 +-
drivers/usb/gadget
In sama5d3 SoC, there are 16 endpoints. As the USBA_NR_ENDPOINTS
is only 7. So, fix it for sama5d3 SoC using the udc->num_ep.
Signed-off-by: Bo Shen
---
drivers/usb/gadget/atmel_usba_udc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/atmel_usba_ud
Hi J,
On 01/18/2014 01:20 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
On 10:59 Fri 17 Jan , Bo Shen wrote:
In sama5d3 SoC, there are 16 endpoints. As the USBA_NR_ENDPOINTS
is only 7. So, fix it for sama5d3 SoC using the udc->num_ep.
Signed-off-by: Bo Shen
---
drivers/usb/gad
Hi J,
On 01/21/2014 01:49 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
On 11:39 Mon 20 Jan , Bo Shen wrote:
Hi J,
On 01/18/2014 01:20 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
On 10:59 Fri 17 Jan , Bo Shen wrote:
In sama5d3 SoC, there are 16 endpoints. As the USBA_NR_ENDPOINTS
is
Prepare SSC clock only when request SSC channel, the clock will be
enabled when initialize the SSC.
Signed-off-by: Bo Shen
---
drivers/misc/atmel-ssc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/misc/atmel-ssc.c b/drivers/misc/atmel-ssc.c
index 60843a2
Prepare SSC clock only when request SSC channel, the clock will be
enabled when initialize the SSC.
Signed-off-by: Bo Shen
---
Send this patch to driver/misc maintainer as Mark Brown suggested.
drivers/misc/atmel-ssc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a
Hi Mark,
On 09/24/2014 05:07 PM, Mark Brown wrote:
On Wed, Sep 24, 2014 at 04:56:59PM +0800, Bo Shen wrote:
Prepare SSC clock only when request SSC channel, the clock will be
enabled when initialize the SSC.
You should send this to the drivers/misc maintainer.
Thanks, it has been done
division out of the prescale loop to
correct the above issue and make the calculation more efficient.
Thanks for your patch.
Signed-off-by: Nikolaus Voss
Tested-by: Bo Shen
Acked-by: Bo Shen
---
drivers/pwm/pwm-atmel.c | 24 +++-
1 file changed, 11 insertions(+), 13
Hi,
Correct the PWM maintainer Thierry Reding's e-mail address.
and Add linux-arm-kernel ML.
On 09/25/2014 09:50 AM, Bo Shen wrote:
Hi Nikolaus Voss,
On 09/23/2014 09:30 PM, Nikolaus Voss wrote:
The prescale value used for calculating the period was incremented
afterwards, thu
Signed-off-by: Bo Shen
---
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 3705430..c004e6f 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1703,6 +1703,13 @@ M: Nicolas Ferre
S: Supported
F: drivers/spi/spi-atmel.*
+ATMEL
Signed-off-by: Bo Shen
---
MAINTAINERS | 6 ++
1 file changed, 6 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index c004e6f..30f92cf 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1665,6 +1665,12 @@ M: Nicolas Ferre
S: Supported
F: drivers/tty/serial/atmel_serial.c
only one pinctrl
configuration.
Best Regards,
Bo Shen
diff --git a/arch/arm/boot/dts/sama5d3_lcd.dtsi
b/arch/arm/boot/dts/sama5d3_lcd.dtsi
index 85d3027..2186b89 100644
--- a/arch/arm/boot/dts/sama5d3_lcd.dtsi
+++ b/arch/arm/boot/dts/sama5d3_lcd.dtsi
@@ -15,38 +15,103 @@
apb
frame buffer use 16 bits/pixel, while output 24 bits/pixel.
+ };
+ };
};
};
Best Regards,
Bo Shen
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord..
Add clocks for usb device, or else switch to CCF, the gadget
won't work.
Reported-by: Jiří Prchal
Signed-off-by: Bo Shen
---
arch/arm/boot/dts/at91sam9x5.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi
b/arch/arm/boot/dts/at91sam9x5.dtsi
Correct the typo error for the second "uhphs_clk".
Signed-off-by: Bo Shen
---
arch/arm/boot/dts/at91sam9x5.dtsi | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi
b/arch/arm/boot/dts/at91sam9x5.dtsi
index 2ebc421..727d3a4 100644
Hi Florian,
On 06/27/2014 02:00 AM, Florian Fainelli wrote:
Hello,
2014-06-25 0:24 GMT-07:00 Bo Shen :
If the fixups parameters get from dtb, it won't set has_fixups
parameters, so when read phy_has_fixups attribute, it always
present as 0.
Add this patch to make phy_has_fixups attribute
p for sama5d3xek boards
arch/arm/boot/dts/sama5d3xcm.dtsi | 15 +++
arch/arm/mach-at91/board-dt-sama5.c | 22 --
2 files changed, 15 insertions(+), 22 deletions(-)
For this series, test OK on sama5d33ek (Ronetix) and sama5d34ek (Embest).
Tested-by: Bo Shen
e one actually
available on the MDIO bus.
Signed-off-by: Boris BREZILLON
For this patch series, test OK on both Embest (sama5d34ek) and Ronetix
(sama5d33ek).
Tested-by: Bo Shen
---
Florian, I dropped your Reviewed-by tag because this patch has slightly
changed.
arch/arm/boot/dts/sama5d3xcm
Signed-off-by: Bo Shen
---
arch/arm/configs/sama5_defconfig | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig
index dc3881e..c8613f0 100644
--- a/arch/arm/configs/sama5_defconfig
+++ b/arch/arm/configs/sama5_defconfig
As sound support depends on ssc, i2c and dma, so also enable them.
Signed-off-by: Bo Shen
---
arch/arm/configs/at91_dt_defconfig | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/configs/at91_dt_defconfig
b/arch/arm/configs/at91_dt_defconfig
index 300ded9..bd0a307 100644
The PD16 is the CS3 for SPI0 while not SPI1.
Signed-off-by: Bo Shen
---
This patch is based on v3.14-rc8
arch/arm/boot/dts/at91-sama5d3_xplained.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
b/arch/arm/boot/dts/at91
rxd0-skew-ps = <400>;
+ rxd1-skew-ps = <400>;
+ rxd2-skew-ps = <400>;
+ rxd3-skew-ps = <400>;
+ };
If the fixups parameters get from dtb, it won't set has_fixups
parameters, so when read phy_has_fixups attribute, it always
present as 0.
Add this patch to make phy_has_fixups attribute read correctly.
Signed-off-by: Bo Shen
---
drivers/net/phy/micrel.c | 4
1 file changed, 4 inser
Hi Boris,
On 06/25/2014 03:30 PM, Boris BREZILLON wrote:
Hello Bo,
On 25/06/2014 08:59, Bo Shen wrote:
Hi Boris,
On 06/25/2014 06:44 AM, Boris BREZILLON wrote:
Add ethernet-phy node to specify phy address (on the MDIO bus) and phy
interrupt (connected to pin PB25).
Define board specific
Hi Boris,
On 06/25/2014 03:45 PM, Boris BREZILLON wrote:
On 25/06/2014 09:35, Bo Shen wrote:
Hi Boris,
On 06/25/2014 03:30 PM, Boris BREZILLON wrote:
Hello Bo,
On 25/06/2014 08:59, Bo Shen wrote:
Hi Boris,
On 06/25/2014 06:44 AM, Boris BREZILLON wrote:
Add ethernet-phy node to specify
Hi Thierry,
On 12/03/2013 11:09 AM, Bo Shen wrote:
+atmel_pwm->chip.of_xlate = of_pwm_xlate_with_flags;
+atmel_pwm->chip.of_pwm_n_cells = 3;
+atmel_pwm->chip.base = -1;
+} else {
+atmel_pwm->chip.base = pdev->id;
That's not correct. The
Hi All,
On 10/8/2013 21:17, Thierry Reding wrote:
On Mon, Sep 30, 2013 at 05:10:40PM +0800, Bo Shen wrote:
Add Atmel PWM controller driver based on PWM framework.
This is the basic function implementation of Atmel PWM controller.
It can work with PWM based led and backlight.
Signed-off-by
Hi Thierry,
On 12/17/2013 06:30 PM, Thierry Reding wrote:
On Fri, Dec 13, 2013 at 02:41:48PM +0800, Bo Shen wrote:
This patch series add Atmel PWM controller driver support.
Changes in v9:
- Address the comments from Thierry Reding
Hi,
I've pushed a slightly modified version of
Hi J,
On 11/13/2013 05:56 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
On 15:59 Fri 01 Nov , Bo Shen wrote:
Add Atmel PWM controller driver based on PWM framework.
This is the basic function implementation of Atmel PWM controller.
It can work with PWM based led and backlight.
Signed-off
Add atmel pwm driver device tree binding document
Signed-off-by: Bo Shen
Acked-by: Alexandre Belloni
Acked-by: Kumar Gala
---
Changes in v7: None
Changes in v6:
- New, split binding document as a separate patch
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
Add Atmel PWM controller driver based on PWM framework.
This is the basic function implementation of Atmel PWM controller.
It can work with PWM based led and backlight.
Signed-off-by: Bo Shen
Acked-by: Alexandre Belloni
---
Changes in v7:
- fix issue for none device tree issues.
Changes in
Add atmel pwm driver device tree binding document
Signed-off-by: Bo Shen
Acked-by: Alexandre Belloni
Acked-by: Jean-Christophe PLAGNIOL-VILLARD
Acked-by: Kumar Gala
---
Changes in v8: None
Changes in v7: None
Changes in v6:
- New, split binding document as a separate patch
Changes in v5
Add Atmel PWM controller driver based on PWM framework.
This is the basic function implementation of Atmel PWM controller.
It can work with PWM based led and backlight.
Signed-off-by: Bo Shen
Acked-by: Alexandre Belloni
Acked-by: Jean-Christophe PLAGNIOL-VILLARD
---
Changes in v8
Add the option to choose clock on which pin input to SSC (as slave).
Default is on TK pin to SSC, add "atmel,clk-from-rk-pin" option to
specify the clock is on RK pin to SSC.
Signed-off-by: Bo Shen
---
Changes in v3:
- None
Series-changes: 2
- using "-" replace &qu
t;_" in binding document
Bo Shen (2):
ASoC: atmel_ssc_dai: make option to choose clock
Binding: atmel-ssc: add option to choose clock
Documentation/devicetree/bindings/misc/atmel-ssc.txt | 8
drivers/misc/atmel-ssc.c | 6 ++
inclu
When SSC works in slave mode, according to the hardware design, the
clock can get from TK pin, also can get from RK pin. So, add one
parameter to choose where the clock from.
Signed-off-by: Bo Shen
---
Changes in v3:
- New, move clk-from-rk-pin property from card to ssc device
drivers/misc
Hi Thierry,
On 12/04/2013 06:03 PM, Thierry Reding wrote:
On Wed, Dec 04, 2013 at 10:59:46AM +0800, Bo Shen wrote:
Hi Thierry,
On 12/03/2013 05:43 PM, Thierry Reding wrote:
On Tue, Dec 03, 2013 at 11:09:12AM +0800, Bo Shen wrote:
On 12/02/2013 06:59 PM, Thierry Reding wrote:
On Mon, Nov 18
Add the port number and vbus property for ohci port, or else if
bootloader won't configure the vbus pin, the 5v supply is not
power on, so can not work with usb devices.
Signed-off-by: Bo Shen
---
arch/arm/boot/dts/at91sam9n12ek.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a
As, the interrupt for DMA is counted from 1, so need to checked
the USBA_NR_DMAS, in old way, it only check (USBA_NR_DMAS - 1),
so fix it.
Reported-by: Max Liao
Signed-off-by: Bo Shen
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
ed short initialized; /* true if SSC has been initialized */
unsigned short daifmt;
- unsigned short cmr_div;
+ unsigned short tcmr_div;
+ unsigned short rcmr_div;
unsigned short tcmr_period;
unsigned short rcmr_period;
struct atmel_pcm_dma_params *dm
m atmel_ssc_dai?
(I admin to having edited the above code slightly in this mail, so I might have
introduced some silly bug, but you get what I mean, just open the device
and request some parameters, and boom: -EBUSY)
Cheers,
Peter
Best Regards,
Bo Shen
--
To unsubscribe from this list: send th
related with
atmel_ssc_set_dai_sysclk.
So, am I missing something or something else?
(I admin to having edited the above code slightly in this mail, so I
s/admin/admit/
might have introduced some silly bug, but you get what I mean, just
open the device and request some parameters, and bo
hange, otherwise, return
-EBUSY.
Cheers,
Peter
Best Regards,
Bo Shen
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
n 1;
}
speed = 22025;
if (ioctl(fd, SNDCTL_DSP_SPEED, &speed) == -1) {
perror("SNDCTL_DSP_SPEED");
return 1;
}
return 0;
}
Signed-off-by: Peter Rosin
Acked-by: Bo Shen
---
sound/soc/atmel/atmel_ssc_dai.c |5 ++
d when using the OSS API.
---8<---
Cheers,
Peter
Best Regards,
Bo Shen
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
n also prevents changing the register content in
half-duplex scenarios, which is needed when using the OSS API.
---8<---
Cheers,
Peter
Best Regards,
Bo Shen
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.
Acked-by: Bo Shen
Best Regards,
Bo Shen
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
n driver.
Signed-off-by: Bo Shen
---
drivers/usb/gadget/udc/at91_udc.c | 9 -
1 file changed, 9 deletions(-)
diff --git a/drivers/usb/gadget/udc/at91_udc.c
b/drivers/usb/gadget/udc/at91_udc.c
index 9968f53..b179ab1 100644
--- a/drivers/usb/gadget/udc/at91_udc.c
+++ b/drivers/usb/ga
n driver.
Signed-off-by: Bo Shen
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 9 -
1 file changed, 9 deletions(-)
diff --git a/drivers/usb/gadget/udc/atmel_usba_udc.c
b/drivers/usb/gadget/udc/atmel_usba_udc.c
index 1529926..8c29d09 100644
--- a/drivers/usb/gadget/udc/atmel_usba_udc
unsigned short rcmr_div;
unsigned short tcmr_period;
unsigned short rcmr_period;
struct atmel_pcm_dma_params *dma_params[2];
Best Regards,
Bo Shen
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vge
Hi Nicolas,
Thanks.
On 03/19/2015 05:48 PM, Nicolas Ferre wrote:
I take over the the maintainship of Atmel alsa drivers from Voice.
Thanks for your work!
Signed-off-by: Nicolas Ferre
Cc: Bo Shen
Cc: Mark Brown
Acked-by: Bo Shen
---
MAINTAINERS | 2 +-
1 file changed, 1 insertion
Hi Nicolas,
Thanks.
On 03/19/2015 05:49 PM, Nicolas Ferre wrote:
I take over the maintainship from Voice.
Signed-off-by: Nicolas Ferre
Cc: Bo Shen
Cc: Mark Brown
Cc: Arnd Bergmann
Cc: Greg Kroah-Hartman
Acked-by: Bo Shen
---
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1
Hi Mark,
On 01/30/2015 09:20 PM, Mark Brown wrote:
On Fri, Jan 30, 2015 at 05:38:43PM +0800, Bo Shen wrote:
In startup function, enable ssc clock and in shutdown function,
disable clock. And also remove disable ssc in shutdown function,
as ssc is disabled in prepare function.
Applied, thanks
d chime in? Maybe I'm totally
Sorry for late response.
off base, and the SSC is doing this completely differently?
What you mean here? I am not sure I fully understand.
In our application, we're not near the limit. Therefore, it really doesn't
matter much to us.
Should I r
atmel_ssc_dai.h
index b1f08d511495..80b153857a88 100644
--- a/sound/soc/atmel/atmel_ssc_dai.h
+++ b/sound/soc/atmel/atmel_ssc_dai.h
@@ -115,6 +115,7 @@ struct atmel_ssc_info {
unsigned short rcmr_period;
struct atmel_pcm_dma_params *dma_params[2];
struct atmel_ssc_state ssc_s
Hi Peter,
On 02/09/2015 03:35 PM, Peter Rosin wrote:
Bo Shen wrote:
Hi Peter,
Hi!
On 02/07/2015 06:51 PM, Peter Rosin wrote:
Mark Brown wrote:
On Wed, Feb 04, 2015 at 12:52:25PM +0100, Peter Rosin wrote:
One thing remains a bit unclear, and that is the 500ppm deduction.
Is that really
x b1f08d511495..80b153857a88
100644
--- a/sound/soc/atmel/atmel_ssc_dai.h
+++ b/sound/soc/atmel/atmel_ssc_dai.h
@@ -115,6 +115,7 @@ struct atmel_ssc_info {
unsigned short rcmr_period;
struct atmel_pcm_dma_params *dma_params[2];
struct atmel_ssc_state ssc_state;
+ unsigned long mck_ra
Enable usb device port on at91sam9n12ek board.
Signed-off-by: Bo Shen
---
arch/arm/boot/dts/at91sam9n12ek.dts | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts
b/arch/arm/boot/dts/at91sam9n12ek.dts
index 13bb24e..3e572e5 100644
--- a/arch/arm/boot
Add usb device node for at91sam9n12.
Signed-off-by: Bo Shen
---
arch/arm/boot/dts/at91sam9n12.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi
b/arch/arm/boot/dts/at91sam9n12.dtsi
index 68eb9ad..6120e03 100644
--- a/arch/arm/boot/dts
This patch series enable the usb gadget support on at91sam9n12ek
board. On at91sam9n12 SoC which integrate the full speed udc device.
Bo Shen (3):
USB: gadget: at91_udc: add at91sam9n12 support
ARM: at91: dt: at91sam9n12: add udp device node
ARM: at91: dt: at91sam9n12ek: enable udp
arch
Add at91sam9n12 SoC support.
Signed-off-by: Bo Shen
---
drivers/usb/gadget/udc/at91_udc.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/gadget/udc/at91_udc.c
b/drivers/usb/gadget/udc/at91_udc.c
index c862656..f4c785f 100644
--- a/drivers/usb/gadget
Hi Peter,
On 02/09/2015 05:07 PM, Peter Rosin wrote:
Bo Shen wrote:
Hi Peter,
On 02/09/2015 04:09 PM, Peter Rosin wrote:
[Snip]
/*-*\
* DAI functions
@@ -200,6 +290,7 @@ static int atmel_ssc_startup(struct
Hi Sylvain,
On 02/09/2015 06:04 PM, Sylvain Rochet wrote:
Hello Bo,
On Mon, Feb 09, 2015 at 05:02:52PM +0800, Bo Shen wrote:
Enable usb device port on at91sam9n12ek board.
Signed-off-by: Bo Shen
---
arch/arm/boot/dts/at91sam9n12ek.dts | 5 +
1 file changed, 5 insertions(+)
diff
Hi Peter,
On 02/09/2015 06:25 PM, Peter Rosin wrote:
Bo Shen wrote:
Hi Peter,
Hi!
On 02/09/2015 05:07 PM, Peter Rosin wrote:
Bo Shen wrote:
Hi Peter,
On 02/09/2015 04:09 PM, Peter Rosin wrote:
[Snip
Hi Alexandre,
On 02/09/2015 07:14 PM, Alexandre Belloni wrote:
Hi Bo,
On 09/02/2015 at 17:02:50 +0800, Bo Shen wrote :
Add at91sam9n12 SoC support.
Signed-off-by: Bo Shen
---
drivers/usb/gadget/udc/at91_udc.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a
Add usb device node for at91sam9n12.
Signed-off-by: Bo Shen
---
Changes in v2: None
arch/arm/boot/dts/at91sam9n12.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi
b/arch/arm/boot/dts/at91sam9n12.dtsi
index c2666a7..e1b6f0b 100644
--- a/arch
This patch series enable usb device support on at91sam9n12ek board.
Changes in v2:
- Base on next-20150209 (so, remove the modification of udc driver).
- Add pinctrl for usb1 vbus sense.
Bo Shen (2):
ARM: at91: dt: at91sam9n12: add udp device node
ARM: at91: dt: at91sam9n12ek: enable udp
Enable usb device port on at91sam9n12ek board.
Signed-off-by: Bo Shen
---
Changes in v2:
- Add pinctrl for usb1 vbus sense.
arch/arm/boot/dts/at91sam9n12ek.dts | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts
b/arch/arm/boot/dts
ro is output
In addition, the maximum clock speed allowed on the TK pin is:
- Peripheral clock divided by 6 if Transmit Frame Synchro is input
- Peripheral clock divided by 2 if Transmit Frame Synchro is output
Signed-off-by: Peter Rosin
Thanks for your patch.
Acked-by: Bo
Let the wm8731 codec to manage clock by itself.
Signed-off-by: Bo Shen
---
sound/soc/codecs/wm8731.c | 28
1 file changed, 28 insertions(+)
diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c
index b115ed8..ecd8424 100644
--- a/sound/soc/codecs
As DMA framework request DMA using direction only in prep_slave
function, (The At91 xdma driver has adapted to this request).
So won't check direction when do DMA configuration.
Signed-off-by: Bo Shen
---
sound/soc/atmel/atmel-pcm-dma.c | 12 +---
1 file changed, 5 insertions(
101 - 200 of 221 matches
Mail list logo