Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3978604rdb; Thu, 14 Sep 2023 08:18:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFR1lGxWlKiymr4Dv6gKTHlIh+tIzj+Dcfziwje15Y+e6QCQ6STh5lN9inkBJWciM2HSA7E X-Received: by 2002:a92:c26f:0:b0:34b:ba9f:679c with SMTP id h15-20020a92c26f000000b0034bba9f679cmr7365448ild.16.1694704724826; Thu, 14 Sep 2023 08:18:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694704724; cv=none; d=google.com; s=arc-20160816; b=wMnOX+APRM7FLxC9xgKNY18dfP1nGFYUY1nptK96ksrdlSowAez2LN+6pSO4I8UPzm rUjHmSNvwxnRYYncXhUSW0biQ1rO9xleMHTePKrBCr+AFoNfh1gMM+elMY0nOhmdusbs zsNn9sZ9xHoBccIulvj/5P2++vF09aRCFsfWzFyj812d2Qcm0ZGmxEpRrrmLO6TXoRfH acAH80qGaPZlD/sLJoMM+T21Y0O/uEVwvLUC1SoGJe00o+/BZcf/+YUjwqA/464iuCFL yuCvBMMeVncuhw+EqpPTH+X7WWWi8cCDK3fMIz0gcJly/rAykJ95RdYfBgQ5En9N1Zev JDsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=GgpTo8R8cmbn0NQ4Vlj56EaTvnRjrAgeOGC10HJRtqo=; fh=+DZEtM74i4FPxbdgCv25Poh6fot3gDjyPxdp4y477oI=; b=PaU3rbpfzyVXMhCy6T2Yu51ZjuMk/TilFSkIqb5pssbYOCXswlAoH3YQyNQr0IFqro vgeO7IeYeTUjWBKsh1An1dkR052gIR57yUuIpP8Fxvw3qrK2zPqmbatLfXY44Dua4XBv 671e3PtoJgMb4mvhUTOzzmVfe4aeoHCrD6/DSyj2NX2zaUkjSv+wzgRS/osMH4LBC2nD IgzB2rZDC2emNWYC1d3BN/egIQUMYSKm5siNTs2zBECqJNdYJwLmD1ItCbY1U+zaZe3t 36lFGAdVspg82ns+ueqWWk1YPBqLl5sOigxEPGI8B/63yrZuc4ecYqJsL2rWIq2zR4sq zY0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Hpnb+hzC; 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 m1-20020a656a01000000b00564bfbb19easi1889629pgu.472.2023.09.14.08.18.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 08:18:44 -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=Hpnb+hzC; 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 640EA833D54E; Thu, 14 Sep 2023 01:48:40 -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 S230234AbjINIsk (ORCPT + 99 others); Thu, 14 Sep 2023 04:48:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235976AbjINIsj (ORCPT ); Thu, 14 Sep 2023 04:48:39 -0400 Received: from mail-yw1-x1129.google.com (mail-yw1-x1129.google.com [IPv6:2607:f8b0:4864:20::1129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 712FC91 for ; Thu, 14 Sep 2023 01:48:35 -0700 (PDT) Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-59bdb3d03b1so7919707b3.3 for ; Thu, 14 Sep 2023 01:48:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694681314; x=1695286114; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=GgpTo8R8cmbn0NQ4Vlj56EaTvnRjrAgeOGC10HJRtqo=; b=Hpnb+hzCSPUIOqPD4GZnNXO4j/huzhreLOqE3+VvJtlU3+u+wzM+3y7+NQ4skzhusL EYcEZWrEewd7OMmdei5lTA8u60e0lalUqu1J7RH4jiwtmfPDfdLRlK2nXe6e6nNusMfE c2/cdGQdIRn++9ofjsiCVm6mhSUebkxCu6iI5UEJvc+icbTSW5Ud8jR5GuwG+iUJDFna 8a7g82bpE0KR8pI5Cqnwu76bfxY5Dcay29OqhmLJIwJyPYfWfeEMD+eC/Dety52VmCXR Y8UJqDc7njr2UMzE+4v7c1AElL9U7QCMuXTaGZP2ooWxKrpCAH3D351AB4WHRrGVHNZi ca2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694681314; x=1695286114; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GgpTo8R8cmbn0NQ4Vlj56EaTvnRjrAgeOGC10HJRtqo=; b=mVw8A0rrB88M9Mrsczqi3YjUzpIycJNY89CwrcDUZpvzlEu8muqD1RCMM5Mdao7AjH Q9StbZswtPNjSW4npZ2oXt+fn4+JL+gUs9H4kNKcxhobHKifftEKe19VO9YReLpefsVm G13A43nvOjPj6ghEAicGA7l+KZkJcEHpnQQFuGw+IRKZaaWO5zqE/IqRRdxTtAT8bg5i JGBHj2xqUakCQeVo/7iGUMQZK4Szv/aoNQAzrUJdJQl/6dKMg8M0+8dweI2Z65zbF3N+ NGCrTJR6tdfUrtoC2/OP879t42OmKx3LldoiJueQnt37o4925Lia3ZlmAyhnc0ziKNj8 Ph3w== X-Gm-Message-State: AOJu0YwU9gd+3BWsNlDMJzX/+lx3i7maPFB/7xlQPiolKNrTFskRNRTE 46OXnbmdVTArg9gUVkmbGRBIXZKI2jxqWCB2c8ck/A== X-Received: by 2002:a0d:f604:0:b0:589:e4aa:7b67 with SMTP id g4-20020a0df604000000b00589e4aa7b67mr4381748ywf.41.1694681314700; Thu, 14 Sep 2023 01:48:34 -0700 (PDT) MIME-Version: 1.0 References: <20230914-vf610-gpio-v1-0-3ed418182a6a@nxp.com> <20230914-vf610-gpio-v1-3-3ed418182a6a@nxp.com> In-Reply-To: From: Linus Walleij Date: Thu, 14 Sep 2023 10:48:23 +0200 Message-ID: Subject: Re: [PATCH 3/5] gpio: vf610: add i.MX8ULP of_device_id entry To: Krzysztof Kozlowski Cc: "Peng Fan (OSS)" , Bartosz Golaszewski , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stefan Agner , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 01:48:40 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 Thu, Sep 14, 2023 at 7:48=E2=80=AFAM Krzysztof Kozlowski wrote: > On 14/09/2023 04:20, Peng Fan (OSS) wrote: > > From: Peng Fan > > > > i.MX8ULP supports two interrupts, while i.MX7ULP supports one interrupt= . > > So from hardware perspective, they are not compatible. > > > > So add entry for i.MX8ULP. > > > > Signed-off-by: Peng Fan > > --- > > drivers/gpio/gpio-vf610.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/gpio/gpio-vf610.c b/drivers/gpio/gpio-vf610.c > > index dbc7ba0ee72c..88f7215cdf4b 100644 > > --- a/drivers/gpio/gpio-vf610.c > > +++ b/drivers/gpio/gpio-vf610.c > > @@ -67,6 +67,7 @@ static const struct fsl_gpio_soc_data imx_data =3D { > > static const struct of_device_id vf610_gpio_dt_ids[] =3D { > > { .compatible =3D "fsl,vf610-gpio", .data =3D NULL, }, > > { .compatible =3D "fsl,imx7ulp-gpio", .data =3D &imx_data, }, > > + { .compatible =3D "fsl,imx8ulp-gpio", .data =3D &imx_data, }, > > Why? It is the same as imx7. No need. Because compatible =3D "fsl,imx7ulp-gpio" is not what is going to be in the device tree, but compatible =3D "fsl,imx8ulp-gpio"? What am I missing here? Maybe the commit message is weird. Yours, Linus Walleij