From patchwork Tue Apr 24 06:07:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 134051 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp1845136lji; Mon, 23 Apr 2018 23:08:24 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/6rryWww3kAtTEi40v1uQCEEZbSKYNWT5cvm7tyEcswVxJAFiQwyh813yzieZyLDByXrxM X-Received: by 2002:a17:902:9898:: with SMTP id s24-v6mr23686687plp.51.1524550104617; Mon, 23 Apr 2018 23:08:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524550104; cv=none; d=google.com; s=arc-20160816; b=pTodN543NxxdTFeaHPKaiOrdhUk5KRuxhO24wADGKw1AM2PNB9qOp39WoHOenfksTl W1rEUIwsMiYfBJZW3XrtBnpgZeOwKrcKHuXK/4s4+sHwERGxT0W7TTKXXhr0snNqCtnz pGQHz2r4zrzyPcYlYyLWF+U5Gpz4gLxk2G8d9s2yo+AglNHncjwbX7hiNquONjpYj0uE wI++krwR55SPtp45N8mHv+hTJ85WKRSzaheKK1oFS2xZwVqe4C6T3TKWnC/7Y6ZHeiUY PMeOdMPwAQJ86eF/SG1KKO/OnCUe50P9aaO02dBIM5ShgomBC7W8o+paX/uDRrHFvCV9 Sd6w== 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=32c+i3Bo7FQ//2XDgPVHJXk6yvldQ00unUm/DFKaDZ4=; b=iD4XS7HI9/kTl3SxTqkaOcb7a3dJJuCOHH8DBYZhV7YCnANwSSiL+hK5tLJ3MnJE/R T1HtxuWD3nAZZdZyg9GTLilimgMOF/orHzw3WTGOaj9X77BB/kdLCWALmz5RD7ohYXhX 0Z8hv080r6Ws5l+SuRDZwvowdXQLorTge4Ye5xdngUOxxjwwycPAYpZaDApsXt3zmRfL A/P+dQyHzbno8QQCAVTf7+sK1DIDN6tY9khTMyeC85W351rfXfLU99/PHOG4RCFGA9+N TXP0fdmCfs9FWvnN4Bq1odKKt15fpaGuJMC7AV9zlAAz1mDfhlOIKmRIxvy7nhXQ2/ZY Y+zA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KKHLYnjP; 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 y5si12475283pfe.184.2018.04.23.23.08.24; Mon, 23 Apr 2018 23:08:24 -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=KKHLYnjP; 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 S1756212AbeDXGIX (ORCPT + 11 others); Tue, 24 Apr 2018 02:08:23 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:34926 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756208AbeDXGIX (ORCPT ); Tue, 24 Apr 2018 02:08:23 -0400 Received: by mail-pf0-f196.google.com with SMTP id j5so11355509pfh.2 for ; Mon, 23 Apr 2018 23:08:22 -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=32c+i3Bo7FQ//2XDgPVHJXk6yvldQ00unUm/DFKaDZ4=; b=KKHLYnjPGZlGqLV9QvdGgs8gf71xs+jW3+vRsYkEfnjqG+u0Yxq55JlcdyXco/E5LD vdE756MFOyHLuIWsycsbZAjklAmzC6EeqJdWjZ7/Jlew3fgI/2LX6NPU7+rypQ+QKcw+ VC2CQkKpkxwCWaX5zmDgmL4bLFQ+Oriah+r/I= 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=32c+i3Bo7FQ//2XDgPVHJXk6yvldQ00unUm/DFKaDZ4=; b=atIR5W7blpufTF1OCSop162uRrYanuFq5BvCPL9ooiDiUYl/Vof/ZHqw5IE8eb7yx2 w7IlJ5TsIM7vGLxSzsob7elBXfI8mXJ6ALW65dEiiqpDEsm5pvD/8QQjQ8W0Z+75qFJ7 VosEr7DY4YQSF6x6SmwwVt/3Jjr84rkGm9xgI/vsyn4oIdeBrQtgmdIetkbFDlUv/1na trXE6gFpA/Aaxjtr9jsQDGvSKUbRv3tr13U+rjwMIdj6C0njKyf3/aazKwzS6LVuuL3Q WU0GSv8RtAhqLQ4ZhRdDyuXVk3Wj/tqXRsc+jPziyB5ObeZ+ZmGbkWRCRRlT83mHBFRY 6kMg== X-Gm-Message-State: ALQs6tASQH18fesD1po5X/4xQq9fULpbwZUNoHshI1CKC3pvkXqcp/T4 /5sJeGRCtv+B6zYmKJG4eBX2Lw== X-Received: by 2002:a17:902:9886:: with SMTP id s6-v6mr23449134plp.380.1524550102539; Mon, 23 Apr 2018 23:08:22 -0700 (PDT) Received: from localhost ([122.172.61.40]) by smtp.gmail.com with ESMTPSA id o2sm23446910pgq.87.2018.04.23.23.08.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Apr 2018 23:08:21 -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 0/3] cpufreq: dt: Allow platforms to provide suspend/resume hooks Date: Tue, 24 Apr 2018 11:37:33 +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 Miquel, This is in response to the patch[1] you sent. 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 your patch and applied that on top of all this. I haven't tested any of this and would need your help to get that done. Thanks. -- 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 | 107 +++++++++++++++++++++++++++++----- drivers/cpufreq/cpufreq-dt.c | 10 +++- drivers/cpufreq/cpufreq-dt.h | 5 ++ 3 files changed, 104 insertions(+), 18 deletions(-) -- 2.15.0.194.g9af6a3dea062 Tested-by: Miquel Raynal