Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp269387rdh; Sat, 23 Sep 2023 09:32:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEMkDtDgGoP/boM+Nzqak2K5YwA0y04nUzwiBr5FxRZwrqEXS445al1tAND7exVIiilBoSc X-Received: by 2002:a05:6a20:320f:b0:15d:b699:5522 with SMTP id hl15-20020a056a20320f00b0015db6995522mr2820151pzc.34.1695486728729; Sat, 23 Sep 2023 09:32:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695486728; cv=none; d=google.com; s=arc-20160816; b=xyQpaJKD4fZpEqqYDLJfeeLmcEu18phb407UHP1Md94mx3v+DQWuLPQUAOr0jflEk8 7sI/XId/B3odIsE8JPL3OdCZwj5TdnmGNClGnGGhwRxFRfOCjPbuz9CS8EHKQXF9/hAx TkmirHND15wqCVcz2CoT5uPRG2uHUk4SJPguuaQch5YoSGe6iNbDQQcIXLkuknb7RpsO O/SHaluQIzXrGFR+qeBJ0hWmEqUiHPfH2BqnZ34i0DPa+kD25xFfBl2KR3Wrz6d/3r8k lMojuiix9SHdmWHAJOK/t/u2Z6zjICgSG1nwIFb7GGrnhPlte0FF1QAxGQ4Iyi5a/FA0 yi+A== 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=xCEqNg8lQae5y44WGyNbp6+1GiP7F1u0uaAkFNwgKNtsJdfqkH3t9THyf+ywo+oFb2 m7FrlMnSEv390OyURO0Qpf5cIDciRnSIcLbuQY40qlnkhjYoSDB8alOMc/ENLCxyOEE9 9zkPce8ZgIugpnKptIhli3YG0O/d23JXqWwxziuJHNUvpHSKTdOOD1tR5Zq8MjrWdTBg BdyH2/3vv0BtakbrwIbQzU6qUWdnuuQLy3sEHrMQjKSC80umAPxekGbHEeiP6dkAx3Iy Ex2aahy0xeHW3UnmjtII2gxWkaIZbhmDP1VlHeZYwnXpYRkA7CCQapBafBFNhKXuk1sC k+kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=trwxj07X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id ik22-20020a170902ab1600b001b7d2b55d8asi176848plb.626.2023.09.23.09.32.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Sep 2023 09:32:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=trwxj07X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id 614A483D4A6A; Sat, 23 Sep 2023 04:50:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231392AbjIWLuE (ORCPT + 99 others); Sat, 23 Sep 2023 07:50:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231346AbjIWLuD (ORCPT ); Sat, 23 Sep 2023 07:50:03 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E43BD19E for ; Sat, 23 Sep 2023 04:49:56 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-9a9cd066db5so474407666b.0 for ; Sat, 23 Sep 2023 04:49:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695469795; x=1696074595; 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=trwxj07XNKdKs0y3gbtJBP34FgUJBrHbdQcQ7OHk+F3t+Lx09wuzFcvcHSVDonjlj6 ZEdYJdCBQ3096GMYe/q+TvyUoi6tbnOH6KzHtXCpU7W68UvSYr96oMq+2exLRaiSrQl5 L0UNpi3y33K1B4TFbm9GE8268vaicP6s01zGDHDD0hB/uEHYITzkvplQHbJ3FZH4wV2N wSWpzlAYk6FC8Wfwl1f5HDZGT/8UJQ5jo+dVzcFpIiDoO/un3Jzzm8mIU0P1mjczjiUv L3G7A2VW0ZCFwjxF4KSGCmkFmJ7tpRu1Ux2hO9cKDnTewSZyTo8ujlxEa/c27/9O63Ss 8z9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695469795; x=1696074595; 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=lIZTIAdcgrO4B7XMoUgYXYyilmT/YpJmEPiTeiBNt9PZtJLLEjCc3gC5RvGDmE5+F1 /1iewy2iIK0YqPsSXK+O2E1aaHYrL6HF6UoiaN33hjgWgrI1wNhUy/Zhq+wO0caCoeLL 8Eaj9TmUuEE2kOmrzZT3n5TJA77kNYjn7Pnq0d3ZnlFkdd59sSUAMhlKyYN+nmE/RSU0 sLcoU1s38nDDWXgm13oILcODWM8laBH7L2QpxnTl12VAK/kr5YzG6UJ9WWMmMfzX4fF0 v3opYQePQZ0LxyUe6rogehLQmEdU45Lp4WJNRYihROi4a3clRy9pIxHIwHvRQBxNSpH6 blOw== X-Gm-Message-State: AOJu0YzUXfAnuWC5c+ybO+SHJySI4cHYjEbtWb7vIQ1YYYCLWQilXED+ dHeJLom1ni/Hvhvc2Lbdi8063sflZdYMZUtCA7LeNg== X-Received: by 2002:a17:906:ae81:b0:9ae:961a:de7f with SMTP id md1-20020a170906ae8100b009ae961ade7fmr1782614ejb.30.1695469795336; Sat, 23 Sep 2023 04:49:55 -0700 (PDT) Received: from hackbox.lan ([86.120.16.169]) by smtp.gmail.com with ESMTPSA id qk8-20020a170906d9c800b009ad89697c86sm3889110ejb.144.2023.09.23.04.49.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Sep 2023 04:49:54 -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:49:45 +0300 Message-Id: <20230923114950.1697701-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 pete.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 (pete.vger.email [0.0.0.0]); Sat, 23 Sep 2023 04:50:15 -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