Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp204855rdh; Sat, 23 Sep 2023 07:13:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEteX1+sBlrvnj8hYwOZzUQBKZsAhfCoLru3eBPmlsVhyxF8ZYAINRh/icJa1vSBPFLr1Ag X-Received: by 2002:a05:6358:284:b0:133:b42:69ca with SMTP id w4-20020a056358028400b001330b4269camr2249250rwj.18.1695478419497; Sat, 23 Sep 2023 07:13:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695478419; cv=none; d=google.com; s=arc-20160816; b=b8+kBBhjnfXDq+xAmQcXtdl9VlSNDexrm4QXUx9qYUEGAhVP1kd4x07jywNc63YvBC e893TrPxuRbZCjZskS3d/22pbSsP7I0edtpKQpN73F1EydstJ7rRydNYtdgxsppLeSSj XTLY0WKaaz2TpqJ57TwmrSzdYUvMXE06nz31xQhTimQKhAfahZ5waKOkFyBNTaRk9rKd bqmq47E8JjK5v93sXHKTR3jgCkXgMOpSjCQX7rUPe0eaPaVZYt2v+u4CwrkecE+RuWji qtxcRB8NX7C2gHzBkq7L/ESROOuSwdSq7eGVo17bnr1wRTt/lsb3pa2sSn9KkJziYzmN Ny3A== 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=7bX8G2i5J1ALZVJ03xHMbBXo1RYMNHbxXzPAX+U85OE=; fh=MCN03NosXtEjV2CWNN8+8RSYxzzUiUWwqAVAZ2yCf5c=; b=O5v6lwNyZWytskSFs2peHoImaUJa/sMNJ9aPUjlS8wlq7fhn6cFZerswCi/gMpyjx5 RY8LmKMKhSpmXEeSShCHTDaTsaLQmpUMCpgBTTC15WVERS/lbffYYqdAk+rAB8lCuDqx H0DPhS2yT3OvW86OqACwTdPfeivAAoiSUIxyCU1uzmjBVw276Ks3lPyHRe7MHeR/yTuI ufbDOKS8ZrzgsvnEzsd4/V9m/ybo8Z0SnU2E0+bOyMYrSmaZXVdHlqVnw+mdkMe+X+fs CxHS/0d75hmI5xfqMWUXlXkltNVWUZPQZpj2YllXovScq5t34yrOaFXdtCF0TkVtvTmH yppQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=K0m+vLUa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id 4-20020a630004000000b00578d1b590b0si6056382pga.699.2023.09.23.07.13.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Sep 2023 07:13:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=K0m+vLUa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id DC1B082B5B92; Sat, 23 Sep 2023 04:50:30 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231409AbjIWLu1 (ORCPT + 99 others); Sat, 23 Sep 2023 07:50:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231361AbjIWLuZ (ORCPT ); Sat, 23 Sep 2023 07:50:25 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 911B41AB for ; Sat, 23 Sep 2023 04:50:17 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2c123eed8b2so58843881fa.0 for ; Sat, 23 Sep 2023 04:50:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695469816; x=1696074616; 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=7bX8G2i5J1ALZVJ03xHMbBXo1RYMNHbxXzPAX+U85OE=; b=K0m+vLUa/C7Xf/+YAzKhc6H3pkg/sDzr0qXZaV8BBkMyWOCG81/uTyMZsVPA91/tQ3 UsCweKMYI0P2ORdI08MVMlyGXobeiKg4K/o51fpfBM17OvU8HMBqsrabFo1VjWAkP4Id XMLS+jabwehKPu6J9i6Cm8OL/OT9kz2XzJEf7fF3a0XdLdCH4nwwf/KR8xFaNvuG6Vp3 1UbJ+JyxoOsM4qDLeHkJUqx3pb2siZPwtJ/eyIt1uHBnhgYxvhMytgDaRdgt9OaAMV3w bQT10DblOasvNNF5y/JbFkmtxdxWakNEqrXRytDDt7qAU0U6ufptzsdukb/fDcf/a/S2 E3EA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695469816; x=1696074616; 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=7bX8G2i5J1ALZVJ03xHMbBXo1RYMNHbxXzPAX+U85OE=; b=M2pgEqmfOIXulMWPK56nbicob0KqO0zFVcOPLfSnVzpzC75vAQR/GdD1FahjfeTepf C8H8kqToAkrvp21LS2fjFHY0cjnWSFjm77Zwa6f/iPP/87T9cs95lbLf4+MmRfZW82gp WPJ0VbyFXdeZF0n51suVxYGGN0uWKog0QWmgJ+1Jx43n+5OClFTaJuZSEoRNphOzqicu 9Dr+DSPRYQVvlTLpSFrO8bqmvFzLFBmNfOyhi2PlwVS98QSH6hDDgRLlJCfn77PpoICo kYCEjieEgd9Rfv+zmwfS+JMujU/QpyWxNrz6BobTvUf9GU8y6b+BuKF37C8ySfp+TCNe Pr6Q== X-Gm-Message-State: AOJu0YwpR/vslf156OXWX4z3mTpNxjsJ6r3djTl3JcNSG/+yAQsNlqU6 Z9AoUc3VVvwwUDIoARU2H7uk/w== X-Received: by 2002:a2e:9091:0:b0:2bf:f497:52d6 with SMTP id l17-20020a2e9091000000b002bff49752d6mr1657463ljg.22.1695469815760; Sat, 23 Sep 2023 04:50:15 -0700 (PDT) Received: from hackbox.lan ([86.120.16.169]) by smtp.gmail.com with ESMTPSA id k15-20020a1709062a4f00b009ad8084e08asm3853310eje.0.2023.09.23.04.50.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Sep 2023 04:50:15 -0700 (PDT) From: Abel Vesa To: "Rafael J . Wysocki" , Kevin Hilman , Ulf Hansson , Pavel Machek , Len Brown , Greg Kroah-Hartman , Bjorn Andersson , Andy Gross , Konrad Dybcio , Mike Turquette , Stephen Boyd , Taniya Das Cc: linux-pm@vger.kernel.org, Linux Kernel Mailing List , linux-arm-msm@vger.kernel.org Subject: [RESEND v3 0/5] PM: domains: Add control for switching back and forth to HW control Date: Sat, 23 Sep 2023 14:50:03 +0300 Message-Id: <20230923115008.1698384-1-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email 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 (agentk.vger.email [0.0.0.0]); Sat, 23 Sep 2023 04:50:31 -0700 (PDT) X-Spam-Level: ** This is just a resend of v3: https://lore.kernel.org/lkml/20230823114528.3677667-1-abel.vesa@linaro.org/ Just added Ulf's R-b tag to the 2nd patch. No other changes. Abel Vesa (1): PM: domains: Add the domain HW-managed mode to the summary Jagadeesh Kona (3): clk: qcom: gdsc: Add set and get hwmode callbacks to switch GDSC mode clk: qcom: Use HW_CTRL_TRIGGER flag to switch video GDSC to HW mode venus: pm_helpers: Use dev_pm_genpd_set_hwmode to switch GDSC mode Ulf Hansson (1): PM: domains: Allow devices attached to genpd to be managed by HW drivers/base/power/domain.c | 84 ++++++++++++++++++- drivers/clk/qcom/gdsc.c | 32 +++++++ drivers/clk/qcom/gdsc.h | 1 + drivers/clk/qcom/videocc-sc7180.c | 2 +- drivers/clk/qcom/videocc-sc7280.c | 2 +- drivers/clk/qcom/videocc-sdm845.c | 4 +- drivers/clk/qcom/videocc-sm8250.c | 4 +- drivers/clk/qcom/videocc-sm8550.c | 4 +- drivers/media/platform/qcom/venus/core.c | 4 + drivers/media/platform/qcom/venus/core.h | 1 + .../media/platform/qcom/venus/pm_helpers.c | 47 +++++------ include/linux/pm_domain.h | 17 ++++ 12 files changed, 165 insertions(+), 37 deletions(-) -- 2.34.1