Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ADC9EC7EE23 for ; Thu, 8 Jun 2023 17:09:54 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AF0A7857D1; Thu, 8 Jun 2023 19:09:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="lMiyYgGy"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E21C7857D5; Thu, 8 Jun 2023 19:09:49 +0200 (CEST) Received: from mail-yb1-xb32.google.com (mail-yb1-xb32.google.com [IPv6:2607:f8b0:4864:20::b32]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4E6B48537D for ; Thu, 8 Jun 2023 19:09:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-yb1-xb32.google.com with SMTP id 3f1490d57ef6-bacfb7acdb7so943330276.0 for ; Thu, 08 Jun 2023 10:09:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1686244185; x=1688836185; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=JYUptXufI5JUuloEyZllkNsB0DIsWcb1PQmX4o3MQgM=; b=lMiyYgGyrQD0KwYJumj7yJSKopIcQFW8KNjcB3e1MZriRWKREFyh7tQXAoVMJP7S8B XVSGaJwzwoPwlwjCWWl7RTAyWVvFM1IX25c/o/XGa7KCJf17AoPt04rBP/AlwBbL6Xn6 8GQL6HGmjKHizlQTKIUYrcrmLMC/RwHlDhG2s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686244185; x=1688836185; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=JYUptXufI5JUuloEyZllkNsB0DIsWcb1PQmX4o3MQgM=; b=H164ObGvO/OaHjNPtEAqrghdvVzR0/Icm/juMa37DadjYgkcGvhqDI4jHjeYznSKav nt7MbpO9i65UVO/H3FWb2McPWv2vfdYXu5sZXpCiTAY+nJ6bsqdI9aqYEdZOP5ilijnM LeyaQq+EkHsAbYJTjaSl9z1+Yb/P4gAQuwutPQsfEUxczuDvaMt1+3YPJ9es0VoVIO7t YCh4JIM6xpDb074ZF9BHWy9FTJLqN1m8aE+tWmNZ7HMPwHyUQLVyfufbnvm/t0Clx/3l LTtooK8j9Hd1Cgh9yYQVnySwvaFEca7UDlrIB4tDW/QLJ9a/bAYjqYQY5DJVoWWAkb9J 7yNQ== X-Gm-Message-State: AC+VfDx+OT7j7WP/U+iXt4R1xGK190QO405tayxN7NvJ+9E8tDeS5/N+ lImvjXdeyXr2qNW4wLXV54/gHQ== X-Google-Smtp-Source: ACHHUZ5MSMF7nyNfCflNcgRwGYmF0e4uFpgJ93xIPVfE1oTx7O7QSCNPtkyUDJCRojrq+s/6LtxoSg== X-Received: by 2002:a25:2fcb:0:b0:b9e:3bea:ebbb with SMTP id v194-20020a252fcb000000b00b9e3beaebbbmr289127ybv.60.1686244183512; Thu, 08 Jun 2023 10:09:43 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-aed2-a4e0-63de-e182.res6.spectrum.com. [2603:6081:7b00:6400:aed2:a4e0:63de:e182]) by smtp.gmail.com with ESMTPSA id c5-20020a5b0145000000b00bb144da7d68sm374014ybp.13.2023.06.08.10.09.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Jun 2023 10:09:43 -0700 (PDT) Date: Thu, 8 Jun 2023 13:09:41 -0400 From: Tom Rini To: Svyatoslav Ryhel Cc: Tom Warren , Simon Glass , Jonas =?iso-8859-1?Q?Schw=F6bel?= , u-boot@lists.denx.de Subject: Re: [PATCH v5 4/7] board: asus: transformer: add ASUS Transformer T30 family support Message-ID: <20230608170941.GO1871110@bill-the-cat> References: <20230606071850.270001-1-clamor95@gmail.com> <20230606071850.270001-5-clamor95@gmail.com> <20230606191944.GA1357306@bill-the-cat> <9897DF6B-820C-418D-83EA-A6770FF8ABB2@gmail.com> <20230606194723.GD1871110@bill-the-cat> <20230608164000.GN1871110@bill-the-cat> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gh5/c7PvsAbgt1FY" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean --gh5/c7PvsAbgt1FY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 08, 2023 at 07:54:54PM +0300, Svyatoslav Ryhel wrote: > =D1=87=D1=82, 8 =D1=87=D0=B5=D1=80=D0=B2. 2023=E2=80=AF=D1=80. =D0=BE 19:= 40 Tom Rini =D0=BF=D0=B8=D1=88=D0=B5: > > > > On Thu, Jun 08, 2023 at 06:11:57PM +0300, Svyatoslav Ryhel wrote: > > > =D0=B2=D1=82, 6 =D1=87=D0=B5=D1=80=D0=B2. 2023=E2=80=AF=D1=80. =D0=BE= 22:47 Tom Rini =D0=BF=D0=B8=D1=88=D0=B5: > > > > > > > > On Tue, Jun 06, 2023 at 10:40:53PM +0300, Svyatoslav Ryhel wrote: > > > > > > > > > > > > > > > 6 =D1=87=D0=B5=D1=80=D0=B2=D0=BD=D1=8F 2023 =D1=80. 22:19:44 GMT+= 03:00, Tom Rini =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0= =D0=B2(-=D0=BB=D0=B0): > > > > > >On Tue, Jun 06, 2023 at 10:18:47AM +0300, Svyatoslav Ryhel wrote: > > > > > > > > > > > >> The ASUS Transformer T30 family are 2-in-1 detachable tablets > > > > > >> and AiO developed by ASUS that run the Android operating system > > > > > >> (TF600T runs Windows RT and P1801-T runs Android and Windows). > > > > > >> The T30 Transformers feature a 10.1-inch display (apart P1801-= T), > > > > > >> an Nvidia Tegra 3 quad-core chip, 1/2 GB of RAM, and 16/32 GB = of > > > > > >> storage. Transformers board derives from Nvidia Cardhu develop= ment > > > > > >> board. > > > > > >> > > > > > >> This patch brings support for 7 known Transformer devices: > > > > > >> - ASUS Transformer Prime TF201 > > > > > >> - ASUS Transformer Pad TF300T/TF300TG/TF300TL > > > > > >> - ASUS VivoTab RT TF600T (Windows RT based) > > > > > >> - ASUS Transformer Infinity TF700T > > > > > >> - ASUS Transformer AiO P1801-T > > > > > >> > > > > > >> Tested-by: Andreas Westman Dorcsak # all de= vices > > > > > >> Signed-off-by: Svyatoslav Ryhel > > > > > >> --- > > > > > >> arch/arm/dts/Makefile | 7 + > > > > > >> arch/arm/dts/tegra30-asus-p1801-t.dts | 17 + > > > > > >> arch/arm/dts/tegra30-asus-tf201.dts | 9 + > > > > > >> arch/arm/dts/tegra30-asus-tf300t.dts | 18 + > > > > > >> arch/arm/dts/tegra30-asus-tf300tg.dts | 9 + > > > > > >> arch/arm/dts/tegra30-asus-tf300tl.dts | 9 + > > > > > >> arch/arm/dts/tegra30-asus-tf600t.dts | 89 +++++ > > > > > >> arch/arm/dts/tegra30-asus-tf700t.dts | 13 + > > > > > >> arch/arm/dts/tegra30-asus-transformer.dtsi | 211 ++++++++++ > > > > > >> arch/arm/mach-tegra/tegra30/Kconfig | 5 + > > > > > >> board/asus/transformer-t30/Kconfig | 23 ++ > > > > > >> board/asus/transformer-t30/MAINTAINERS | 6 + > > > > > >> board/asus/transformer-t30/Makefile | 11 + > > > > > >> .../pinmux-config-transformer.h | 365 +++++++++= +++++++++ > > > > > >> .../transformer-t30/transformer-t30-spl.c | 41 ++ > > > > > >> board/asus/transformer-t30/transformer-t30.c | 201 ++++++++++ > > > > > >> configs/p1801-t.config | 2 + > > > > > >> configs/tf201.config | 2 + > > > > > >> configs/tf300t.config | 2 + > > > > > >> configs/tf300tg.config | 2 + > > > > > >> configs/tf300tl.config | 2 + > > > > > >> configs/tf600t.config | 4 + > > > > > >> configs/tf700t.config | 2 + > > > > > >> configs/transformer_t30_defconfig | 85 ++++ > > > > > > > > > > > >Sorry for not noticing this part sooner. Looking in the kernel, > > > > > >arch/{riscv,powerpc}/Makefile both provide examples of how to au= tomate > > > > > >generating the resulting defconfigs directly. I think we really = want > > > > > >that, and also the config fragments need to be listed in the MAI= NTAINERS > > > > > >file. > > > > > > > > > > Not sure if adding this is a good idea, plus adding fragments into > > > > > MAINTAINERS may cause even more issues. Iirc buildman uses it as a > > > > > config source and defining multiple fragments may fail not only f= or > > > > > boards under question, but those, already existing in u-boot, as = well. > > > > > > > > If this causes buildman problems then we'll need to figure out > > > > something, but it shouldn't. > > > > > > Adding fragments into MAINTAINERS does not cause issues but seems to > > > not have any effect either. > > > > Well, get_maintainers.pl will now report who owns them, which it didn't > > before, yes? > > >=20 > It does report me if get_maintainers.pl is used anyway, even if no > files are specified in MAINTAINERS As maintainer, or as git heuristics? But all the same, the rule about defconfigs needing to be in MAINTAINERS entires should extend to config fragments. > > > > > Issue is not in the arch dir to tweak arch's makefile, fragments = are > > > > > used by some boards and issue lays in omitting their existence by > > > > > system of autobuild. > > > > > > > > Yes, and I'd like to set some good examples for the first config > > > > fragments we're adding as I suspect you're the first person to noti= ce > > > > this works (as a feature not a happenstance) and others will make m= ore > > > > use if it for more than a few changes. So I'd like to get things g= oing > > > > in the right direction. > > > > > > May you specify more, what do you exactly want from me to change. > > > > Well, as this just came up on the IRC channel as well as someone else > > noticed fragments work, it would be nice to figure out what needs to > > be added so they can live in $(BOARDDIR) if possible. Or something that > > doesn't cause a further explosion of files in configs/ (which is already > > unwieldy). >=20 > I see your point but it is definitely beyond this patchset cover. Yes, it's not stopping this first patch-set. > > > > > >I also worry that none of these other configs will be caught by = buildmn > > > > > >and so won't be in CI at all, just the base. Which isn't a big = problem, > > > > > >yet, but could be as more people use config fragments. I'm just = noting > > > > > >this secondary part and not saying you need to fix that as well. > > > > > > > > > > > > > > > > Buildman indeed is not catching any fragments, which already caus= ed me issues since defconfigs are not as generic as I would like to (since = else I get a big chunk of checks failed). > > > > > > > > > > A good solution might be to tweak buildman to accept fragments if= any are defined in the dedicated field of MAINTAINERS file. But that would= be a major patchset to implement on the entire project scale. > > > > > > > > Yes, I'm not sure how best to deal with fragments to start with, for > > > > buildman. But we don't need to solve that today for this series, > > > > either. > > > > > > > > > > Does this patchset require any additional changes to be accepted? Have > > > in mind that most likely there will be more patchsets for > > > transformers. > > > > To be clear, it needs the CI issues that I pointed out in Tom W's pull > > request to be fixed. >=20 > This was done in v5 iteration. I have fixed CI issues you have pointed > to. Hopefully, how checks pass. Were you able to use GitHub / Azure to get a round of CI run? --=20 Tom --gh5/c7PvsAbgt1FY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmSCC1EACgkQFHw5/5Y0 tyzIQwv/fAXJ/AwpXwkTpA6eUCIxSznO2hUanTjLCrC63hkHeG02hXdbzIVcPE0d TA6zBiolZoh6simti0LZAh0W0dz/nz8FDcqIkWB0LUH/0vtwnDllEe+VOBY9LAc/ oNPRM0CUfCz55suq1/+V52XsS72XhuJlTdI3xsl8sp0EcB7JJfHztSZx8R5lVZfX YBa6Yb1EBGOfgUeW9WLRJWBqvEKHhZ15WeeQtRQTli3CYngcZFIiZpCdPzSlKTTG cPDXEaB62jthLi+ytjE5reDMxjY+sAQkwQpVR7daGwHFTq/R6C5fIVEaiETNWM8p eXLvZu4UcxrZI4YxJQAQaf7hECZ7smnfSBb2NwR/Gi1m/+cNhJzQlHzAD4DK2PHl maKKTT+9kbnHsCGXCiex34y7HGd25/NbH/4JhVI+cVb3l6rXUrKJPsFxPHXU//kD EeXZMs5K1hgeT3UMSMfZIAKmN996OWpTfLTilovEylxJgAvjNYlnEYHJS0JczJqZ zdY1JEvo =5OVl -----END PGP SIGNATURE----- --gh5/c7PvsAbgt1FY--