From patchwork Tue Apr 24 09:39:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 134057 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp2010991lji; Tue, 24 Apr 2018 02:39:52 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/pJH9orwhll+kETUdLJVPrceqs4RzEHZOXyxJTSAa9etJGrD2QVkXtAs0yH7Kipp/VHjCc X-Received: by 10.99.115.78 with SMTP id d14mr7994534pgn.1.1524562792187; Tue, 24 Apr 2018 02:39:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524562792; cv=none; d=google.com; s=arc-20160816; b=YlexCrJYZPSbwNLS0Wte8+AiTpcxZAwJ/w6Vme0GvwW80Gyp7r+Mts/6smC/pA0N4j Q6IgcO4pA0kYaR7PBw3cnzdwexMexokvFYVYXp2IvYbkvdauszAyG28OX3Dl9v3OvxTS 9hw/wkEQAH50iRjttoNQqlxXYbgKUyIl5VV6oDkNgRhl8Ct6wtiBq8GzDT85V+Ri45Q2 kiVDhOPCVmLaR7SpSgLW1IQ9i3/WrNfI/u1RW/T4a5TbT1Cq7XZWP9KgEYWu3Zj4/edt ejQ78Y93vuWn6V1NnX316mvFxwMvoLfykv08uvPcLt3yYQoi/68+kkZqg0cWTCqcNGU9 nm9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=mBC/hEYLysGFEkpf2BqJ0mmxVd1vXN/j7R5F6Xqnclc=; b=h36koI8TcYtmzvpn/F9JofiWjQ4UR99crdrzKZ0udUcTb8AG4L6gsrR/WKIj0udHJd JZssN5B9XL1ehwdX1kRyjOYtxmb6YGFyTml/vHmyEKbOH0+jsJl4NpA5sEbiPDZny6q2 G5MHJ/eggmiJGe8DTdOY1p40Vn8YtQIsM5kWsUd1kUJS3QUTC9K2Fpn5ktbRgxXAUWKE ssD2mrKockedcCpycSf4EBq/nJOD99cUkFYtc3UCbpOLXb3W51MlVlgn3jMK1H1Qlo5+ lsmKH4K188k6YhpES+NxIg4gHAhlStfXPwSf92cyyVsmEMjzckwfEPTgNaWD04X+wWuN pqVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iwIytcko; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x6si10890008pgv.430.2018.04.24.02.39.51; Tue, 24 Apr 2018 02:39:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iwIytcko; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751453AbeDXJjv (ORCPT + 11 others); Tue, 24 Apr 2018 05:39:51 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:45527 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751245AbeDXJju (ORCPT ); Tue, 24 Apr 2018 05:39:50 -0400 Received: by mail-pg0-f67.google.com with SMTP id i29so8944755pgn.12 for ; Tue, 24 Apr 2018 02:39:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=mBC/hEYLysGFEkpf2BqJ0mmxVd1vXN/j7R5F6Xqnclc=; b=iwIytckoqr5riLgkmqQ78GWyCGnk+dMTta06b5AUgHntcVEWVWaO3Be2p2g7NhlUmN iiqSa4rf5VMWGa/fk03MkXr4qcc7MMFFHbNfbt9z5Ir0UI1uL9EtHXhy4w4GwyS65TBe 15dQ32mMPhMJU/5LTsRrjLYvZnLrxq9EyB084= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=mBC/hEYLysGFEkpf2BqJ0mmxVd1vXN/j7R5F6Xqnclc=; b=ARwBogPXwlJvfW+WIhU4pjrZP9ZOZspLzz+FS2fie4T2oqTSeznXjS1cbGzwkEHu05 6aIWij5G9HzqjkD1Yw8IBAUaBrmwmAfblGtOhpl17SxVBMbadu/oxSY0KzYxGYm7YJXL Hu5l/UFfhXQS3cHfpUCbUZrKYVB78diyZ6b+IMiuYiDu6tqvYTPpV9Rj+RMCcEtLYIPC 7oQFW4fB7MtjwfjMJHmzFNSVlnlL5bLFgH8MvRUjI54LQWJNPkmo6Htv6E2n3bb7+k0f OLUVMX6hR8HrU3uXnIo+U4EgPOLjmiLZ0142KX9Wn9aFrTfuHBx9C6iy/3W3e1abBCgn 0tCg== X-Gm-Message-State: ALQs6tBSkHUpuPgN50XCepGoQHUKDpUHiNt5nDTFsU4h+xySa6UpEnCu Su0NP1sOu1HgUECSoQI+k6gTVA== X-Received: by 10.101.76.129 with SMTP id m1mr19405693pgt.90.1524562790138; Tue, 24 Apr 2018 02:39:50 -0700 (PDT) Received: from localhost ([122.172.61.40]) by smtp.gmail.com with ESMTPSA id h185sm3328348pfe.5.2018.04.24.02.39.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 02:39:49 -0700 (PDT) From: Viresh Kumar To: Rafael Wysocki , Miquel Raynal , Andrew Lunn , Gregory Clement , Jason Cooper , Sebastian Hesselbarth Cc: Viresh Kumar , linux-pm@vger.kernel.org, Vincent Guittot , linux-arm-kernel@lists.infradead.org Subject: [PATCH V3 0/3] cpufreq: dt: Allow platforms to provide suspend/resume hooks Date: Tue, 24 Apr 2018 15:09:44 +0530 Message-Id: X-Mailer: git-send-email 2.15.0.194.g9af6a3dea062 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Hi Rafael, These patches are already tested by Miquel and are ready to get merged. Please pick them as part of 4.18 stuff whenever you do that. I have updated the cpufreq-dt driver to allow platform specific suspend/resume hooks and done some minor cleanup in the driver. I have updated Miquel's patch and applied that on top of all this. Thanks. V2->V3: - Don't double put the clock. - Fix commit log of 3/3. - Add tested-by from Miquel. - There was no V2 of 1-2/3 but only 3/3 on the lists. All are marked as V3 to clear things out. -- viresh [1] https://lkml.kernel.org/r/20180421141943.25705-1-miquel.raynal@bootlin.com Miquel Raynal (1): cpufreq: add suspend/resume support in Armada 37xx DVFS driver Viresh Kumar (2): cpufreq: dt: Allow platform specific suspend/resume callbacks cpufreq: armada: Free resources on error paths drivers/cpufreq/armada-37xx-cpufreq.c | 100 +++++++++++++++++++++++++++++----- drivers/cpufreq/cpufreq-dt.c | 10 +++- drivers/cpufreq/cpufreq-dt.h | 5 ++ 3 files changed, 100 insertions(+), 15 deletions(-) -- 2.15.0.194.g9af6a3dea062