From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751697AbdITJpT (ORCPT ); Wed, 20 Sep 2017 05:45:19 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:37820 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751537AbdITJpR (ORCPT ); Wed, 20 Sep 2017 05:45:17 -0400 X-Auth-Info: WAtPkwrgOWWDRxJl2JzJYdrpL3pwJjyuS0vwk14nX/I= Subject: Re: [PATCH 1/2] dts: display5: Device tree description of LWN's DISPLAY5 board To: Fabio Estevam Cc: "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , Mark Rutland , Russell King , linux-kernel , Rob Herring , Sascha Hauer , Fabio Estevam , Shawn Guo References: <1505746765-965-1-git-send-email-lukma@denx.de> From: =?UTF-8?Q?=c5=81ukasz_Majewski?= Organization: DENX Message-ID: <3537f09b-be9d-0b43-0bec-87d08b43312f@denx.de> Date: Wed, 20 Sep 2017 11:45:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Fabio, > Hi Lukasz, > > On Wed, Sep 20, 2017 at 6:22 AM, Ɓukasz Majewski wrote: > >> Could you be more specific here? >> >> The 0x80000000 corresponds to IMX_NO_PAD_CTL in pinctrl-imx.c, which >> prevents from manual GPIO control. >> >> The 0x80000000 value is the IOMUXC_SW_PAD_CTL_PAD_CSI0_DATA11 (0x020E_0654) >> config data (16 bits only -> 0x0). >> >> Writing 0x0 to this register is perfectly fine for my application. >> >> >> I'm a bit in doubt to what I shall do more? > > As per the Reference Manual, the POR reset for > IOMUXC_SW_PAD_CTL_PAD_CSI0_DATA11 is 0x1b0b0. > > 0x80000000 tells the kernel to not touch this IOMUX and use whatever > value comes from the bootloader. > > If your bootloader does not touch this register, then you probably > read 0x1b0b0 from it. > > In this case, please do this instead: > > MX6QDL_PAD_CSI0_DAT11__GPIO5_IO29 0x1b0b0 > Ok. Thanks for explanation :-) -- Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de