From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Date: Mon, 29 Dec 2014 13:36:13 +0000 Subject: [U-Boot] [PATCH 07/17] sunxi: video: Modify sunxi_lcdc_pll_set to work with both tcon0 and tcon1 In-Reply-To: <1419447989-21959-8-git-send-email-hdegoede@redhat.com> References: <1419447989-21959-1-git-send-email-hdegoede@redhat.com> <1419447989-21959-8-git-send-email-hdegoede@redhat.com> Message-ID: <1419860173.13595.76.camel@hellion.org.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, 2014-12-24 at 20:06 +0100, Hans de Goede wrote: > Modify sunxi_lcdc_pll_set to work with both tcon0 and tcon1, this is a > preparation patch for adding lcd support. > > While at it also swap the divider search order, searching from low to > high, as the comment above the code says we should do. In cases where there > are multiple solutions this will result in picking a lower pll clock and > divider, which is more stable and saves power. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell