On Fri, Jun 17, 2016 at 1:46 PM, Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx> wrote: > On Mon, Jun 13, 2016 at 11:35:15AM +0200, Hans de Goede wrote: >> Hi >> >> On 13-06-16 05:16, Chen-Yu Tsai wrote: >> >Hi, >> > >> >On Mon, Jun 13, 2016 at 1:55 AM, Hans de Goede <hdegoede@xxxxxxxxxx> wrote: >> >>The inet86dz board is a board used in 7" tablets from various oems. >> >> >> >>These tablets are a23 based 7" tablets featuring a 1024x600 LCD, >> >>512MB RAM, 4G NAND, rtl8188etv usb wifi, gsl1680 touchschreen, >> >>micro-sd slot, 3.5mm headphone jack and a micro-usb otg connector >> >>which doubles as charging port. >> > >> >This seems awfully similar to the sun8i-a23-q8-tablet, any reason >> >not to include that or sun8i-q8-common.dtsi? >> >> So to answer this both for this board and for the Polaroid MID2407PXE03 >> one, these are not q8 tablets, they are not using the standard q8 casing >> at least. So using q8 for them would seem to be a bit confusing to users >> and figuring out how to do proper autodetect is already hard enough without >> throwing these into the mix too. >> >> OTOH you are right that there is a lot of code duplication here. Since I >> plan to start working on touchscreen autodetect soon-ish, let me see how >> that goes first. > > For reference, I'm not really against having similar boards having > similar-yet-duplicated DT. This is just data, and sometimes trying to > factorise things also make it less trivial and easy to understand. It seems most if not all Allwinner based tablets use the reference design Allwinner provides. The design specifies how components are connected, what models could be used, etc.. Maybe we could rename sun*i-q8-common to sun*i-reference-design and use that? We'd still have board.dts files including it, and providing the board name. ChenYu >> Maxime can you drop the Polaroid MID2407PXE03 patch for now ? > > Done. > > Thanks, > Maxime > > -- > Maxime Ripard, Free Electrons > Embedded Linux, Kernel and Android engineering > http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html