Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5D333C433F5 for ; Sun, 30 Jan 2022 13:10:12 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C1240811B3; Sun, 30 Jan 2022 14:10:09 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=akkea.ca Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=akkea.ca header.i=@akkea.ca header.b="qWJF2bBv"; dkim=pass (1024-bit key) header.d=akkea.ca header.i=@akkea.ca header.b="E6/wIk53"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 83D2182FA3; Sun, 30 Jan 2022 14:10:08 +0100 (CET) Received: from node.akkea.ca (li1434-30.members.linode.com [45.33.107.30]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4AF77811B3 for ; Sun, 30 Jan 2022 14:10:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=akkea.ca Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=angus@akkea.ca Received: from localhost (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id BFF664E200C; Sun, 30 Jan 2022 13:10:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1643548200; bh=HxJFdHEjT3S3WtqCYouOaRRvCO0nKz5D+omPeWnH6DM=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=qWJF2bBv8Q6aaQ2hJiWOH1ZbgHaqyf2S0GSj2OZHvDX4Mq9SlENK8uKfI08u/aGBK lRNiyjzT202xL1M6fTSbLHZzd6WePAUtYgkUC93BTmXp1y+AeYG2v8jf5yfERDiprS t/2cuN0vCxaav2dvkugTYk+1MdpO1SgiyiX9BeFw= Received: from node.akkea.ca ([127.0.0.1]) by localhost (mail.akkea.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id APj-O6fiMKLA; Sun, 30 Jan 2022 13:09:59 +0000 (UTC) Received: from www.akkea.ca (li1434-30.members.linode.com [45.33.107.30]) by node.akkea.ca (Postfix) with ESMTPSA id CEC4C4E2003; Sun, 30 Jan 2022 13:09:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1643548199; bh=HxJFdHEjT3S3WtqCYouOaRRvCO0nKz5D+omPeWnH6DM=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=E6/wIk53KIOK4txsEBhIaHxJ4zrY4aj9K4g1k5ykMDljaQzonrvo5j6D15g3wJ0Eo WF/Iv3JngAhwVxGKteWW2bxuqdS9cw71G/a1+4i8X6fUtCGaJXsEXskV8nlKYtPDcO 2vkPXb6I8JixcAzj472E4QEGhZqBaYv4WxjidFPY= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 30 Jan 2022 05:09:59 -0800 From: Angus Ainslie To: Fabio Estevam Cc: "NXP i.MX U-Boot Team" , Stefano Babic , U-Boot-Denx , kernel@puri.sm, Tom Rini Subject: Re: [PATCH] arm: dts: imx8mq-pinfunc: add a define for the SION bit In-Reply-To: References: <20220128162115.568582-1-angus@akkea.ca> Message-ID: <6c16a0f9d7bcee867ab8a1dc9c72cac3@akkea.ca> X-Sender: angus@akkea.ca User-Agent: Roundcube Webmail/1.3.6 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean Hi Fabio, On 2022-01-29 10:58, Fabio Estevam wrote: > Hi Angus, > > On Fri, Jan 28, 2022 at 1:21 PM Angus Ainslie wrote: >> >> SION (Software Input On Field) - force the select mode input path >> >> Signed-off-by: Angus Ainslie >> --- >> arch/arm/dts/imx8mq-pinfunc.h | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/arch/arm/dts/imx8mq-pinfunc.h >> b/arch/arm/dts/imx8mq-pinfunc.h >> index b94b02080a..b51e4faea5 100644 >> --- a/arch/arm/dts/imx8mq-pinfunc.h >> +++ b/arch/arm/dts/imx8mq-pinfunc.h >> @@ -7,6 +7,7 @@ >> #ifndef __DTS_IMX8MQ_PINFUNC_H >> #define __DTS_IMX8MQ_PINFUNC_H >> >> +#define IMX_PAD_SION 0x40000000 > > We want to keep this file in sync with Linux. > > If you need to pass IMX_PAD_SION in your board file, please use a > different header file. > I added this because I wanted to use it in the SPL. I can put it in the header file for my board but I think it would be better in an imx8m header file. If not the pinfunc header is there another imx8m header you could suggest ? > Also, can't you just set the sion bit via devicetree? The last time we > discussed this issue, there seemed to be a DT problem. > I can set the sion bit via the DT but I'm not using the DT n the SPL so it won't help much. Thanks Angus > Please let us know.