Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753659AbbBYPZ0 (ORCPT ); Wed, 25 Feb 2015 10:25:26 -0500 Received: from mail-we0-f179.google.com ([74.125.82.179]:39159 "EHLO mail-we0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752671AbbBYPZV (ORCPT ); Wed, 25 Feb 2015 10:25:21 -0500 Date: Wed, 25 Feb 2015 15:25:09 +0000 From: Lee Jones To: micky_ching@realsil.com.cn Cc: sameo@linux.intel.com, devel@linuxdriverproject.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, rogerable@realtek.com, wei_wang@realsil.com.cn Subject: Re: [PATCH v3 4/9] mfd: rtsx: update driving settings Message-ID: <20150225152509.GP5132@x1> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1934 Lines: 61 On Wed, 25 Feb 2015, micky_ching@realsil.com.cn wrote: > From: Micky Ching > > update card drive settings, This setting can be used for rts5249 > rts524A and rts525A. > > Signed-off-by: Micky Ching > Acked-by: Lee Jones > --- > drivers/mfd/rts5249.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) Applied, thanks. > diff --git a/drivers/mfd/rts5249.c b/drivers/mfd/rts5249.c > index 225ad55..2fe2854 100644 > --- a/drivers/mfd/rts5249.c > +++ b/drivers/mfd/rts5249.c > @@ -36,16 +36,16 @@ static u8 rts5249_get_ic_version(struct rtsx_pcr *pcr) > static void rts5249_fill_driving(struct rtsx_pcr *pcr, u8 voltage) > { > u8 driving_3v3[4][3] = { > - {0x11, 0x11, 0x11}, > + {0x11, 0x11, 0x18}, > {0x55, 0x55, 0x5C}, > - {0x99, 0x99, 0x92}, > - {0x99, 0x99, 0x92}, > + {0xFF, 0xFF, 0xFF}, > + {0x96, 0x96, 0x96}, > }; > u8 driving_1v8[4][3] = { > + {0xC4, 0xC4, 0xC4}, > {0x3C, 0x3C, 0x3C}, > - {0xB3, 0xB3, 0xB3}, > {0xFE, 0xFE, 0xFE}, > - {0xC4, 0xC4, 0xC4}, > + {0xB3, 0xB3, 0xB3}, > }; > u8 (*driving)[3], drive_sel; > > @@ -341,7 +341,7 @@ void rts5249_init_params(struct rtsx_pcr *pcr) > > pcr->flags = 0; > pcr->card_drive_sel = RTSX_CARD_DRIVE_DEFAULT; > - pcr->sd30_drive_sel_1v8 = CFG_DRIVER_TYPE_C; > + pcr->sd30_drive_sel_1v8 = CFG_DRIVER_TYPE_B; > pcr->sd30_drive_sel_3v3 = CFG_DRIVER_TYPE_B; > pcr->aspm_en = ASPM_L1_EN; > pcr->tx_initial_phase = SET_CLOCK_PHASE(1, 29, 16); -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/