From patchwork Thu Jan 10 20:52:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pawe=C5=82_Chmiel?= X-Patchwork-Id: 10756841 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B216491E for ; Thu, 10 Jan 2019 20:53:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A072129B26 for ; Thu, 10 Jan 2019 20:53:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 93D5B29B2C; Thu, 10 Jan 2019 20:53:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 480B329B26 for ; Thu, 10 Jan 2019 20:53:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=4gCeN3RkBHw9gaYD6fMys2hRLy384HQ1zipA0TFJ89c=; b=kSWkEJJZ4Y27lD 4qgdyXYs3e/5cljAEKDjfy4gesykidTBfHnOWhlCGvXvtgSh5/Pu/+U6etLyesIryV5dg/fAitd4z knmLHhrbYha3KK36iVyuwcIfrKvYxex/EDXMobM23TjmOA0GRfmPQzVIkd5hicXobjIYe7/RDm3rT 4MjeYVtkdCSctHpc6GJ+ewWDQoT8dldKpnWzRK3cfz0aElWQBXMdMgiPtrzn5bbj4EY04nhOSPJQk a9IGvgryClIcVjeHY5B6FynjstK9NHWkWYgtSQidy0+Gz7cVUiv0cHm26ghMsE3/0THDrVY8SJ2u4 95etR4CWTljGMvWtA+3A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1ghhKH-0001nG-R9; Thu, 10 Jan 2019 20:53:17 +0000 Received: from mail-lf1-x142.google.com ([2a00:1450:4864:20::142]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ghhKE-0001lv-JG for linux-arm-kernel@lists.infradead.org; Thu, 10 Jan 2019 20:53:16 +0000 Received: by mail-lf1-x142.google.com with SMTP id v5so9302520lfe.7 for ; Thu, 10 Jan 2019 12:53:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+eSlKha60Px6UNpdnXSUR6EysfM1BrF6z25Bgwx9Baw=; b=syQrfQTQs9KEuxcdxHKh/J8TQDTXYNQXWajawLtDCuKIr8Xs+EQIyINcpDDD4iV39u SzHmgdPFUB4u1PNUNNxzgu5aVsa9395Kmnu0LzHLYmnLrXqSBoAAYr219egJf9U5B2gT +IQ3lMp7mV3A2A/MpPNNQ3N41WI0k6YWe4nUK7yMiz46ZlnUG/HHCo94+5LQoximT5t7 h2PcR4B1LETbvc0kKeZ9PHd+7hNqkQPLG4if8pE0yyFjcLHGRGkud8+rH+/Xt5SgszEp CcHaa9PIMdWehX18NEhjyqdX2m8ZbSOC0I1DP4U+vm0eCIahbw4/nHPecZCNvi5z/G/n +XsA== 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:mime-version :content-transfer-encoding; bh=+eSlKha60Px6UNpdnXSUR6EysfM1BrF6z25Bgwx9Baw=; b=AlP7Ld0WMp3jPIE3PpvfaoVVSUJ1XPSPY3MVhtgqsFM4m6sNqfZXNGqCMKiPCRe6FG 12CJLNMBSDYif1A2rksEcw6nRJfO1CXNyx4u8iURRZ8PQaXivPrNcA6LPg9CvcBfPR9g 52yRYse2uhv1ZQhxwQOYVx4l4gLVHWt3lJhvJIb/xqRfx2gxNnn7zaZEUnIePyfZwCoA T2SfqK2bvvnStcUDEUssZUXLAXnVCwqPfBvAa9ghpV3GoAf6Y6ZetsT4dmxE7mpBk6tY y3ROrXTHrTiIjvFCKRTDp2PT/YuU0v4WaAmwxqMCgyZLFwyhLYP1sOogs/MFadA5LjaN 34xA== X-Gm-Message-State: AJcUukegar5fDecNGLPAnsIS1wy+H8V+4BTgS/brb5NCvjgbNksV4dwS k65OWsZQ0+iswPlfkGh2va8= X-Google-Smtp-Source: ALg8bN5yVCtk0zO/TczaR04e9HTgOfd/c5nRqiqJXlWlxRa65MMcLq2etLGQG3et7RgZkQjlwp1lIw== X-Received: by 2002:a19:ef15:: with SMTP id n21mr7162146lfh.21.1547153591755; Thu, 10 Jan 2019 12:53:11 -0800 (PST) Received: from localhost.localdomain ([2a02:a315:5445:5300:5dc1:592c:c674:2869]) by smtp.googlemail.com with ESMTPSA id z7-v6sm15389690lji.42.2019.01.10.12.53.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Jan 2019 12:53:10 -0800 (PST) From: =?utf-8?q?Pawe=C5=82_Chmiel?= To: kgene@kernel.org Subject: [PATCH v2 0/4] ARM: dts: s5pv210: Enable cpufreq support Date: Thu, 10 Jan 2019 21:52:11 +0100 Message-Id: <20190110205215.22030-1-pawel.mikolaj.chmiel@gmail.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190110_125314_657936_3432DEFD X-CRM114-Status: GOOD ( 12.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-pm@vger.kernel.org, viresh.kumar@linaro.org, rjw@rjwysocki.net, linux@armlinux.org.uk, krzk@kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?q?Pawe=C5=82_Chmiel?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patchset enables cpufreq support using s5pv210-cpufreq driver. First patch adds missing dmc nodes, which are required by driver. Second patch is cosmetic, it stops driver from flooding kernel log with messages, after every change of freq. Third patch adds defer probe support for regulators, needed by driver. It was observed, that those regulators can be no yet initialized, when driver is probed, so we should wait till we can get them. Last patch enables required kernel config options. Changes from v1: - Added Acked-by to one of patches - Fix compilation error after changes in driver - Reorganize code (so it's smaller), inside patch which logs information about defered probe of regulators Paweł Chmiel (4): ARM: dts: s5pv210: Add dmc nodes cpufreq: s5pv210: Don't flood kernel log after cpufreq change cpufreq: s5pv210: Defer probe if getting regulators fail ARM: defconfig: s5pv210: Add cpufreq support arch/arm/boot/dts/s5pv210.dtsi | 12 +++++++++++ arch/arm/configs/s5pv210_defconfig | 6 ++++++ drivers/cpufreq/s5pv210-cpufreq.c | 34 ++++++++++++++++++------------ 3 files changed, 38 insertions(+), 14 deletions(-)