From: Lucas Stach Date: Fri, 25 Jan 2013 22:57:34 +0100 Subject: [U-Boot] [PATCH 06/11] tegra20: switch over seaboard and ventana to use tablebased pinmux In-Reply-To: References: <1359046100-19385-1-git-send-email-dev@lynxeye.de> <1359046100-19385-7-git-send-email-dev@lynxeye.de> <1359051762.1540.70.camel@tellur> <1359149898.1540.86.camel@tellur> Message-ID: <1359151054.1540.90.camel@tellur> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am Samstag, den 26.01.2013, 10:49 +1300 schrieb Simon Glass: [...] > > But yes in the end we want to pack this information into the DT files. > > But even then it would be nice if people would test this pachset, as I > > imagine DT based pinmux is the same as tablebased pinmux, just in a > > slightly different flavour. ;) So if people test the tablebased config > > now, we can do the conversion to DT based with a lot more confidence. > > > > I'll look into using the kernel pinmux binding minus the MUX stuff, as I > > think there's no real reason to have this in U-Boot. > > Well I would rather than we get that running than switch to > table-driven mux, assuming it is not too big a job? > > I imagine perhaps naively that a function could be written which > parses the pinmux and sets it up in U-Boot - effectively using the FDT > as the pinmux table. That's my plan. But still even if we keep the binding the same, the actual pinmux config would differ between the kernel and U-Boot (a lot more pads kept in tristate in U-Boot). So as the FDT would effectively resemble the same tables I included in this patchset, some testing coverage of that would smoothen the transition. Regards, Lucas