From nobody Thu Apr 9 21:51:31 2026 Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 566763CE482; Thu, 5 Mar 2026 16:11:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.21.23.139 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772727100; cv=none; b=Htvw/x50hEldhuisrEciO0000bZWTy/7x2HkKT2xSOGlMiXoe+Q9pGLUJyKrmN/50wXz5H8GiWbJo92JuJ9js4j7HIGCC7DjkTaKbSKUE5lg5CA6d/CtnLqhDXNansOVLQmlFxlAf9BbBB5aV9oFH1MKphOAlygANGCfRF7RJUM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772727100; c=relaxed/simple; bh=i9w3eQ0zsYY8QgJ9O/z5bZJblS92HhX4ugozB0Nz+uE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WXXD1fscv5DbDgiI5G9CmywxGuiQX6cSzQGzsMgWl42n/khxFRxpNYKSfIs8fvS30ZdCVpENwk1nlaHmE2dw1oJ3cKRnMC5YgxV4GYlqRKvAUbcMKL4YTH3CNBxTVueKQuEVOD34vLa5jCY1tAofi5hdo4Vz59m7XkfaizrwqYI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org; spf=pass smtp.mailfrom=disroot.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b=ODs0cNSy; arc=none smtp.client-ip=178.21.23.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=disroot.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b="ODs0cNSy" Received: from [127.0.0.1] (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 0FC2A26433; Thu, 5 Mar 2026 17:11:37 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id D85SDUHLWlAA; Thu, 5 Mar 2026 17:11:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1772727096; bh=i9w3eQ0zsYY8QgJ9O/z5bZJblS92HhX4ugozB0Nz+uE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=ODs0cNSyNxHnrLEpnIxsb1JOL3QcWyZEVo0BkPYmQ4gzq2sP5U9fGA7vAY6UCSBmc LuTzRoJbcGA34TyF1ItqAZQ04iqBtpkU3NxVSr9JOgijO5XX4YhRcgEdGTX36NiCLc rYfD4aNd8O7RT/zD4TAUdOLG08YScYpYYcfItmWn620DgZvKbnz/9qaVU58sVwGAGO P6kS8COMGJ2w4jI1OCrFBSEHKd4G4h/YwfHaXyEoLfDcQ0jY+lfl7fGBNHoV+luqI2 OdOJrUNnPczOb508jmWT8nGpzUbA4GMlVL5rNBuAfZVoFUvgZ/bTAbXR8jqZmFycFS y7s/EPSESaJvQ== From: Rustam Adilov To: Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sander Vanheule , Bert Vermeulen , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Rustam Adilov Subject: [PATCH 1/2] dt-bindings: gpio: realtek-otto: add rtl9607 compatible Date: Thu, 5 Mar 2026 21:11:05 +0500 Message-ID: <20260305161106.15999-2-adilov@disroot.org> In-Reply-To: <20260305161106.15999-1-adilov@disroot.org> References: <20260305161106.15999-1-adilov@disroot.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add the "realtek,rtl9607-gpio" compatible for GPIO nodes on the RTL9607C SoC series. Signed-off-by: Rustam Adilov Reviewed-by: Linus Walleij Reviewed-by: Sander Vanheule --- Documentation/devicetree/bindings/gpio/realtek,otto-gpio.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/gpio/realtek,otto-gpio.yaml = b/Documentation/devicetree/bindings/gpio/realtek,otto-gpio.yaml index 728099c65824..b18f8f0ca0ae 100644 --- a/Documentation/devicetree/bindings/gpio/realtek,otto-gpio.yaml +++ b/Documentation/devicetree/bindings/gpio/realtek,otto-gpio.yaml @@ -30,6 +30,7 @@ properties: - realtek,rtl8390-gpio - realtek,rtl9300-gpio - realtek,rtl9310-gpio + - realtek,rtl9607-gpio - const: realtek,otto-gpio =20 reg: true --=20 2.53.0 From nobody Thu Apr 9 21:51:31 2026 Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2BCA13CD8D0; Thu, 5 Mar 2026 16:11:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.21.23.139 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772727102; cv=none; b=WQVIseCem6Or8QsBTdAPlf08uSNb1PWo2R7jn+sChjqOdqRUQOFEz1ywZ3hglNV5esBk5e2Rb1xn8dtWY2T7Mjy7K/8rtub79ytGJcIW7nVfmdFJ7Ncet60xry0MHOg6qRVyh3OGoyotPl7NfIZQUQxRS9YUY9VeohDudFNiL7A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772727102; c=relaxed/simple; bh=78aEbAZcx3mKP7facMIGohoywdi1GimEciZEZX6ITRw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=u9xHlSY2cCODIhTj7rWbn2AQh8odfso/apCk9RE+eXV6+C/wKkMso4Grcs5h/wUNP6z/t3u1BKGEl+D7GHWb22pw04dGbsacKyaieEe1viE9yRWTlwhMJXFMJeT5XnPCxLthEXhz2RNqZ+5UdXpavTC75M1T44zpC/0IBafvJe0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org; spf=pass smtp.mailfrom=disroot.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b=TTzzn8u+; arc=none smtp.client-ip=178.21.23.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=disroot.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b="TTzzn8u+" Received: from [127.0.0.1] (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id D8D8B26FA3; Thu, 5 Mar 2026 17:11:39 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id NDcisMZDRcbj; Thu, 5 Mar 2026 17:11:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1772727099; bh=78aEbAZcx3mKP7facMIGohoywdi1GimEciZEZX6ITRw=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=TTzzn8u+XakXCn37Di5dOhpKdwGbnX1lTPn8+ZMh+sheEAEK47GRRK++TZhMEZKBb 7lyaGFVF1+MBn3aMeH8IMxXGXpvJ5kJj70MyaN6MGg1gFriH2PUEO7rMe9+hbRZXva TX/oF4JoYTCutMrfUv79z4Q14TKIrBj+oL8RSAND3OSJvGy63T9zjnPPqRk0q8fiF6 R98QAeENulgZgbjeut7G5S3DOTYbmozqFkiGv244enoUQGh0D1GlQ7KbOmvRLIOsmu U62GLr+3ZOd0d03uKlciF5Kuu2uq07MYNYsvw/RRTZXPtP+QoTgpBmAP/hA2JY6b5t 1cNOSxQbWL0sw== From: Rustam Adilov To: Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sander Vanheule , Bert Vermeulen , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Rustam Adilov Subject: [PATCH 2/2] gpio: realtek-otto: add rtl9607 support Date: Thu, 5 Mar 2026 21:11:06 +0500 Message-ID: <20260305161106.15999-3-adilov@disroot.org> In-Reply-To: <20260305161106.15999-1-adilov@disroot.org> References: <20260305161106.15999-1-adilov@disroot.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The RTL9607C SoC has support for 3 GPIO banks with 32 GPIOs each and the port order is reversed just like in RTL930x. Signed-off-by: Rustam Adilov Reviewed-by: Sander Vanheule --- drivers/gpio/gpio-realtek-otto.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpio/gpio-realtek-otto.c b/drivers/gpio/gpio-realtek-o= tto.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_match= [] =3D { { .compatible =3D "realtek,rtl9310-gpio", }, + { + .compatible =3D "realtek,rtl9607-gpio", + .data =3D (void *)GPIO_PORTS_REVERSED, + }, {} }; MODULE_DEVICE_TABLE(of, realtek_gpio_of_match); --=20 2.53.0