From patchwork Mon Sep 20 07:17:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12504683 X-Patchwork-Delegate: cw00.choi@samsung.com 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 B684DC433FE for ; Mon, 20 Sep 2021 07:18:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9FB0460F25 for ; Mon, 20 Sep 2021 07:18:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234746AbhITHT0 (ORCPT ); Mon, 20 Sep 2021 03:19:26 -0400 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:53824 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234688AbhITHT0 (ORCPT ); Mon, 20 Sep 2021 03:19:26 -0400 Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 20C713FE05 for ; Mon, 20 Sep 2021 07:17:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1632122279; bh=K975uWTYLGkLbkETM9T3s7Y45GbdozAN4S3IGUhBhMo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=aHW8I2Ape/j7CC/v5qfy8w82uDqgd9bw/1PWkgZmB6fL3Qmrb/2ZY3xqBAW1sl8FB O/nbrIOk0nk81LowJuLZ6S+FpWCmjF+EoWzgwiiyz8yMN6FJ0YIh1VgCpqlGQ+8aiM 0imNYMDdWjnKSER+Wfa5FV1/TR7+cJMlTBRCJfH2m9FIIzLMmb6mkXtDV/EmLnhyhh a4oA9Sx+gl1DyTnQjlMUYnxkRhmWuM2Y/GvyOTY6LsLV3L/ZieWr3d/JQ6JiI8tTsJ uLsUEG4/Ir/SXgF9PF81kp9Jw00GtFvch+W3+OYU+bPOg0pGANLRmqRxWSyeB7moaB S15lXlHllFSrg== Received: by mail-wr1-f71.google.com with SMTP id e1-20020adfa741000000b0015e424fdd01so5002367wrd.11 for ; Mon, 20 Sep 2021 00:17:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=K975uWTYLGkLbkETM9T3s7Y45GbdozAN4S3IGUhBhMo=; b=0pPlOYkWU8vgD7kzxWB2wq84LgKQiHXJ29feHUj1/RKND/pWerTk37uBNtfrNssTYT UlS8nORtZlZ+L74sfhH0tfDUbcfWbqn2FOa28GJXg0VDDA2ucguksGOvIAEL78+thbBp oI2qhbHjelw3LDOl30f0HTuJIB7bUVAbPHYDQZRX6bPB1BqsJabgMNGfYjNygpKUqPiH WbEmUh56HiPl+30UsxYHlPZ6C9wdv17en0LNaXcypRu/oDdbaCCullijSV16FCOtU1Gf SqM0z2cTkUWV2VRodK1r5A7cUueKre5tp44W8wPX+Yz5iEBZaZjgTjMjHz7VMCU577lL o4rg== X-Gm-Message-State: AOAM530BaPl884ImIip0VnqPTuJEgHbY4xsHhlWpk0QqGFdxY7+0w5Cv KdPHbjeY90aYNkErg7886eOqRpVUU3UTKXp7aXWRg79nBAi150LyhFsFRC14ScY8afN3BsR/MdN VwTmlJGiGh4zikjFgwJN7MlII99JkQfaZ7qwD X-Received: by 2002:a5d:668c:: with SMTP id l12mr25958811wru.436.1632122278652; Mon, 20 Sep 2021 00:17:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzW4RCYsQAwDVi//vMFGQ0H5hMTUOpmow8nulLe+L4fg0CAxTaF+uxW5s557hhH8OPbHt+Sdw== X-Received: by 2002:a5d:668c:: with SMTP id l12mr25958797wru.436.1632122278512; Mon, 20 Sep 2021 00:17:58 -0700 (PDT) Received: from kozik-lap.lan (lk.84.20.244.219.dc.cable.static.lj-kabel.net. [84.20.244.219]) by smtp.gmail.com with ESMTPSA id a202sm6990798wmd.15.2021.09.20.00.17.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Sep 2021 00:17:57 -0700 (PDT) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Chanwoo Choi , MyungJoo Ham , Kyungmin Park , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Bartlomiej Zolnierkiewicz Subject: [PATCH v2 1/3] devfreq: exynos-ppmu: use node names with hyphens Date: Mon, 20 Sep 2021 09:17:51 +0200 Message-Id: <20210920071753.38560-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210920071540.38337-1-krzysztof.kozlowski@canonical.com> References: <20210920071540.38337-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Devicetree naming convention requires device node names to use hyphens instead of underscore, so Exynos5422 devfreq event name "ppmu-event3-dmc0_0" should be "ppmu-event3-dmc0-0". Newly introduced dtschema enforces this, however the driver still expects old name with an underscore. Add new events for Exynos5422 while still accepting old name for backwards compatibility. Signed-off-by: Krzysztof Kozlowski --- drivers/devfreq/event/exynos-ppmu.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/devfreq/event/exynos-ppmu.c b/drivers/devfreq/event/exynos-ppmu.c index 17ed980d9099..541bd13ab61d 100644 --- a/drivers/devfreq/event/exynos-ppmu.c +++ b/drivers/devfreq/event/exynos-ppmu.c @@ -94,11 +94,16 @@ static struct __exynos_ppmu_events { PPMU_EVENT(d1-general), PPMU_EVENT(d1-rt), - /* For Exynos5422 SoC */ + /* For Exynos5422 SoC, deprecated (backwards compatible) */ PPMU_EVENT(dmc0_0), PPMU_EVENT(dmc0_1), PPMU_EVENT(dmc1_0), PPMU_EVENT(dmc1_1), + /* For Exynos5422 SoC */ + PPMU_EVENT(dmc0-0), + PPMU_EVENT(dmc0-1), + PPMU_EVENT(dmc1-0), + PPMU_EVENT(dmc1-1), }; static int __exynos_ppmu_find_ppmu_id(const char *edev_name) From patchwork Mon Sep 20 07:17:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12504685 X-Patchwork-Delegate: cw00.choi@samsung.com 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 397A5C4332F for ; Mon, 20 Sep 2021 07:18:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 10C31610A8 for ; Mon, 20 Sep 2021 07:18:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234861AbhITHTf (ORCPT ); Mon, 20 Sep 2021 03:19:35 -0400 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:49468 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233294AbhITHTe (ORCPT ); Mon, 20 Sep 2021 03:19:34 -0400 Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 425B13FE02 for ; Mon, 20 Sep 2021 07:18:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1632122287; bh=g/5RG3r3yZseQXLqjOW/OPcxsvmzNDs0bMtIh+wjazo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=qtl5f3NYKfIM6F21oFE4Tkh6GMTpFS1ZqSJiypv5t82McPDZr2wshHq1UV9yuC5dW tj5NCIoTFjKJM1WjvsXQ4sfsKq2GgIITzwrvMnRIxAQeNZWIFMmV+F3NVKvznIPe6Z e9HyHFWNwN2GtNX1U5CAjOrLDcwRgeq6n0hpC/XRximsLCerPCv5QRaW6KtSpBvgpL 25tnIEAxztOjeBiR8+yhCRU7BkocS7fHcynzlwsWN2qcvQCVsbC1Brl/hRqak5L43C IzCxNp6IRIht+P3hW7qOuFi3PDkRL1cepLSGU+y7GYauz/mgymq9z/21dFoiGCe8qN xDb0vVdbRLrWQ== Received: by mail-wm1-f69.google.com with SMTP id m9-20020a05600c4f4900b003057c761567so5420213wmq.1 for ; Mon, 20 Sep 2021 00:18:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=g/5RG3r3yZseQXLqjOW/OPcxsvmzNDs0bMtIh+wjazo=; b=RNjOWh6n5Vmpn7IEvrejJkDHpBlTeaMpLFv5+VgXzhxsPigPb8ZwBQNprIJi/GNT1h L9w4iPWPj2atmXJLGj0q0557HsZ71lO2OPbGpjChCAfj1v3O7fz+Bi6QqGn/m+LGDKVs tJQfaIEeLYAUyceTszIPHBYqGKKmzIy/RFZXvHmznZ3IuZOhXfve+5UmwYRB6ZcTLslr QQEffJDTlKAniZhGJtbsSDHIPp/WoovCOD33gFEqa/A5u2/Qwwyaz0sJE6iZ5Lqve1Wk u6ykX444rruq1G/ZBya1Z4RQkEZ57LfIT9lLfqhSPeT9twwM6g9NJ7GGeZ2lqsYrf++B sn0g== X-Gm-Message-State: AOAM530HWVh13Tiq9Y9kmkgdG19IT3Rge/aaN1HBK0vbr6BXT4Z4KiZ3 30c8THaMh5lpkCeJrHduDUsIEYvXxA7vizeH0jqf8g731o2Tc2ItG585CeRsYhml6GCdJXyJBbW OIP3gNKxNW4Gks6kpbTpK65iqRAqIgwnhcZHg X-Received: by 2002:adf:b7c5:: with SMTP id t5mr26612607wre.322.1632122286574; Mon, 20 Sep 2021 00:18:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz09HTrwbItt4V4htloX64whzplHYzcpSmGaXTvrQepaoBp1J3Tpven9yjUCHjyNrL5/xX1aw== X-Received: by 2002:adf:b7c5:: with SMTP id t5mr26612589wre.322.1632122286380; Mon, 20 Sep 2021 00:18:06 -0700 (PDT) Received: from kozik-lap.lan (lk.84.20.244.219.dc.cable.static.lj-kabel.net. [84.20.244.219]) by smtp.gmail.com with ESMTPSA id a202sm6990798wmd.15.2021.09.20.00.18.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Sep 2021 00:18:05 -0700 (PDT) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Chanwoo Choi , MyungJoo Ham , Kyungmin Park , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Bartlomiej Zolnierkiewicz Subject: [PATCH v2 2/3] devfreq: exynos-ppmu: simplify parsing event-type from DT Date: Mon, 20 Sep 2021 09:17:52 +0200 Message-Id: <20210920071753.38560-2-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210920071540.38337-1-krzysztof.kozlowski@canonical.com> References: <20210920071540.38337-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org When parsing devicetree, the function of_get_devfreq_events(), for each device child node, iterates over array of possible events "ppmu_events" till it finds one matching by node name. When match is found the ppmu_events[i] points to element having both the name of the event and the counters ID. Each PPMU device child node might have an "event-name" property with the name of the event, however due to the design of devfreq it must be the same as the device node name. If it is not the same, the devfreq client won't be able to use it via devfreq_event_get_edev_by_phandle(). Since PPMU device child node name must be equal to the "event-name" property (event-name == ppmu_events[i].name), there is no need to find the counters ID by the "event-name". Instead use ppmu_events[i].id which must be equal to it. Signed-off-by: Krzysztof Kozlowski --- drivers/devfreq/event/exynos-ppmu.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/devfreq/event/exynos-ppmu.c b/drivers/devfreq/event/exynos-ppmu.c index 541bd13ab61d..9b849d781116 100644 --- a/drivers/devfreq/event/exynos-ppmu.c +++ b/drivers/devfreq/event/exynos-ppmu.c @@ -566,13 +566,10 @@ static int of_get_devfreq_events(struct device_node *np, * use default if not. */ if (info->ppmu_type == EXYNOS_TYPE_PPMU_V2) { - int id; /* Not all registers take the same value for * read+write data count. */ - id = __exynos_ppmu_find_ppmu_id(desc[j].name); - - switch (id) { + switch (ppmu_events[i].id) { case PPMU_PMNCNT0: case PPMU_PMNCNT1: case PPMU_PMNCNT2: From patchwork Mon Sep 20 07:17:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12504687 X-Patchwork-Delegate: cw00.choi@samsung.com 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 56ECCC43219 for ; Mon, 20 Sep 2021 07:18:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3E91061159 for ; Mon, 20 Sep 2021 07:18:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234822AbhITHTg (ORCPT ); Mon, 20 Sep 2021 03:19:36 -0400 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:49490 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234851AbhITHTf (ORCPT ); Mon, 20 Sep 2021 03:19:35 -0400 Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 6002F40292 for ; Mon, 20 Sep 2021 07:18:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1632122288; bh=swGJ1gN3O+A01G8QTLTNdHDVpdphD2BLeeNkqQuo/Sc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=iBQdk/xKpOAu30pawOebJFnbMkdXFn7R8Z9bLYM+X/F0N23/WWgRjnIm8Z4vG5Rov gOaVRcapRrwoJP9dREeGO+rLBM1As0J13EpDKumUOqOM0pB/cx/nAsfoHcZPHBaaLL dsJKi9F9/4BVCl0IdApiE4/LwaMzbj8JreSZLEUA2a6DdWMgsPD9NOQXwT9Qarl//W 4ojLQVBebD/vKAUwuk+LevW3nNN1vhhhkm+OFtrqUUS1AzpEaTn7qP+qrApJhvke6I JD7/PK/mFmmCEpaXiYuB0BVdYFoWixijwjaWLiG0o+cR9+2T8oys+9NzWQKIlXNMPv D6L2aTy+bJ9Gg== Received: by mail-wr1-f70.google.com with SMTP id m18-20020adfe952000000b0015b0aa32fd6so5465179wrn.12 for ; Mon, 20 Sep 2021 00:18:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=swGJ1gN3O+A01G8QTLTNdHDVpdphD2BLeeNkqQuo/Sc=; b=PxKjnDvv/gb/n78YmJavSzpSwMjgPfSZiTttm9inlJuw/8kj4qOchd657/ues/Fi96 7w4esgSl0x/btDcqgsnFaZnaV/30ERe4rMmMOGe6sIcH0JIKFR78r6d29huTQsRn6J2K 2bhSzOQTwubJn3cGgHT08QiJhTTsIs0ZgwE/sX2c8YimjJE4/eNT350ir9oDEjspJFj9 aMlZoqQa8AWRYBepVC00j6hfrKXvQoPohncsOBsa/LxX3MchoVLvQCmJTJt9JSVajW0h j3o83H1d5QSekaIcE83bvCjac6m3Vk1aUX8Ucjljl3CEecYFNpOgKeaoxcj/cLBxaj0A F65w== X-Gm-Message-State: AOAM532njVk7+SENpmqvcGKQBC+uZlUoGemzVVqMaDGPVfQsgfrXjKSp 4C3BqK7bKVIsZjuWHGLMsIVYoJE71v4LT5yD2Pwl/QUf8jXRkSCpA8TH2pIZ7dqfxxGCU6swSYB L+YknvKsdK2Jc4nBgVSgWqTL65ZDPtnVcd59+ X-Received: by 2002:a1c:4d01:: with SMTP id o1mr22731734wmh.61.1632122288055; Mon, 20 Sep 2021 00:18:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzwD/PArfs9F4Roo/d4YvUWVOAOminsTVQuygI6zh+bxukqW4C/NtN2gDIjven3qWcbaSdyNw== X-Received: by 2002:a1c:4d01:: with SMTP id o1mr22731719wmh.61.1632122287863; Mon, 20 Sep 2021 00:18:07 -0700 (PDT) Received: from kozik-lap.lan (lk.84.20.244.219.dc.cable.static.lj-kabel.net. [84.20.244.219]) by smtp.gmail.com with ESMTPSA id a202sm6990798wmd.15.2021.09.20.00.18.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Sep 2021 00:18:07 -0700 (PDT) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Chanwoo Choi , MyungJoo Ham , Kyungmin Park , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Bartlomiej Zolnierkiewicz Subject: [PATCH v2 3/3] ARM: dts: exynos: align PPMU event node names with dtschema Date: Mon, 20 Sep 2021 09:17:53 +0200 Message-Id: <20210920071753.38560-3-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210920071540.38337-1-krzysztof.kozlowski@canonical.com> References: <20210920071540.38337-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Use hyphen instead of underscore and align the PPMU event node name with dtschema. The event-name property must match the node name, by the design of devfreq events and PPMU driver. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Chanwoo Choi --- arch/arm/boot/dts/exynos5420.dtsi | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index e23e8ffb093f..b2f30bea96ce 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -302,8 +302,8 @@ ppmu_dmc0_0: ppmu@10d00000 { clocks = <&clock CLK_PCLK_PPMU_DREX0_0>; clock-names = "ppmu"; events { - ppmu_event3_dmc0_0: ppmu-event3-dmc0_0 { - event-name = "ppmu-event3-dmc0_0"; + ppmu_event3_dmc0_0: ppmu-event3-dmc0-0 { + event-name = "ppmu-event3-dmc0-0"; }; }; }; @@ -314,8 +314,8 @@ ppmu_dmc0_1: ppmu@10d10000 { clocks = <&clock CLK_PCLK_PPMU_DREX0_1>; clock-names = "ppmu"; events { - ppmu_event3_dmc0_1: ppmu-event3-dmc0_1 { - event-name = "ppmu-event3-dmc0_1"; + ppmu_event3_dmc0_1: ppmu-event3-dmc0-1 { + event-name = "ppmu-event3-dmc0-1"; }; }; }; @@ -326,8 +326,8 @@ ppmu_dmc1_0: ppmu@10d60000 { clocks = <&clock CLK_PCLK_PPMU_DREX1_0>; clock-names = "ppmu"; events { - ppmu_event3_dmc1_0: ppmu-event3-dmc1_0 { - event-name = "ppmu-event3-dmc1_0"; + ppmu_event3_dmc1_0: ppmu-event3-dmc1-0 { + event-name = "ppmu-event3-dmc1-0"; }; }; }; @@ -338,8 +338,8 @@ ppmu_dmc1_1: ppmu@10d70000 { clocks = <&clock CLK_PCLK_PPMU_DREX1_1>; clock-names = "ppmu"; events { - ppmu_event3_dmc1_1: ppmu-event3-dmc1_1 { - event-name = "ppmu-event3-dmc1_1"; + ppmu_event3_dmc1_1: ppmu-event3-dmc1-1 { + event-name = "ppmu-event3-dmc1-1"; }; }; };