From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C89CDC7618B for ; Mon, 29 Jul 2019 08:21:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A90812070B for ; Mon, 29 Jul 2019 08:21:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727585AbfG2IVc (ORCPT ); Mon, 29 Jul 2019 04:21:32 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:34573 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726305AbfG2IVc (ORCPT ); Mon, 29 Jul 2019 04:21:32 -0400 X-UUID: 780830a3b75549efb0a14e7921b571d2-20190729 X-UUID: 780830a3b75549efb0a14e7921b571d2-20190729 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0707 with TLS) with ESMTP id 404034317; Mon, 29 Jul 2019 16:21:24 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 29 Jul 2019 16:21:23 +0800 Received: from mtksdaap41.mediatek.inc (172.21.77.4) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 29 Jul 2019 16:21:23 +0800 From: Roger Lu To: Kevin Hilman , Rob Herring , Nicolas Boichat , Stephen Boyd CC: Fan Chen , HenryC Chen , , Angus Lin , Mark Rutland , Matthias Brugger , Nishanth Menon , Roger Lu , , , , , Subject: PM / AVS: SVS: Introduce SVS engine Date: Mon, 29 Jul 2019 16:20:30 +0800 Message-ID: <20190729082032.13661-1-roger.lu@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 7BD0541FC892B82770FD20972E089988A363FED08225FB08CE915C3077133DE42000:8 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SVS driver use OPP adjust event in [1] to update OPP table voltage part. [1] https://patchwork.kernel.org/patch/10946069/ changes since v3: - return -ENOMEM when kmalloc() cannot allocate memory. - Refine SVS debug log format for SVS designer request. Roger Lu (2): dt-bindings: soc: add mtk svs dt-bindings PM / AVS: SVS: Introduce SVS engine .../devicetree/bindings/power/mtk-svs.txt | 88 + drivers/power/avs/Kconfig | 10 + drivers/power/avs/Makefile | 1 + drivers/power/avs/mtk_svs.c | 2075 +++++++++++++++++ include/linux/power/mtk_svs.h | 23 + 5 files changed, 2197 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/mtk-svs.txt create mode 100644 drivers/power/avs/mtk_svs.c create mode 100644 include/linux/power/mtk_svs.h From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roger Lu Subject: PM / AVS: SVS: Introduce SVS engine Date: Mon, 29 Jul 2019 16:20:30 +0800 Message-ID: <20190729082032.13661-1-roger.lu@mediatek.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Kevin Hilman , Rob Herring , Nicolas Boichat , Stephen Boyd Cc: Mark Rutland , Nishanth Menon , Angus Lin , devicetree@vger.kernel.org, linux-pm@vger.kernel.org, Roger Lu , linux-kernel@vger.kernel.org, HenryC Chen , yt.lee@mediatek.com, Fan Chen , linux-mediatek@lists.infradead.org, Matthias Brugger , linux-arm-kernel@lists.infradead.org List-Id: devicetree@vger.kernel.org SVS driver use OPP adjust event in [1] to update OPP table voltage part. [1] https://patchwork.kernel.org/patch/10946069/ changes since v3: - return -ENOMEM when kmalloc() cannot allocate memory. - Refine SVS debug log format for SVS designer request. Roger Lu (2): dt-bindings: soc: add mtk svs dt-bindings PM / AVS: SVS: Introduce SVS engine .../devicetree/bindings/power/mtk-svs.txt | 88 + drivers/power/avs/Kconfig | 10 + drivers/power/avs/Makefile | 1 + drivers/power/avs/mtk_svs.c | 2075 +++++++++++++++++ include/linux/power/mtk_svs.h | 23 + 5 files changed, 2197 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/mtk-svs.txt create mode 100644 drivers/power/avs/mtk_svs.c create mode 100644 include/linux/power/mtk_svs.h From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5F215C433FF for ; Mon, 29 Jul 2019 08:21:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2AB14206BA for ; Mon, 29 Jul 2019 08:21:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="EdawKCKq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2AB14206BA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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=RS4+ATQV03aPxPcNEQz+d1ZYGhffGoZoNK7PT971oMI=; b=EdawKCKqmY8B63 Un4aSqLbygZRhgdm9XxPCA8Z9vcRJerTaqkuu+gwqImLwq0gRzk++0yB5J/OANVFg+dkV+72hpsjm JPZENU2oXn508fkMu/MAWmCRhWkfZBsHgWRzjbEsTcw8qAds2ecrCSqa5r9jgiI6TNKOR/yw7tRQD f6btOIWOmU5bhhmz2DuJnslBefVDiysTrEp6L4ZfQ2WNYGVtOTJLZQFWKP+lwCjcZTfux3mdFXtao zfyWWy/hfisoJWz6Ld2wNDjVhwg5NSloN9UeCc9IHg8lX3g2mG5cigsy6Y7cpBfv8gscJGf7Os1u/ HDrGPeOZicZjySaapRrA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hs0uR-0005Lp-OJ; Mon, 29 Jul 2019 08:21:31 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hs0uO-0005Kh-VB; Mon, 29 Jul 2019 08:21:30 +0000 X-UUID: f61d317e84604fad8229e2956c324870-20190729 X-UUID: f61d317e84604fad8229e2956c324870-20190729 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 516650020; Mon, 29 Jul 2019 00:21:27 -0800 Received: from MTKMBS02N2.mediatek.inc (172.21.101.101) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 29 Jul 2019 01:21:26 -0700 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 29 Jul 2019 16:21:23 +0800 Received: from mtksdaap41.mediatek.inc (172.21.77.4) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 29 Jul 2019 16:21:23 +0800 From: Roger Lu To: Kevin Hilman , Rob Herring , Nicolas Boichat , Stephen Boyd Subject: PM / AVS: SVS: Introduce SVS engine Date: Mon, 29 Jul 2019 16:20:30 +0800 Message-ID: <20190729082032.13661-1-roger.lu@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-TM-SNTS-SMTP: 7BD0541FC892B82770FD20972E089988A363FED08225FB08CE915C3077133DE42000:8 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190729_012129_010516_78BDE84E X-CRM114-Status: UNSURE ( 6.50 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Nishanth Menon , Angus Lin , devicetree@vger.kernel.org, linux-pm@vger.kernel.org, Roger Lu , linux-kernel@vger.kernel.org, HenryC Chen , yt.lee@mediatek.com, Fan Chen , linux-mediatek@lists.infradead.org, Matthias Brugger , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org SVS driver use OPP adjust event in [1] to update OPP table voltage part. [1] https://patchwork.kernel.org/patch/10946069/ changes since v3: - return -ENOMEM when kmalloc() cannot allocate memory. - Refine SVS debug log format for SVS designer request. Roger Lu (2): dt-bindings: soc: add mtk svs dt-bindings PM / AVS: SVS: Introduce SVS engine .../devicetree/bindings/power/mtk-svs.txt | 88 + drivers/power/avs/Kconfig | 10 + drivers/power/avs/Makefile | 1 + drivers/power/avs/mtk_svs.c | 2075 +++++++++++++++++ include/linux/power/mtk_svs.h | 23 + 5 files changed, 2197 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/mtk-svs.txt create mode 100644 drivers/power/avs/mtk_svs.c create mode 100644 include/linux/power/mtk_svs.h _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel