From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from polaris.svanheule.net (polaris.svanheule.net [84.16.241.116]) (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 8CF8B299922 for ; Thu, 5 Mar 2026 19:04:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=84.16.241.116 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772737460; cv=none; b=hPB/xeW4Cy8qedIFewdaX1lh3o7UcyQIdQ+o5Wht9ByepUqgqMeiD5C6Mxzr7XaJ33PIQB8HSA/1JBlqFsUujVHbUT2g2AI8dYQIyioHBj7LDi8zi7hu9ME5CUEHEpGkUYrGVsXc5e9nw3dYOmDhC5Ijv98HI+T2ZzFZE1ULEdM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772737460; c=relaxed/simple; bh=0cMkxm7dpZ1xmN+oxuhZ+J5McF8TzcD3plfxWOZH13E=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References: Content-Type:MIME-Version; b=co6hPNzVqkm/E12uwB4l8mOREc7PPA5VSYZVTBUKbGx0sJ9BZObLF0dG7DsOmdt+wg2jzRF97+bSsLYnapdfZU7WKgKoEr7JyDHl56D4BdrbVFIrz5lPooIP1if7R9kLs2qngzwf4xK2DaJwMGmmPXu8XVY4GFEzEwPA4R8AtHU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=svanheule.net; spf=pass smtp.mailfrom=svanheule.net; dkim=pass (2048-bit key) header.d=svanheule.net header.i=@svanheule.net header.b=7xp6uLN/; arc=none smtp.client-ip=84.16.241.116 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=svanheule.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=svanheule.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=svanheule.net header.i=@svanheule.net header.b="7xp6uLN/" Received: from [IPv6:2a02:1812:162c:8f00:19d9:5e35:1cd7:5d5d] (2a02-1812-162c-8f00-19d9-5e35-1cd7-5d5d.ip6.access.telenet.be [IPv6:2a02:1812:162c:8f00:19d9:5e35:1cd7:5d5d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits)) (No client certificate requested) (Authenticated sender: sander@svanheule.net) by polaris.svanheule.net (Postfix) with ESMTPSA id 2DCB96F2F33; Thu, 5 Mar 2026 20:04:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svanheule.net; s=mail1707; t=1772737455; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=t3JlO9jkrcoFYhcSoRZPlkrxeap+txhaWKtFXzrqp/A=; b=7xp6uLN/2jgIUVF5DrHjwCUicbxEi0UEnH2lixV/dH25/QbVJvZXlfZbsp+3N+53JExDmR A20VQypE3lHos49PcaVXLjGIIQDc+IvX0z5VQifjp86+pX2IPZfziBeaRh4Ec6n5CJuzDr HKvy9VVdLHvjG7X4ZTEEaOCDfEuhPXSyQmLfSR/TFpVLcvcCcQZHiXUcFpOgdJrfIwtUUw UcgGHC4FEUxgiZwZ3fXnaV5b68Mn0te3A49nsXV8ASBINHWt2PiXqdMSuS8aPL5JahbAff vT22eHH2UZQcIHcrKvamcGAY3HaDJFlFVNzpC5gPmhsrfE4gxyi65jGqS7l9jA== Message-ID: Subject: Re: [PATCH 2/2] gpio: realtek-otto: add rtl9607 support From: Sander Vanheule To: Rustam Adilov , Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bert Vermeulen , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 05 Mar 2026 20:04:14 +0100 In-Reply-To: <20260305161106.15999-3-adilov@disroot.org> References: <20260305161106.15999-1-adilov@disroot.org> <20260305161106.15999-3-adilov@disroot.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.58.3 (3.58.3-1.fc43) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Hi, On Thu, 2026-03-05 at 21:11 +0500, Rustam Adilov wrote: > The RTL9607C SoC has support for 3 GPIO banks with 32 GPIOs each and > the port order is reversed just like in RTL930x. >=20 > Signed-off-by: Rustam Adilov > --- > =C2=A0drivers/gpio/gpio-realtek-otto.c | 4 ++++ > =C2=A01 file changed, 4 insertions(+) >=20 > diff --git a/drivers/gpio/gpio-realtek-otto.c b/drivers/gpio/gpio-realtek= - > otto.c > index 4cf91528f547..5e3152c2e51a 100644 > --- a/drivers/gpio/gpio-realtek-otto.c > +++ b/drivers/gpio/gpio-realtek-otto.c > @@ -351,6 +351,10 @@ static const struct of_device_id realtek_gpio_of_mat= ch[] > =3D { > =C2=A0 { > =C2=A0 .compatible =3D "realtek,rtl9310-gpio", > =C2=A0 }, > + { > + .compatible =3D "realtek,rtl9607-gpio", > + .data =3D (void *)GPIO_PORTS_REVERSED, > + }, > =C2=A0 {} > =C2=A0}; > =C2=A0MODULE_DEVICE_TABLE(of, realtek_gpio_of_match); If I'm not mistaken, this SoC has a MIPS InterAptiv CPU like the RTL931x So= C series. Were you able to validate that the interrupts are functioning as expected? Best, Sander