[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#745972: Please enable additional kernel config options for sunxi support (starting with kernel 3.14)



On Sun, 2014-04-27 at 07:29 +0100, Ian Campbell wrote:
> On Sat, 2014-04-26 at 22:15 +0100, Ben Hutchings wrote:
> > On Sat, 2014-04-26 at 22:23 +0200, Karsten Merker wrote:
> > > Package: linux
> > > Severity: wishlist
> > > 
> > > Hello,
> > > 
> > > I am working on getting ARM platforms based on the Allwinner A10
> > > (sun4i) and A20 (sun7i) SOCs better supported in Debian.  During
> > > the last months quite a bit of drivers for these SOCs have been
> > > integrated into the mainline Linux kernel.  I would therefore like
> > > to ask for the following additional kernel configuration options
> > > to be enabled in future Debian kernel packages:
> > > 
> > > Kernel 3.14
> > > ===========
> > > CONFIG_RTC_DRV_SUNXI=m         (sunxi realtime clock support)
> > > 
> > > CONFIG_USB_EHCI_HCD_PLATFORM=m (platform device for enabling the
> > >                                 embedded EHCI controller)
> > > 
> > > CONFIG_USB_OHCI_HCD_PLATFORM=m (platform device for enabling the
> > >                                 embedded OHCI controller)
> > > 
> > > CONFIG_SUNXI_WATCHDOG=m        (embedded watchdog device)
> > 
> > Ian, as you've been working on sunxi support, do you agree with the
> > above?
> 
> Yep, I thought USB wasn't there until 3.15 which is why I didn't think
> to enable them. If they are there then they should be on.

The USB PHY and DT updates are in 3.15 so it seems pointless to only
enable those USB host drivers.

> > > Kernel 3.15 (drivers accepted in 3.15rc1)
> > > ===========
> > > CONFIG_PHY_SUN4I_USB=m         (PHY driver for the embedded OHCI
> > >                                 and EHCI controllers)
> > > 
> > > CONFIG_SPI=y
> > > CONFIG_SPI_SUNXI=m             (sunxi SPI master driver)
> > 
> > I think these could be included in our Linux 3.14 packages if you or Ian
> > or anyone else backports them.
> 
> I didn't bother backporting these since I figured they weren't critical
> and could wait for 3.15 proper to roll around. I have no objection if
> someone else wants to backport them.
[...]

I've cherry-picked:

3558fe900e8a spi: sunxi: Add Allwinner A31 SPI controller driver
743a46b89a59 spi: sun6i: Set bits_per_word_mask to only support 8 bits word length
d31ad46f58e8 spi: sun6i: Fix define for SUN6I_TFR_CTL_CS_MASK
65918e26069a ARM: dt: sun4i: Add A10 SPI controller nodes
ba4bdc9e1dc0 PHY: sunxi: Add driver for sunxi usb phy
6ab1ce244be3 ARM: sun4i: dt: Add USB host bindings

and made all the above-requested config changes.  I hope that's
sufficient.

Ben.

-- 
Ben Hutchings
Power corrupts.  Absolute power is kind of neat.
                           - John Lehman, Secretary of the US Navy 1981-1987

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: