Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2491758rbb; Wed, 28 Feb 2024 03:42:26 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWO6REnHhFikRLNnpAlT9FGyteLAsVob9vUwcZesCdMdMXgsF0om2SAjKlhrzj+OAyN+hyGpONa38GQp5ZKy2aOtid0I2I4yAyDRuevkg== X-Google-Smtp-Source: AGHT+IESWcB8uVpEWSjYj5+cBIWFvo1+LLeCZXzn0KV2Tp53qyH8qrwUXcGYDpxrMxidi4WoxS60 X-Received: by 2002:a05:6a20:c90e:b0:19e:c777:5c61 with SMTP id gx14-20020a056a20c90e00b0019ec7775c61mr5717766pzb.22.1709120545850; Wed, 28 Feb 2024 03:42:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709120545; cv=pass; d=google.com; s=arc-20160816; b=DQsIEJHpA7nwMXs2dMOo3PeApd9G1PgqCez5z4z7wOZmSKJh0LCllffTuvE2dPusm7 2tzGA6DO9NCp511smRPmOf9YWFE59CHqqxgfA+m1Xqv1MB0WYfIWplUXHxUXkrOwcWPx MmmeiLf1fUtI5KELK6LH4Zd6hSX+ZWFpSSwuiLE1MLWc8vb9mo4U0rLV5mvSLE0GS3s7 0K4rdwbbzTzpMnZJAjJjkdPMmHR+zXrzLkTvGAW89BdN1yIa9085NPRHIM2VDPQCNu1q eaM7Z440HAWXPsvCvkkv4LLe5MPGg/gspIjANI9n5gDGrGxC1Zag0DNqSjAAsGTxfuVs 7HqQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=uq0DPUf03GzjraZNzemqCpT91bjhZDBezLXQfKzg4vE=; fh=FEGj322JUxHP58NgFBs9atrc2KpQCnFuCu2ueZtAhdY=; b=DnQ2hiXBYuKTmP1DJogoj3PXBVaS/6I7A4LT+3ilTWkuJeEQ9OEmyYV2mz/PeSWhJp wAHkMIL1MG6uTIHNgMjzcRjYQtSznHUsBsNst5bx9F+m82ZhPRSFEZw2cUagXWw21ull GmwvumK8sL6S5JVMzftFN1PnW+8fnhgHz5RZG3jFbw4MkXQWs/Wr7ZFfEWxsVbUAZ33B z5ITob2VHO5ApQthcYSXxDlnzfL99Rr0RRS9FFGiM6LuuNSKbGByPBq2hbsyhjj8TFtT hnyURxaZk2WQEfT89xncFTRckyxs84whM8bFkgXCddQdxgWY4rhCOcCghzubamJDLhlD /wng==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="fnU/jrSR"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-84905-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84905-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id f11-20020a63dc4b000000b005d8b48044d3si7214173pgj.723.2024.02.28.03.42.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 03:42:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84905-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="fnU/jrSR"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-84905-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84905-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 105F7B2386F for ; Wed, 28 Feb 2024 11:36:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E5F7D15DBDD; Wed, 28 Feb 2024 11:28:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="fnU/jrSR" Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DCE7615CD47; Wed, 28 Feb 2024 11:28:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709119716; cv=none; b=kC3ZbyxVQrbTz6ChG5fDuAVZUZfWji59uKxLwedz7stAmencf++Wea5ogFdKXaJU6rhAHIvNZSqAWNXOKJ2LxOziPsgW2+JmEXxfkUpNS34oH6gdJAlonglpdjbPDLBpBaiH/wCFSJ+Se0fOTbvW6EVXhMUWO9/nOTUnuQYblr4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709119716; c=relaxed/simple; bh=HhFUuvndfjaSqasjWMz9GJl5r35qeCTPu7aLKxHaCKs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=PlehGudgEK6+yOAsZ9ak3GO901RWaibY2g80TbLsKSKcTdxFS3iLG7fXg+97G1J0eVCRwGwwSBYHiqhM0kwGWKOp9bYjJgwNemXDAZ2SgISsg/lJbwtG2fhJ/Vfg2SAYG+AW3potW1XZ94fzri9uzP6q4UHtyAZLP+shBmcaeDw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=fnU/jrSR; arc=none smtp.client-ip=217.70.183.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 9D08A1BF219; Wed, 28 Feb 2024 11:28:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1709119712; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uq0DPUf03GzjraZNzemqCpT91bjhZDBezLXQfKzg4vE=; b=fnU/jrSRHTXJIeUiDceVTbJn+etiOTYJRSX70xeikOILLIAPIOvbYImkwGsXD2wqqkUzLa ic2y0CYbLU1WJdSrXIuaoaxVt65L/4J8g8+TUFccGK55mUDIdvQRNo+M4dU4/5iIekvuqH W2v1LGfSfelivCnKvDuweW4aUBYw/tNfDjBRDQPXkRG7uoDS9iTBVwsKp1HC4S7xgYHlRq RiU7qE2WsQcUTN810F/80XjC5W3Z3T46rdL/UJxIX1+MEJr7t8kVgnE2QRzuuLWE06fgr5 ZCtYQmKkMgBPmF/J7NVlxo7XsoHZqLq5Ym59ccYxQ3qCQWyzMtPI7xxVOAMSjw== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Wed, 28 Feb 2024 12:28:26 +0100 Subject: [PATCH v2 28/30] MIPS: mobileye: eyeq5: add two GPIO bank nodes Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240228-mbly-gpio-v2-28-3ba757474006@bootlin.com> References: <20240228-mbly-gpio-v2-0-3ba757474006@bootlin.com> In-Reply-To: <20240228-mbly-gpio-v2-0-3ba757474006@bootlin.com> To: Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Thomas Bogendoerfer Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, Gregory CLEMENT , Vladimir Kondratiev , Thomas Petazzoni , Tawfik Bayouk , =?utf-8?q?Th=C3=A9o_Lebrun?= X-Mailer: b4 0.13.0 X-GND-Sasl: theo.lebrun@bootlin.com This platform uses the same GPIO controller as Nomadik. It however has its own pinconf & pinmux controller. EyeQ5 is the first platform to use gpio-nomadik independently from pinctrl-nomadik. Signed-off-by: Théo Lebrun --- arch/mips/boot/dts/mobileye/eyeq5.dtsi | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/mips/boot/dts/mobileye/eyeq5.dtsi b/arch/mips/boot/dts/mobileye/eyeq5.dtsi index 8d4f65ec912d..0f18ac73620b 100644 --- a/arch/mips/boot/dts/mobileye/eyeq5.dtsi +++ b/arch/mips/boot/dts/mobileye/eyeq5.dtsi @@ -158,6 +158,32 @@ timer { clocks = <&core0_clk>; }; }; + + gpio0: gpio@1400000 { + compatible = "mobileye,eyeq5-gpio"; + reg = <0x0 0x1400000 0x0 0x1000>; + gpio-bank = <0>; + ngpios = <29>; + interrupt-parent = <&gic>; + interrupts = ; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio1: gpio@1500000 { + compatible = "mobileye,eyeq5-gpio"; + reg = <0x0 0x1500000 0x0 0x1000>; + gpio-bank = <1>; + ngpios = <23>; + interrupt-parent = <&gic>; + interrupts = ; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; }; }; -- 2.44.0