Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1657895rdb; Sat, 2 Dec 2023 04:52:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IF+9hjWhzOKzrUZSt3VZ51A5Z3+nM+KviaEa0O1bxYkKQtZ2gyILom3/r4t5O0kW4nDCP/Q X-Received: by 2002:a92:cd4a:0:b0:35c:df90:a7d with SMTP id v10-20020a92cd4a000000b0035cdf900a7dmr1470254ilq.25.1701521526648; Sat, 02 Dec 2023 04:52:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701521526; cv=none; d=google.com; s=arc-20160816; b=cpRFk7TJTuNAOw9sHBzFaeA0AIAGADrUZ1i+lDE0UjthcYLkfPuZixgLpVtwkheLVU 0h0dawwA9SAzFfcYexWy4+bwoqQWPTaiqsa0+HbYmrbMXlzI5Q9ZS7IeVGpp+TBsOnhM pIo2Ki99IKb3MvXvVLndMp+Dd10SilcLZbYOhuyT3IiSeEmMEX9v/as8TpcZn4dJ/FbM DIicqE9L7/GpvLz/ve1m+ZODz+gE76UeR93drEDpc6n218oN6VLRyuxPz9XJpB9sdpPP Fq/+6iwNVaMeMqus4IH6jU2cYNscAUljBKvSLoPYySsQ7MUwC8GBXbUH9W1Jsz2NMScX srMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=alZsdcAcMlLtVRnOYds6Kv0dEWGog0rlTIYGT7GnEUw=; fh=EsUCcIHjubL1z5kQw8qtdbtZco0984l+/07aD/SWaj4=; b=ZbNBGYKIjm1yyb9bUvajeXOzVUwaMdkpA17xvOjlvtVvD979da5raPV05O2rad2HGs u4Iq7H1IlhjTeqElVmiWiiaxA9KqxpcFw5Wao70FOqhNSt9/40BRPkzVKTopZnOM+4d6 MuhyIg8VvIzlap700ev66mL3b5Dzdo/ZvluACehrCcfJiacY8JIjUmv6vJzNlCgIVZQm DmBFFZ3tTfidl58GRPBVOv+rRvtz/F4W6SaCIx2Yt40QaFwa4KepMU7IjR0Yd4QYjpvc d9X/wjXc4DSvdI7tCHgJAHvme3wq6sE0pLxDDqUFYQYMGRy9dNGEOIAEm0cpTZiV+aZK b8zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ifEyExez; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id n2-20020a170902e54200b001cfb357c8f0si5005395plf.246.2023.12.02.04.52.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Dec 2023 04:52:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ifEyExez; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 77F69805F9F3; Sat, 2 Dec 2023 04:52:05 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229852AbjLBMv4 (ORCPT + 99 others); Sat, 2 Dec 2023 07:51:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbjLBMvy (ORCPT ); Sat, 2 Dec 2023 07:51:54 -0500 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3417F0; Sat, 2 Dec 2023 04:52:00 -0800 (PST) Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-54c1cd8d239so3237031a12.0; Sat, 02 Dec 2023 04:52:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701521519; x=1702126319; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=alZsdcAcMlLtVRnOYds6Kv0dEWGog0rlTIYGT7GnEUw=; b=ifEyExez0eL3Iu6M+a36fI8LwjpYvZ7wqFXJIOuKc2qALeFb/uhhI7x/2EkocBYiLH 6HqEd6QPC3kJHlN+JkggUrLRjRNSiGSSrRWzsN5TCXd0VO7vri/Irc6L/ID3SvyQZjN4 RmcUnZ9A01yqythvMtJGfIM/ZMTENzV0E6zYe8yJY1LOuhvK6K7EFa4zqAZ0gBSTNeve HQzgDFOpfzB7SLzA1OvuioXaFBpKrxfPExO4B1QTGXz975G95f9DxDxhxqup8w+PJvig izJ5ccWRhdI9nfieK21v/AxCroCCBXQtxgOF0uLavTFQhHZZG7cEGqitkDThai32GVT6 yizA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701521519; x=1702126319; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=alZsdcAcMlLtVRnOYds6Kv0dEWGog0rlTIYGT7GnEUw=; b=K86zv2UcmwTkZ2JaZznztRESeu0PVw+/hL1lGUeGmGk8zx61z3i5MGf8rlUtkgkq0B nP2s3azK/n/qJz5ZrbCvPvr7WUGgF0eqRcDd87PxjN4KZ5IXpuNUiu/jZcdmi+fAZk9r WpD7Udh9A9wgLBAs+OrQEZu2AWq3F0dIb/dGDcqMuj+IHk7Lv3fUAyVxFI9zQti9kDw/ 2p/uehwIIXND/OAo0KYggMiKgMJrJpT+Bj2uBQX1uLDbxncgqoWPAcUuL2HWp4s9jQUl YKAVYPDwdwv0Btsdk+OhrFeQJne7waejNt2e1DXGuGcFHg/STBWoCZYZJo4jEiNiCVt9 ADAA== X-Gm-Message-State: AOJu0YzcyNunr/M4oh03iTakPlJFyNo0j2OFsyaupwL243/JfTP4aGmM /uoAMGepGArellhwBd+PiQ== X-Received: by 2002:a17:906:51d9:b0:a1a:76cd:697c with SMTP id v25-20020a17090651d900b00a1a76cd697cmr219758ejk.100.1701521519205; Sat, 02 Dec 2023 04:51:59 -0800 (PST) Received: from U4.lan ([2a02:810b:f40:4300:908e:b829:354b:f8ee]) by smtp.gmail.com with ESMTPSA id g5-20020a170906198500b009c5c5c2c5a4sm3018161ejd.219.2023.12.02.04.51.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Dec 2023 04:51:58 -0800 (PST) From: Alex Bee To: Heiko Stuebner , Conor Dooley , Krzysztof Kozlowski , Rob Herring Cc: Daniel Vetter , David Airlie , Thomas Zimmermann , Maxime Ripard , Maarten Lankhorst , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-pm@vger.kernel.org, Alex Bee Subject: [PATCH v2 0/5] Add power-controller and gpu for RK3128 Date: Sat, 2 Dec 2023 13:51:39 +0100 Message-ID: <20231202125144.66052-1-knaerzche@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Sat, 02 Dec 2023 04:52:05 -0800 (PST) The first patch in this series fixes the pm-domain driver and adds power-domains which are currently missing. This touches the ABI which is not and was never used until now. Not all of them are used yet, but when the power-controller is added to the DT in patch 2 the ABI should not be changed again. Patch 3-5 are adding the the gpu compatible to dt-bindings, adding the gpu node and the respective operating points to SoC DT and finally enabling it for XPI-3128 board. Note: DT patches are based on maintainer's repo. Alex Bee (5): pmdomain: rockchip: Add missing powerdomains for RK3128 ARM: dts: rockchip: Add power-controller for RK3128 dt-bindings: gpu: mali-utgard: Add Rockchip RK3128 compatible ARM: dts: rockchip: Add GPU node for RK3128 ARM: dts: rockchip: Enable GPU for XPI-3128 .../bindings/gpu/arm,mali-utgard.yaml | 1 + .../arm/boot/dts/rockchip/rk3128-xpi-3128.dts | 5 + arch/arm/boot/dts/rockchip/rk3128.dtsi | 145 ++++++++++++++++++ drivers/pmdomain/rockchip/pm-domains.c | 13 +- include/dt-bindings/power/rk3128-power.h | 3 + 5 files changed, 162 insertions(+), 5 deletions(-) base-commit: fd610e604837936440ef7c64ab6998b004631647 -- 2.43.0