Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3830317rdb; Thu, 14 Sep 2023 04:11:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF6aEQcbro6PWogGAev3vi564D9UEpnfPSz2ifF+8V0BYAvLG17xoegsleLxqY9Mocje49I X-Received: by 2002:a05:6358:9992:b0:135:43da:b16d with SMTP id j18-20020a056358999200b0013543dab16dmr6096624rwb.11.1694689895965; Thu, 14 Sep 2023 04:11:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694689895; cv=none; d=google.com; s=arc-20160816; b=jjN+090XOqEo3LCCuBktpDdDa48EfOKHqe1enw7qpYr0QV7SMsLH9NmoqrIYMFoqlr BuaX1xj1GIiPMl5wHi79zSgSkm1gFF/kDAhJxio0E3q/t68/myNu+4QadVuAUnryJqRT BKHvW9IvplEB/dkkq2FduRREpMc7ei+j6cUhTawf2GpMcayHZ/wmkqI8Rrf1TRq1lr1D RqYU0YWpxDMtXVeIacuFtkpEo3q6ax4vGPBk6AiQQ0l/Ajiz67ysS3wEKrgrgSKCiMWU SDEV6ayGEaSaSw0ZqJeBLW75j1EHAhJxBiEpYjNPkBN3+USLBoOYb7O30RMgm+kT1dBa tkTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=5h0ZuDwh1rf6DxeXFX2hTo7zsJWLjsfMyXea4lnDesA=; fh=KOq3r4/Ja+sWVWkb4q1yQdh8J2biYQArJ3ctq5bTx0U=; b=LF/vBiPPLYYdE0NTvSeMHIQMPTJvPXlj+458Xi/Si0H4T8EYwdZS7mCYK3Sae9HyCB O9VikVyoc1Z2lGV8LvQ1BGrCyqBXslTBaev/Y89QNXcvatAlEoaUasy/lUYqkjYk/830 23AuakzOpalQmBlLNJh4BM22y/ro3DS8xxQB8gPa6OqO6UXvBRZA90cf9iykTruKVeM0 UDztt33x9B2mMMd7LQqJlrEGhiKjs7A/jdsTQUpxX0UAgpjAyKfBqo5UZGgQOVr0bRcG zyNx2FMeX5O6c18A9hzucIEPJfvz1btZZiWMEGLYyz8nA/ciPNl6XGqrxRaJAjEzze3Y 4k9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yn+Mq0Gw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id l62-20020a639141000000b00569465f387dsi1336058pge.161.2023.09.14.04.11.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 04:11:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yn+Mq0Gw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id F22A380B9096; Thu, 14 Sep 2023 00:11:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235856AbjINHL0 (ORCPT + 99 others); Thu, 14 Sep 2023 03:11:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233039AbjINHLZ (ORCPT ); Thu, 14 Sep 2023 03:11:25 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C559CCF1 for ; Thu, 14 Sep 2023 00:11:20 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-401da71b83cso6589955e9.2 for ; Thu, 14 Sep 2023 00:11:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694675479; x=1695280279; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=5h0ZuDwh1rf6DxeXFX2hTo7zsJWLjsfMyXea4lnDesA=; b=yn+Mq0Gwxu96XJ0pRlPE3ZHPPEMARv/MUIyxzg9ZjQ2x+eC0yl9G7ybGOtO1VzxmSM 2RTK+7Kgtk6ZhpVU/Rto5VGGttTUp6H++SQ8IX0g913daaZddSqOoQ7zQQWb0cMS7kNe C+4sHCLoPUzbc9pLMaqgygkM9i+GaAyJM8BcW6pE4v/i3yAXAakSrhdva8O0wsuU/Qzj uKhVYEr1fg5xNMUXvdJxuldXbXey2m5B1qW+5SDWbZQjYnSfxV4V5WOEvCR9b2CRzBMr zoXIw5n8YARfWt4/OgICDrFkUOw16zgiaTyLWzdD36RHxqLhxB6X2Dn7ZB/gBtPUO3Py c1Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694675479; x=1695280279; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5h0ZuDwh1rf6DxeXFX2hTo7zsJWLjsfMyXea4lnDesA=; b=iNm6vPYeVNWHaWp/vFHu7VqsR8T3XAeofjGTu4z2/CqD7UaecXNn/zYJZhZ/dgxfQv aKiV4Ew2OhHnGdpZC4c7Y73CYkbaGep4JF2h1Q/BfIe8YY+1aWDgwyDXizATFasNMePh 0vSEeSPa+yAKB/5yhLqzzNFDu4ezUa1cou35sPqrkW7HTixc2me9JpYeNRhX9hcIVjwV RAFYqYp4blKQs1UiOLLFYtd/tJLHjzKwBy8LJA0UD0vluRRNBW8yTbM7tHPfbnKFXztv ZC/QIejipfXqLZV5RNKTYK655hkoDazkaM+PnZuCWpp71HIg8nW0E1T3aiEk7d02xSF/ NeAw== X-Gm-Message-State: AOJu0YyMkcql1dsMbrSaexD0Ac/lc3xF6/XZmq0D8bojZhuXWWbO+lCo T4lR5vH8+hrVmH0jWGKtZqzw1Q== X-Received: by 2002:adf:ee08:0:b0:319:8c35:37b with SMTP id y8-20020adfee08000000b003198c35037bmr4177430wrn.7.1694675479125; Thu, 14 Sep 2023 00:11:19 -0700 (PDT) Received: from [192.168.1.20] ([178.197.214.188]) by smtp.gmail.com with ESMTPSA id m6-20020adfe946000000b0031980783d78sm918742wrn.54.2023.09.14.00.11.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Sep 2023 00:11:18 -0700 (PDT) Message-ID: Date: Thu, 14 Sep 2023 09:11:16 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: [PATCH 5/5] arm64: dts: imx93: update gpio node To: Peng Fan , "Peng Fan (OSS)" , Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stefan Agner , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , dl-linux-imx Cc: "linux-gpio@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" References: <20230914-vf610-gpio-v1-0-3ed418182a6a@nxp.com> <20230914-vf610-gpio-v1-5-3ed418182a6a@nxp.com> <9fc4817d-00ae-aaf4-bfb6-b24361f55799@linaro.org> Content-Language: en-US From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 14 Sep 2023 00:11:39 -0700 (PDT) X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email On 14/09/2023 08:53, Peng Fan wrote: >> Subject: Re: [PATCH 5/5] arm64: dts: imx93: update gpio node >> >> On 14/09/2023 08:04, Peng Fan wrote: >>>> Subject: Re: [PATCH 5/5] arm64: dts: imx93: update gpio node >>>> >>>> On 14/09/2023 04:21, Peng Fan (OSS) wrote: >>>>> From: Peng Fan >>>>> >>>>> Per binding doc, i.MX93 GPIO supports two interrupts, and not >>>>> compatible with i.MX7ULP. So update the node >>>>> >>>>> Signed-off-by: Peng Fan >>>>> --- >>>>> arch/arm64/boot/dts/freescale/imx93.dtsi | 20 ++++++++++++-------- >>>>> 1 file changed, 12 insertions(+), 8 deletions(-) >>>>> >>>>> diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi >>>>> b/arch/arm64/boot/dts/freescale/imx93.dtsi >>>>> index 6f85a05ee7e1..011c34a57c53 100644 >>>>> --- a/arch/arm64/boot/dts/freescale/imx93.dtsi >>>>> +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi >>>>> @@ -825,11 +825,12 @@ usdhc3: mmc@428b0000 { >>>>> }; >>>>> >>>>> gpio2: gpio@43810080 { >>>>> - compatible = "fsl,imx93-gpio", "fsl,imx7ulp-gpio"; >>>>> + compatible = "fsl,imx93-gpio", "fsl,imx8ulp-gpio"; >>>> >>>> As your driver change points, it is breaking users, so no :( >>> >>> ok. Although i.MX93 GPIO is not compatible with i.MX7ULP from HW >>> perspective, the compatible string should keep as it is now and >>> binding >> >> If it is not compatible, then how could it work before? > > i.MX7ULP reg: > 0h Port Data Output Register (PDOR) > 4h Port Set Output Register (PSOR) > 8h Port Clear Output Register (PCOR) > Ch Port Toggle Output Register (PTOR) > 10h Port Data Input Register (PDIR) > 14h Port Data Direction Register (PDDR) > > i.MX8ULP/93 has different registers address, but > i.MX93 registers has 0x40 off as below: > 40h Port Data Output (PDOR) > > Even linux i.MX7ULP gpio driver could work with i.MX8ULP/93 > GPIO HW with dts node using an 0x40 offset + base addr > for i.MX93 gpio. I think from hw design, they are > not compatible. Besides the upper differences, > there are other differences. Sorry, I don't understand it. I asked how could they work before in Linux, if they are not compatible, and you pasted regs. So again - if they are not compatible, how could it work? Or maybe it never worked? But then commit msg would say it. Best regards, Krzysztof