From patchwork Sun Dec 4 11:38:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 631034 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A63AFC4708D for ; Sun, 4 Dec 2022 11:38:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230045AbiLDLis (ORCPT ); Sun, 4 Dec 2022 06:38:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229941AbiLDLip (ORCPT ); Sun, 4 Dec 2022 06:38:45 -0500 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CBEA17A84 for ; Sun, 4 Dec 2022 03:38:44 -0800 (PST) Received: by mail-lf1-x131.google.com with SMTP id b13so3488499lfo.3 for ; Sun, 04 Dec 2022 03:38:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=54f+fjheTEu/HUFdw3SEpbYwL3Q8sweFLRQqmQJ/lT8=; b=Ud9QLMzZoXfwnzdZvxmXKfg4fWfJ4gVjkftsbMdqxCbCtMeqVOiGKLEfo/XFMulUc+ zX+rOwbsQnoNv1FEUAcf/LzBbpmy1mlQu8gxxA5MTho6UfFT/fp+8z9KrixU2eBFPilG CZDG6J+jJyBQnxoj3Qa/ChMSO2hAkA5FsF4ricC6xLXuNmMMahh/j5f/zDp9Qz8viZGh kMlz4DD0PHZKTNDBxujjrYP1iCZBkqGSaat8FXCumzPkh4sgf+BEjYA751r9VHgvX2S5 FchSY9VoSJ8Xjpl7VBrl5Tke+ZFI+X1xBlWt5Thex4bPg7kIIYXzbMNG3wpzgPCGzeMh PxHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=54f+fjheTEu/HUFdw3SEpbYwL3Q8sweFLRQqmQJ/lT8=; b=drgr7UsJJ20P2oGSKuad/uG13X/YCKhrJUsb5U8GZuBNItEzdZQNPVk6NB6Vo+i6v3 ClaEc7AR6Lrl94meb5mLwMB06+pKC4O4uC2w0bE8hjy0ObbrBw9kXqFA68KJ6XAGnZO2 xKtyETRhXWel3YCCVDVfRjGi6rFkIBmcXDoPVjllYifitQmyAdJCc4BNMwILpCPxmDcM yb7hUQ/G9/xQ08Icx4T/1Z5aIHBPb/fBU8uD5v1/fCM8v7RUVlaQVnCgbTgsto4A9zyI SjOdqQT3CeIRVLEreoEHjpNbjI+vAn4339sP9lZI5WV6hqVilWNgQM3TJwP5R6KmipXG TJ4g== X-Gm-Message-State: ANoB5pnb0fic0YVJzleSYSAyvYoD8zzgR89r8A9iD1tT8LpKJTwVMqJ9 Pnm0OcKP+vA8AY2DMJ6bTixjwQ== X-Google-Smtp-Source: AA0mqf7M+HMtv9wOr7r6bDC/233KEeqt0lljhQxyXE4Y797JndzqbGhMEmEZ7w2cy3n0EgSjXkX8IQ== X-Received: by 2002:a05:6512:400e:b0:4b5:5da1:4bc7 with SMTP id br14-20020a056512400e00b004b55da14bc7mr2044562lfb.485.1670153922489; Sun, 04 Dec 2022 03:38:42 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id a11-20020ac25e6b000000b0048a9e899693sm1762826lfr.16.2022.12.04.03.38.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Dec 2022 03:38:42 -0800 (PST) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH RFT 1/3] arm64: dts: exynos: drop pwm-names from MAX77843 haptic in TM2 Date: Sun, 4 Dec 2022 12:38:37 +0100 Message-Id: <20221204113839.151816-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org MAX77843 haptici driver does not take 'pwm-names' property: exynos5433-tm2.dtb: pmic@66: motor-driver: 'pwm-names' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi index 5b002a85b792..a8224b3123d4 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi @@ -925,7 +925,6 @@ haptic: motor-driver { compatible = "maxim,max77843-haptic"; haptic-supply = <&ldo38_reg>; pwms = <&pwm 0 33670 0>; - pwm-names = "haptic"; }; }; }; From patchwork Sun Dec 4 11:38:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 631033 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8BB22C47090 for ; Sun, 4 Dec 2022 11:38:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229638AbiLDLix (ORCPT ); Sun, 4 Dec 2022 06:38:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229800AbiLDLir (ORCPT ); Sun, 4 Dec 2022 06:38:47 -0500 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5406717A95 for ; Sun, 4 Dec 2022 03:38:45 -0800 (PST) Received: by mail-lf1-x131.google.com with SMTP id 1so807016lfz.4 for ; Sun, 04 Dec 2022 03:38:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=aWCnTBAXgMLf9K5izu+NUfHfWe3RS/uwzoe6Lzffpls=; b=h6tH2DTAswtfjXxwkyuaAx7a0AmHdjQl+sM1onabkrtPyEiiJOPCUGAt5zGkk6Yg33 KffFd773Kny+MkxvJiVofGjnQpy7SAL2haneFyzSD7dbKf+T36hanJETPJ4dsWw+p+GT eIfWIrV0hefz2HeIof7+I48iYaAnFD2SPiNlMA3LpbExH43T8gDp9EGjCZR0BH2pFTnH hraBUtyMoEc5AvI77eo6fjilrw/sh4Osmidu/ckto0YKTJpgKZ4iLYMApZGUAyfFvMbc 5VX0ijLeGdTIyfpb63IBsLmZb2pF/Z2vWLLi/gt9Mcf0SDuw0plDvq1HlNyMwyp5XrPr yLEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=aWCnTBAXgMLf9K5izu+NUfHfWe3RS/uwzoe6Lzffpls=; b=Tv7ZqDviJe2snPQ/M94Kl5B6V1VAL1cVf2LStz80Ae7hqedyjn8iLYOJZ2oi1qe9W+ NNQH2kGS544hAcQvX5VUkboS9HL4OcQ3m2eKOngd1Oy8ApUpbyK165IsW+w1Bi5OHBgE HrrOvfFDVVCZqO/GedF5rFMGGoowSO8jNIoOIfmjVVTmf9goOn8fp5BT2+6vpY4wK7co SZ54oQF0YEiOdb5bUVVX1jF7to7HngUYrnvEedO64dW2RwKBA0fAj/d3L3HyZU1P4+HR GBLdjM1LnJwGQES1f9a9vwGrwMMZjqbXKErff1GE7Igiv/wJz6tt4+r1gtvy6XQA07P3 hQCQ== X-Gm-Message-State: ANoB5plmzHW17SWR7rO3a5izFBdqUHHkv+k+JHa6bLpIiJJXrDg9Q8QA goAh0ofKYADLhtcSiXfZ2AYs5g== X-Google-Smtp-Source: AA0mqf48lyZX3QBPnm83zQP9tqlmdt3n3Q4v0C/QwavZb7shI+7UyhpzrG85H3klFGTWQLY41BxXRA== X-Received: by 2002:a05:6512:3416:b0:498:f589:c1b3 with SMTP id i22-20020a056512341600b00498f589c1b3mr20163577lfr.406.1670153923578; Sun, 04 Dec 2022 03:38:43 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id a11-20020ac25e6b000000b0048a9e899693sm1762826lfr.16.2022.12.04.03.38.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Dec 2022 03:38:43 -0800 (PST) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH RFT 2/3] arm64: dts: exynos: drop clock-frequency from CPU nodes in TM2 Date: Sun, 4 Dec 2022 12:38:38 +0100 Message-Id: <20221204113839.151816-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221204113839.151816-1-krzysztof.kozlowski@linaro.org> References: <20221204113839.151816-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org The CPU frequencies are determined by OPP table, so drop the 'clock-frequency' property. It is not parsed by any driver. Signed-off-by: Krzysztof Kozlowski --- "It is not parsed" - I hope... --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 8 -------- 1 file changed, 8 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index 8619920da4b6..88983d912479 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -89,7 +89,6 @@ cpu0: cpu@100 { compatible = "arm,cortex-a53"; enable-method = "psci"; reg = <0x100>; - clock-frequency = <1300000000>; clocks = <&cmu_apollo CLK_SCLK_APOLLO>; clock-names = "apolloclk"; operating-points-v2 = <&cluster_a53_opp_table>; @@ -108,7 +107,6 @@ cpu1: cpu@101 { compatible = "arm,cortex-a53"; enable-method = "psci"; reg = <0x101>; - clock-frequency = <1300000000>; operating-points-v2 = <&cluster_a53_opp_table>; #cooling-cells = <2>; i-cache-size = <0x8000>; @@ -125,7 +123,6 @@ cpu2: cpu@102 { compatible = "arm,cortex-a53"; enable-method = "psci"; reg = <0x102>; - clock-frequency = <1300000000>; operating-points-v2 = <&cluster_a53_opp_table>; #cooling-cells = <2>; i-cache-size = <0x8000>; @@ -142,7 +139,6 @@ cpu3: cpu@103 { compatible = "arm,cortex-a53"; enable-method = "psci"; reg = <0x103>; - clock-frequency = <1300000000>; operating-points-v2 = <&cluster_a53_opp_table>; #cooling-cells = <2>; i-cache-size = <0x8000>; @@ -159,7 +155,6 @@ cpu4: cpu@0 { compatible = "arm,cortex-a57"; enable-method = "psci"; reg = <0x0>; - clock-frequency = <1900000000>; clocks = <&cmu_atlas CLK_SCLK_ATLAS>; clock-names = "atlasclk"; operating-points-v2 = <&cluster_a57_opp_table>; @@ -178,7 +173,6 @@ cpu5: cpu@1 { compatible = "arm,cortex-a57"; enable-method = "psci"; reg = <0x1>; - clock-frequency = <1900000000>; operating-points-v2 = <&cluster_a57_opp_table>; #cooling-cells = <2>; i-cache-size = <0xc000>; @@ -195,7 +189,6 @@ cpu6: cpu@2 { compatible = "arm,cortex-a57"; enable-method = "psci"; reg = <0x2>; - clock-frequency = <1900000000>; operating-points-v2 = <&cluster_a57_opp_table>; #cooling-cells = <2>; i-cache-size = <0xc000>; @@ -212,7 +205,6 @@ cpu7: cpu@3 { compatible = "arm,cortex-a57"; enable-method = "psci"; reg = <0x3>; - clock-frequency = <1900000000>; operating-points-v2 = <&cluster_a57_opp_table>; #cooling-cells = <2>; i-cache-size = <0xc000>; From patchwork Sun Dec 4 11:38:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 631266 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E0F3C4708E for ; Sun, 4 Dec 2022 11:38:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230020AbiLDLix (ORCPT ); Sun, 4 Dec 2022 06:38:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229638AbiLDLir (ORCPT ); Sun, 4 Dec 2022 06:38:47 -0500 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31D4417AA8 for ; Sun, 4 Dec 2022 03:38:46 -0800 (PST) Received: by mail-lj1-x229.google.com with SMTP id z4so10465341ljq.6 for ; Sun, 04 Dec 2022 03:38:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=A/pyD6f/Bd5araMX2BGAQkyHpIILubF0UH36/Nqyung=; b=pw+/weV8273mc7WQRhOCz/fEmRatku/+mzB7uNOZ2IgDyxteXWbePyBdLhwP5Ky4GZ WvYGMOmrTOnelA+B6wKLGtkoy7R0aoCBtiqwwWQ3CLSowrMihPQKhUsbHHQZGLt3T7d9 05z9BJFi9WffNpdIO0N7D4F9buOBtSfQsHFRhN1L0xgo+ki0OHFqRI+7Px1i3oPJCTt1 8X6CjYppXj+cekpDrUasxP/IVLKAuOk01pw/dz+89sLkJdjqFSETPdNUUsj8pLvjFC07 o7oiztrKS7KG2V7ATFuy6K1CNVaHkC/MINf3U1aGo1EHrXO5kRgKcND2whFi8k6icmUR dX5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=A/pyD6f/Bd5araMX2BGAQkyHpIILubF0UH36/Nqyung=; b=pHmVdcKu8/9KVHt78jT7+fDZ//qQ+iipG9xTDoNCeg1k5VdFFlZDTvGvXJoBmCKCtf GEw7C1gFVhgQO2/bXqxDHEFIVP4gCkk3FvINrZqYd4wkAz06wrMxdvbQ28mlKVLVKxn+ Vt/2NqQ6uk1NO6TUjPaxlJlIrXgkMcnMY6HtSx7MBBzE183BZCUfQE8QBrjsYOo148Lx HumnZKMOsL5LbhFlDp3/U4JSxdiGTn8BSrJc2t3qQmhkQI8eI/0IXaxGppWEhOoh7ucu WYJrFlTmB+eJ6Z00zQocXilF66Ma8jEYytvUCcSCAGIqPL3frReHkrrbwLu80p+BZYx/ wZVw== X-Gm-Message-State: ANoB5pl5S4DcGElN9C82p5iMWqmAwkcfevJIQSFQshqBOJxDNbwu8NE8 cbphX8Va/JDXplYbU0oG+FDfKw== X-Google-Smtp-Source: AA0mqf4/SRU0PT5ngN26z9s2HHADkNm5cfxKllkHevCCEQyyIIa4Qu5B/KQUe2w5hnwORb6RgA2Fjw== X-Received: by 2002:a05:651c:905:b0:26d:d0d2:2ef5 with SMTP id e5-20020a05651c090500b0026dd0d22ef5mr26291598ljq.369.1670153924584; Sun, 04 Dec 2022 03:38:44 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id a11-20020ac25e6b000000b0048a9e899693sm1762826lfr.16.2022.12.04.03.38.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Dec 2022 03:38:44 -0800 (PST) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH RFT 3/3] arm64: dts: exynos: correct properties of MAX98504 in TM2 Date: Sun, 4 Dec 2022 12:38:39 +0100 Message-Id: <20221204113839.151816-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221204113839.151816-1-krzysztof.kozlowski@linaro.org> References: <20221204113839.151816-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Drop unused and unsupported MAX98504 amplifier properties (maxim,rx-path and similar) and add two supplies. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi index a8224b3123d4..6f701297a665 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi @@ -96,10 +96,10 @@ i2c_max98504: i2c-gpio-0 { max98504: amplifier@31 { compatible = "maxim,max98504"; reg = <0x31>; - maxim,rx-path = <1>; - maxim,tx-path = <1>; - maxim,tx-channel-mask = <3>; - maxim,tx-channel-source = <2>; + + DIOVDD-supply = <&ldo3_reg>; + DVDD-supply = <&ldo3_reg>; + /* PVDD-supply to VPH_PWR */ }; };