From patchwork Fri Jun 14 16:54:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 1948032 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4W153g1CCDz20X9 for ; Sat, 15 Jun 2024 02:54:39 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9E0E1889BB; Fri, 14 Jun 2024 18:54:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=0leil.net Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 6CD1A88A08; Fri, 14 Jun 2024 18:54:34 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,SPF_PASS,T_SCC_BODY_TEXT_LINE, T_SPF_HELO_TEMPERROR autolearn=ham autolearn_force=no version=3.4.2 Received: from smtp-bc08.mail.infomaniak.ch (smtp-bc08.mail.infomaniak.ch [45.157.188.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3EE9F889B7 for ; Fri, 14 Jun 2024 18:54:32 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=0leil.net Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=foss+uboot@0leil.net Received: from smtp-4-0001.mail.infomaniak.ch (smtp-4-0001.mail.infomaniak.ch [10.7.10.108]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4W153W63PRzhv9; Fri, 14 Jun 2024 18:54:31 +0200 (CEST) Received: from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4W153V3fmjzK4n; Fri, 14 Jun 2024 18:54:30 +0200 (CEST) From: Quentin Schulz Subject: [PATCH next 0/3] rockchip: px30: add IO domain driver Date: Fri, 14 Jun 2024 18:54:11 +0200 Message-Id: <20240614-px30-io-domain-v1-0-9552966d3911@cherry.de> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIALN1bGYC/x3MQQqAIBBA0avErBsYU6K6SrSwnGoWaWiEEN09a fkW/z+QOAonGKoHIt+SJPgCVVew7NZvjOKKoaHGUKsMnlkTSkAXDiseqW81z50zpBWU6Iy8Sv6 HI3jOF0zv+wHqp7E9ZgAAAA== To: Tom Rini , Simon Glass , Philipp Tomsich , Kever Yang , Heiko Stuebner , Klaus Goger Cc: u-boot@lists.denx.de, Quentin Schulz X-Mailer: b4 0.14-dev-a6ee3 X-Infomaniak-Routing: alpha X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean This adds the IO domain driver for PX30 by importing the appropriate bits from the Linux kernel driver, similarly to what's been done for RK3399 in the past. However for this driver to probe, syscon_px30 driver needs to be fixed to probe children of its syscon DT nodes, so this is fixed as well. Finally, enable this on PX30 Ringneck. Signed-off-by: Quentin Schulz --- Quentin Schulz (3): rockchip: px30: bind sub-nodes for GRF (syscon) rockchip: io-domain: add support for PX30 rockchip: ringneck-px30: enable IO domain arch/arm/mach-rockchip/px30/syscon_px30.c | 3 ++ configs/ringneck-px30_defconfig | 1 + drivers/misc/rockchip-io-domain.c | 66 +++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+) --- base-commit: 0f4e1025ad2ff19095b754229ffec4527380dae1 change-id: 20240614-px30-io-domain-0963eb8d4031 Best regards,