From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Tue, 12 Mar 2013 11:41:19 -0600 Subject: [U-Boot] [PATCH] Tegra114: Dalmore: Add pad config tables/code based on pinmux code In-Reply-To: <1363104552-30065-1-git-send-email-twarren@nvidia.com> References: <1363104552-30065-1-git-send-email-twarren@nvidia.com> Message-ID: <513F68BF.9020206@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 03/12/2013 10:09 AM, Tom Warren wrote: > Pad config registers exist in APB_MISC_GP space, and control slew > rate, drive strengh, schmidt, high-speed, and low-power modes for > all of the pingroups in Tegra30. This builds off of the pinmux > way of constructing init tables to configure select pads (SDIOCFG, > for instance) during pinmux_init(). > > Currently, no padcfg entries exist. SDIO3CFG will be added when the > MMC driver is added as per the TRM to work with the SD-card slot on > Dalmore E1611. Much of the pinmux driver code here is common with Tegra30. We should at least file a bug to move it to a common file at some point. > diff --git a/arch/arm/include/asm/arch-tegra114/pinmux.h b/arch/arm/include/asm/arch-tegra114/pinmux.h > +#define PGRP_SLWF_NONE -1 > +#define PGRP_SLWF_MAX 3 > +#define PGRP_SLWR_NONE PGRP_SLWF_NONE > +#define PGRP_SLWR_MAX PGRP_SLWF_MAX > + > +#define PGRP_DRVUP_NONE -1 > +#define PGRP_DRVUP_MAX 127 > +#define PGRP_DRVDN_NONE PGRP_DRVUP_NONE > +#define PGRP_DRVDN_MAX PGRP_DRVUP_MAX There seems to be some mixed use of TABs/spaces there. Feel free to fix up when you apply it. Aside from that, Reviewed-by: Stephen Warren