{"push_id":682805247,"size":73,"distinct_size":73,"ref":"refs/heads/sunxi-wip","head":"58de14d49378a7f136c39c200821f1d627f10eaf","before":"2dcd395cb9026fa80bce26254e5d18e386d198c7","commits":[{"sha":"fcc2ecad4dcafb464e9d5fa5925f01374eec0c8a","author":{"email":"9fa1be1a5b5729e4c6b404f34c9ce49ff4882fd8@redhat.com","name":"Hans de Goede"},"message":"ARM: dts: sun8i: Add dts file for the GA10H-A33 tablet\n\nThe ga10h is an 10\" tablet with an A33 or A23 soc, 1G RAM, 8G or 16G nand,\nsdio wifi, 2 micro usb ports, 1 otg and 1 host and 1 micro sd slot.\n\nThis commit adds a dts file for the v1.1 pcb with an a33 soc.\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>","distinct":true,"url":"https://api.github.com/repos/jwrdegoede/linux-sunxi/commits/fcc2ecad4dcafb464e9d5fa5925f01374eec0c8a"},{"sha":"1be0099c3aafe0de597474f744494b08518374c9","author":{"email":"2d324f4ca95610bde432fa2af2f28cd21110687d@free-electrons.com","name":"Maxime Ripard"},"message":"drivers: soc: sunxi: Introduce SoC driver to map SRAMs\n\nThe Allwinner SoCs have a handful of SRAM that can be either mapped to be\naccessible by devices or the CPU.\n\nThat mapping is controlled by an SRAM controller, and that mapping might\nnot be set by the bootloader, for example if the device wasn't used at all,\nor if we're using solutions like the U-Boot's Falcon Boot.\n\nWe could also imagine changing this at runtime for example to change the\nmapping of these SRAMs to use them for suspend/resume or runtime memory\nrate change, if that ever happens.\n\nThese use cases require some API in the kernel to control that mapping,\nexported through a drivers/soc driver.\n\nThis driver also implement a debugfs file that shows the SRAM found in the\nsystem, the current mapping and the SRAM that have been claimed by some\ndrivers in the kernel.\n\nSigned-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>\n[hdegoede@redhat.com: Changed compat string to sun4i-a10-sram-controller, as\n the sram controller is identical on sun4i, sun5i & sun7i, added devicetree\n binding documentation, fixed some checkpatch warnings]\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>","distinct":true,"url":"https://api.github.com/repos/jwrdegoede/linux-sunxi/commits/1be0099c3aafe0de597474f744494b08518374c9"},{"sha":"5385eef9859d6065085b8b9017b601b8e21ab8a3","author":{"email":"9fa1be1a5b5729e4c6b404f34c9ce49ff4882fd8@redhat.com","name":"Hans de Goede"},"message":"musb: Add pre and post root port reset end callbacks\n\nThe sunxi otg phy has a bug where it wrongly detects a high speed squelch\nwhen reset on the root port gets de-asserted with a lo-speed device.\n\nThe workaround for this is to disable squelch detect before de-asserting\nreset, and re-enabling it after the reset de-assert is done.\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>","distinct":true,"url":"https://api.github.com/repos/jwrdegoede/linux-sunxi/commits/5385eef9859d6065085b8b9017b601b8e21ab8a3"},{"sha":"74ae84b988b41a66397f99b50082c69739ff7fbd","author":{"email":"9fa1be1a5b5729e4c6b404f34c9ce49ff4882fd8@redhat.com","name":"Hans de Goede"},"message":"musb: Make musb_write_rxfun* and musb_write_rxhub* work like their tx versions\n\nFor some reason the musb_write_rxfun* and musb_write_rxhub* functions had\na different function prototype and some extra magic needed on the caller side\ncompared to their tx counterparts, this commit makes them work the same as\ntheir tx counterparts.\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>","distinct":true,"url":"https://api.github.com/repos/jwrdegoede/linux-sunxi/commits/74ae84b988b41a66397f99b50082c69739ff7fbd"},{"sha":"ffda580ec3ff5c5c9fb28edd94a8caea1fe98578","author":{"email":"9fa1be1a5b5729e4c6b404f34c9ce49ff4882fd8@redhat.com","name":"Hans de Goede"},"message":"musb: Make busctl_offset an io-op rather then a define\n\nThe Allwinner (sunxi) implementation of the musb has its busctl registers\nindexed by the MUSB_INDEX register rather then in a flat address space.\n\nThis commit turns MUSB_BUSCTL_OFFSET from a macro into an io-op which can\nbe overridden from the platform ops.\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>","distinct":true,"url":"https://api.github.com/repos/jwrdegoede/linux-sunxi/commits/ffda580ec3ff5c5c9fb28edd94a8caea1fe98578"},{"sha":"e234a0b6ae8fdbb87c12c39f4debdbbe3e0fffc0","author":{"email":"9fa1be1a5b5729e4c6b404f34c9ce49ff4882fd8@redhat.com","name":"Hans de Goede"},"message":"musb: Do not use musb_read[b|w] / _write[b|w] wrappers in generic fifo functions\n\nThe generic fifo functions already use non wrapped accesses in various\ncases through the iowrite#_rep functions, and all platforms which override\nthe default musb_read[b|w] / _write[b|w] functions also provide their own\nfifo access functions, so we can safely drop the unnecessary indirection\nfrom the fifo access functions.\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>","distinct":true,"url":"https://api.github.com/repos/jwrdegoede/linux-sunxi/commits/e234a0b6ae8fdbb87c12c39f4debdbbe3e0fffc0"},{"sha":"d0f5737e998e8d0673aeb2e5ec99dd818c5ec668","author":{"email":"9fa1be1a5b5729e4c6b404f34c9ce49ff4882fd8@redhat.com","name":"Hans de Goede"},"message":"musb: Fix platform code being unable to override ep access ops\n\nmusb-core was setting the ops to the default indexed or flat handlers after\nchecking for platform overrides. Reverse the order of this so that platform\noverrides actually work.\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>","distinct":true,"url":"https://api.github.com/repos/jwrdegoede/linux-sunxi/commits/d0f5737e998e8d0673aeb2e5ec99dd818c5ec668"},{"sha":"cd08d9c82f9498864bb9ce196a40be980dcb612b","author":{"email":"9fa1be1a5b5729e4c6b404f34c9ce49ff4882fd8@redhat.com","name":"Hans de Goede"},"message":"phy-sun4i-usb: Add a sunxi specific function for setting squelch-detect\n\nThe sunxi otg phy has a bug where it wrongly detects a high speed squelch\nwhen reset on the root port gets de-asserted with a lo-speed device.\n\nThe workaround for this is to disable squelch detect before de-asserting\nreset, and re-enabling it after the reset de-assert is done. Add a sunxi\nspecific phy function to allow the sunxi-musb glue to do this.\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>","distinct":true,"url":"https://api.github.com/repos/jwrdegoede/linux-sunxi/commits/cd08d9c82f9498864bb9ce196a40be980dcb612b"},{"sha":"4e8a508980d2ce8a4d58eca06ed5e2cb45476648","author":{"email":"9fa1be1a5b5729e4c6b404f34c9ce49ff4882fd8@redhat.com","name":"Hans de Goede"},"message":"phy-sun4i-usb: Add full support for usb0 phy / OTG\n\nThe usb0 phy is connected to an OTG controller, and as such needs some special\nhandling:\n\n1) It allows explicit control over the pullups, enable these on phy_init and\ndisable them on phy_exit.\n\n2) It has bits to signal id and vbus detect to the musb-core, add support for\nfor monitoring id and vbus detect gpio-s for use in dual role mode, and set\nthese bits to the correct values for operating in host only mode when no\ngpios are specified in the devicetree.\n\n3) When in dual role mode the musb sunxi glue needs to know if the a host or\ndevice cable is plugged in, so when in dual role mode register an extcon.\n\nWhile updating the devicetree binding documentation also add documentation\nfor the sofar undocumented usage of regulators for vbus for all 3 phys.\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>\n---\nChanges in v2:\n-Removed the sunxi specific phy functions, instead the id / vbus gpio polling\n has been moved to the phy-sun4i-usb driver and their status is exported\n through extcon for the sunxi-musb glue\nChanges in v3:\n-No changes\nChanges in v4:\n-Do not call regulator_disable in an unbalanced manner when an external vbus\n is present","distinct":true,"url":"https://api.github.com/repos/jwrdegoede/linux-sunxi/commits/4e8a508980d2ce8a4d58eca06ed5e2cb45476648"},{"sha":"e9dd7c7c0399ace91c28756ff22efcab69c605f3","author":{"email":"9fa1be1a5b5729e4c6b404f34c9ce49ff4882fd8@redhat.com","name":"Hans de Goede"},"message":"musb: Add support for the Allwinner sunxi musb controller\n\nThis is based on initial code to get the Allwinner sunxi musb controller\nsupported by Chen-Yu Tsai and Roman Byshko.\n\nThis adds support for the Allwinner sunxi musb controller in both host only\nand otg mode. Peripheral only mode is not supported, as no boards use that.\n\nThis has been tested on a cubietruck (A20 SoC) and an UTOO P66 tablet\n(A13 SoC) with a variety of devices in host mode and with the g_serial gadget\ndriver in peripheral mode, plugging otg / host cables in/out a lot of times\nin all possible imaginable plug orders.\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>\n---\nChanges in v2:\n-Move polling of id and vbus-det gpio-s to the phy driver\n-Use extcon to get id (USB_HOST mode) status changes from the phy driver\n-Stop using syscon, instead use Maxime Ripard's sunxi SRAM controller driver\nChanges in v3:\n-Check that USB_MUSB_FOO config is compatible with the dr_mode setting from dt\nChanges in v4:\n-Squash in \"musb: sunxi: Add pre/post root reset end platform functions\" patch\n-Adjust for sunxi_sram controller driver changes\n-Stop musb work from turning vbus off again when in host mode","distinct":true,"url":"https://api.github.com/repos/jwrdegoede/linux-sunxi/commits/e9dd7c7c0399ace91c28756ff22efcab69c605f3"},{"sha":"cc284bb2bf137edbbba6f5e6d5a96d82625bb3f5","author":{"email":"9fa1be1a5b5729e4c6b404f34c9ce49ff4882fd8@redhat.com","name":"Hans de Goede"},"message":"ARM: dts: sun4i: Add USB Dual Role Controller\n\nAdd a node for the otg/drc usb controller to sun4i-a10.dtsi.\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>","distinct":true,"url":"https://api.github.com/repos/jwrdegoede/linux-sunxi/commits/cc284bb2bf137edbbba6f5e6d5a96d82625bb3f5"},{"sha":"ad45f325292db366f1e8c6fd217a9618e68e9f4e","author":{"email":"9fa1be1a5b5729e4c6b404f34c9ce49ff4882fd8@redhat.com","name":"Hans de Goede"},"message":"ARM: dts: sun5i: Add USB Dual Role Controller\n\nAdd a node for the otg/drc usb controller to sun5i-a1*.dtsi.\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>","distinct":true,"url":"https://api.github.com/repos/jwrdegoede/linux-sunxi/commits/ad45f325292db366f1e8c6fd217a9618e68e9f4e"},{"sha":"df6cff67721a3f3ebf1f8ef312dbf9e6fe140489","author":{"email":"9fa1be1a5b5729e4c6b404f34c9ce49ff4882fd8@redhat.com","name":"Hans de Goede"},"message":"ARM: dts: sun6i: Add USB Dual Role Controller\n\nAdd a node for the otg/drc usb controller to sun6i-a31.dtsi.\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>","distinct":true,"url":"https://api.github.com/repos/jwrdegoede/linux-sunxi/commits/df6cff67721a3f3ebf1f8ef312dbf9e6fe140489"},{"sha":"543627385e13626ad45dc02674100b7919e63da5","author":{"email":"94b2905c3fe04ce909cc7f5632a54c71387cbc42@gmail.com","name":"Roman Byshko"},"message":"ARM: dts: sun7i: Add USB Dual Role Controller\n\nAdd a node for the otg/drc usb controller to sun7i-a20.dtsi\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>","distinct":true,"url":"https://api.github.com/repos/jwrdegoede/linux-sunxi/commits/543627385e13626ad45dc02674100b7919e63da5"},{"sha":"0a075e982f5ac44c75f9a65cbd1eae21b6446775","author":{"email":"9fa1be1a5b5729e4c6b404f34c9ce49ff4882fd8@redhat.com","name":"Hans de Goede"},"message":"ARM: dts: sun8i: Add A23 usb-phy and otg nodes\n\nNote these are added to the sun8i-a23.dtsi file rather then to the shared\nsun8i-a23-a33.dtsi file as both the phy and the otg controller on the a33\nare slightly different.\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>","distinct":true,"url":"https://api.github.com/repos/jwrdegoede/linux-sunxi/commits/0a075e982f5ac44c75f9a65cbd1eae21b6446775"},{"sha":"5c3b718f834db0a6d683fcc94fa5eba84c224d01","author":{"email":"9fa1be1a5b5729e4c6b404f34c9ce49ff4882fd8@redhat.com","name":"Hans de Goede"},"message":"ARM: dts: sun8i: Add A33 usb-phy and otg nodes\n\nNote these are added to the sun8i-a33.dtsi file rather then to the shared\nsun8i-a23-a33.dtsi file as both the phy and the otg controller on the a33\nare slightly different.\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>","distinct":true,"url":"https://api.github.com/repos/jwrdegoede/linux-sunxi/commits/5c3b718f834db0a6d683fcc94fa5eba84c224d01"},{"sha":"9f71710405228b5ccefab2a0888a6727fbfb5a0b","author":{"email":"11e8bbde1bc9e0af703df23be02afe58864a4a18@csie.org","name":"Chen-Yu Tsai"},"message":"ARM: dts: sun8i: Add support for USB controllers on A23/A33\n\nA23/A33 has one pair of EHCI/OHCI USB controllers. There are 2 USB PHYs,\none for the USB OTG controller, one for the EHCI/OHCI pair. The latter\nmay also support HSIC, though none of the available boards utilize this,\nso this is not supported yet.\n\nSigned-off-by: Chen-Yu Tsai <wens@csie.org>\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>","distinct":true,"url":"https://api.github.com/repos/jwrdegoede/linux-sunxi/commits/9f71710405228b5ccefab2a0888a6727fbfb5a0b"},{"sha":"086f4338201629f14116b2f428d9eccfee040123","author":{"email":"9fa1be1a5b5729e4c6b404f34c9ce49ff4882fd8@redhat.com","name":"Hans de Goede"},"message":"ARM: dts: sun4i: Enable USB DRC on Chuwi V7 CW0825\n\nEnable the otg/drc usb controller on the Chuwi V7 CW0825 tablet.\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>","distinct":true,"url":"https://api.github.com/repos/jwrdegoede/linux-sunxi/commits/086f4338201629f14116b2f428d9eccfee040123"},{"sha":"31e21d65304c54772394f9c9ed0ec3aa5f3a0b68","author":{"email":"9fa1be1a5b5729e4c6b404f34c9ce49ff4882fd8@redhat.com","name":"Hans de Goede"},"message":"ARM: dts: sun5i: Enable USB DRC on UTOO P66\n\nEnable the OTG controller on the UTOO P66 tablet.\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>","distinct":true,"url":"https://api.github.com/repos/jwrdegoede/linux-sunxi/commits/31e21d65304c54772394f9c9ed0ec3aa5f3a0b68"},{"sha":"7d3073cbabdc79991941b380bf34dd6368651959","author":{"email":"9fa1be1a5b5729e4c6b404f34c9ce49ff4882fd8@redhat.com","name":"Hans de Goede"},"message":"ARM: dts: sun6i: Add a dts file for the Mele A1000G quad top set box\n\nThe Mele A1000G-quad and the Mele M9 have the same PCB, sofar we've been using\nthe same dts for both models. Unfortunately this does not work for the otg\ncontroller, on the M9 this is routed to a micro-usb connector on the outside,\nwhile as on the A1000G-quad it is connected to an usb to sata bridge\n(which is not populated on the M9 pcb).\n\nThis commit adds a new dts for the Mele-A1000G-quad to allow using\ndifferent otg controller settings on the 2 boards.\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>","distinct":true,"url":"https://api.github.com/repos/jwrdegoede/linux-sunxi/commits/7d3073cbabdc79991941b380bf34dd6368651959"}]}