From patchwork Fri Jan 20 17:31:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 644913 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 E2620C27C7C for ; Fri, 20 Jan 2023 17:31:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230341AbjATRbl (ORCPT ); Fri, 20 Jan 2023 12:31:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230338AbjATRbb (ORCPT ); Fri, 20 Jan 2023 12:31:31 -0500 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E73B4A2968 for ; Fri, 20 Jan 2023 09:31:21 -0800 (PST) Received: by mail-wm1-x334.google.com with SMTP id q10-20020a1cf30a000000b003db0edfdb74so1273775wmq.1 for ; Fri, 20 Jan 2023 09:31:21 -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=JC33nkvOY9jllaeQeA877nEGh7EFhyBhoHxhC9ikSio=; b=ePFzI6jF5QJfJDiWdbL4WzhmMgUAt+JzcDfbRdufvGnU/DvyJmt7dMOrh5jA/ZkWoX VP3zy8a3qde3XULU1uFg+1j8ClQUg3vjJbJo1xg5ZPUPDZ5ZRaNcHpnf4qk0QjO2JIQA acgVvEPOc5F55b9w0P/U6i5kGEvn+tMJpQ1d2hibDs3kbSA7voRyZDNurnrxjJmxT7RV 3gCS73wGfB15htucGR9S7LfN3ujDqGGPKf2am/nAlMA73j3ttTVhgfTh+lMLpW4+hSJB fkjKF1R9Na1RQyoKeZtpowx4GSL1/YocBcAjYK6VpfjfnK+TuHM+S8CyKlf7cP9GmgFg F1mw== 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=JC33nkvOY9jllaeQeA877nEGh7EFhyBhoHxhC9ikSio=; b=KkSo5ypxjX67rUVXyUTadfW/ZXHs1XXqFIPDkKtDkUK5L+UxedgXmqPPlCZ9zveHA9 bkoN8ARLtT3TtnSiGOcLRmB2ACR1NKtKqRTXmAfgCnjW1LZWgWFiuKS9QfrHt3eGS+F9 sEwOFVkxzZRiJgDMXeXHnVNp5476UZLwfGTYFiZMhCJcssum43UoSiT4GzmTg1SYC6+B LmZ12A3rkB1m6zIiz4sUPsEATGsvYGrdjCj9cv1ItJzgaNTgo8NVZtYez1yFf7Szy25d 5oUPahYfUSTx445JVeSTyVINSTwvwupBWshn9hPjvkAeEkPJwOTr49UzGuckvwj49KdF nnQw== X-Gm-Message-State: AFqh2kqKZDzbyaKS1NNsTtxJSrQrhpNnVB6T1i65PCPXhiTq1mCsUuuA ybYJDKjKAxwvyncGlF75jpNVJw== X-Google-Smtp-Source: AMrXdXui6w/iZmq/RJsnFzJp4F10SPSRvGEMGIQD0vSmX0FFM6XWOuOB2bpLwJVxRaXvIks+RBfaoA== X-Received: by 2002:a05:600c:d3:b0:3da:23a4:627e with SMTP id u19-20020a05600c00d300b003da23a4627emr14507270wmm.6.1674235880481; Fri, 20 Jan 2023 09:31:20 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id d22-20020a1c7316000000b003db0dbbea53sm2819179wmb.30.2023.01.20.09.31.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jan 2023 09:31:19 -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: Sam Protsenko , Chanho Park , Krzysztof Kozlowski Subject: [PATCH 1/6] arm64: dts: exynos: disable non-working GPU on Exynos7 Espresso Date: Fri, 20 Jan 2023 18:31:11 +0100 Message-Id: <20230120173116.341270-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 The Panfrost GPU drivers require clock but such was not provided in Exynos7 DTSI. The CMU_G3D clock controller was not upstreamed, thus consider GPU as non-working and simply disable it to silence warnings like: exynos7-espresso.dtb: gpu@14ac0000: 'clocks' is a required property Signed-off-by: Krzysztof Kozlowski Reviewed-by: Alim Akhtar --- This patchset fixes remaining Exynos/Tesla ARMv8 dtbs_check warnings. No more excuses for not running dtbs_check on new patches. --- arch/arm64/boot/dts/exynos/exynos7-espresso.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts index b846c0be90e3..829657c9c7ca 100644 --- a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts +++ b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts @@ -61,7 +61,6 @@ &fin_pll { &gpu { mali-supply = <&buck6_reg>; - status = "okay"; }; &serial_2 { From patchwork Fri Jan 20 17:31:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 645522 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 2647AC05027 for ; Fri, 20 Jan 2023 17:31:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230272AbjATRbm (ORCPT ); Fri, 20 Jan 2023 12:31:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230219AbjATRbd (ORCPT ); Fri, 20 Jan 2023 12:31:33 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2891CC4EA7 for ; Fri, 20 Jan 2023 09:31:22 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id g10so4657328wmo.1 for ; Fri, 20 Jan 2023 09:31:22 -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=QkLt6xZBpWumMmqzLzKAMNGNbT1hqjEyGCt1cE++XRU=; b=PWNttmsjNUVGI9U/cMBrzpAwTfezOdl8WjPVbS9se2BvuNhkLNscZAq6QpORp3KzEi Noa6nRNL/p1XDlztrFL+BI8La2/yQfJ8t+upDFeAoe6rQnCzzMgEfCcUkr9nno3AkQjW m+wCCSrHDc6tYM+IjeBCeMwc/myYTF6U+s0tnqgNdz6WfgmoKbFQBN/OjPE+i39BZ6v/ ZYF84KddJgiDK9p5AhoysWt+Pw6lMRek6gvzgnd8Gb2XnXmv9S6Aj4o84hjWYnL/3VQA oDNsG9+vQdyY8hN1Kmr6NpXyjXVxE/nAug832ZmlVxU/fMUxQWjBA9xv/kVtmYXbEV5r YjXQ== 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=QkLt6xZBpWumMmqzLzKAMNGNbT1hqjEyGCt1cE++XRU=; b=LLV9HZxihPNbO9nL6MRyXJj6MOSZDOlevsJyJSIR2JXvmNjq8oCizUwoNDprGAll/F 9QHog7ABsjicVtfaRzxaB87dpipBTv50mlfBpkGg+TiLK4eWx1c8Ghb9PObhhk9fCzzU yGvTdw/wmJYUtotvE2xihqRv/Zi9jVjWQ7PMwzOCTVvXYq1ykO2zfx/qZvFO1h5XZoCF bDgmmFtkZ2cLflPBkqhWzJAX6tVqMiZ3sSshF9wsGW9+EjfLsFDR7EBh7ehlMf5R1PSS qT/qvxhJf3bnZXYnCtLTvPrON4Dhp8LWTqYG+wHTavLqQA2Yh7H+J4aNCWYdrnzuS8Vy e/rw== X-Gm-Message-State: AFqh2kodUmSHzQu4453DlKX6GG2BWZ9HNhFecaOUSl+KL9d1iBdcC3w4 mGxbcIYfYxJPaAja47fxv9yFng== X-Google-Smtp-Source: AMrXdXtYEbx+ZfDH1uBQQ4+kkKgbTFFddHq3xALZmifs0lrkLmie0YdVNHLwZ/PyaJa1qwKV1iu+DQ== X-Received: by 2002:a05:600c:3b1e:b0:3cf:497c:c4f5 with SMTP id m30-20020a05600c3b1e00b003cf497cc4f5mr15337599wms.13.1674235881768; Fri, 20 Jan 2023 09:31:21 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id d22-20020a1c7316000000b003db0dbbea53sm2819179wmb.30.2023.01.20.09.31.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jan 2023 09:31:21 -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: Sam Protsenko , Chanho Park , Krzysztof Kozlowski Subject: [PATCH 2/6] arm64: dts: exynos: add ADC supply on Exynos7 Espresso Date: Fri, 20 Jan 2023 18:31:12 +0100 Message-Id: <20230120173116.341270-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230120173116.341270-1-krzysztof.kozlowski@linaro.org> References: <20230120173116.341270-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org ADC requires supply and it seems LDO3 (same as on Exynos5433 TM2 boards) fits in voltage range of 1.8 V. Use it to silence warning: exynos7-espresso.dtb: adc@13620000: 'vdd-supply' is a required property Signed-off-by: Krzysztof Kozlowski Reviewed-by: Alim Akhtar --- arch/arm64/boot/dts/exynos/exynos7-espresso.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts index 829657c9c7ca..abb3bd700d6f 100644 --- a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts +++ b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts @@ -78,6 +78,7 @@ &watchdog { }; &adc { + vdd-supply = <&ldo3_reg>; status = "okay"; }; From patchwork Fri Jan 20 17:31:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 644912 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 61F3CC27C7C for ; Fri, 20 Jan 2023 17:31:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230160AbjATRby (ORCPT ); Fri, 20 Jan 2023 12:31:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230319AbjATRbk (ORCPT ); Fri, 20 Jan 2023 12:31:40 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6561DA113 for ; Fri, 20 Jan 2023 09:31:24 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id f12-20020a7bc8cc000000b003daf6b2f9b9so6332417wml.3 for ; Fri, 20 Jan 2023 09:31:24 -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=KyAO0ggLkugTbmjL8T0rTpiHk71ZjtlH8av65wk9BAQ=; b=m6tsvSeI4ao0UUTKLDkiByuqXXc2FaQGEzVB9V8E7aqstGcCXgnCGbkAkH0K+EFvgi f1y52Lv5vIIo2rH+6keNv+OplditcWJfumyNsk6xEv1ljPFzbtQxoTZon2qi2FJs0Zt4 VAdvL20Dj6PK3L6so+67nt8e2j3sgDMvNi62NH0NYQLiVZUhSXrnS92o1sKr10AtMEVi 50SYzQ+l5wPgXaf+B92pb/JUGVPyckOgwpq7rCLct/5cojOJv7sRe8wo4S3hCvNo7lfn 1dWXdDngtgxMXN0EjiQtp/ZnUzpWWuxgNPP0VvTgXNqgqDMBKrztrMZ/dSy5QbpAN9qi VTmA== 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=KyAO0ggLkugTbmjL8T0rTpiHk71ZjtlH8av65wk9BAQ=; b=bphCiYVzWNCHmmErR4hQnBbsj9+rXDDiQqVwYjPydy3vS/8jZfm6s9oCqSZYpERxK4 MGS7xnH3qbpyw/9tkMCQH1oWaxBfJgmjacsU/BsSAh6sgE9uaHwNJ3r0HIhNa1kE2sET 05fYP3vJwhjrUu6j5NcgZjZ5Z4LsLi31VhVa7KqAlKWeqH7DIuSK9O+2XDXL8jpuey4Q OkP0uifEj+ZIA2ZPYtH0Bf32f60XkmMzdKpN/6URzH6MLrkZCyvxJz8nNGJfVHMXTP0D nUfWnkpqIZmRe6Z9t3EFOWS6psUkKGok6NVFvF3W5T3LE9C2K6l/lNmcCxABi0TMSqRj YJcQ== X-Gm-Message-State: AFqh2kqyayaGeLcvKq4vMCWzazl/HxP0v8v2g1Ag7jIDUqASyvKYOBD1 t+GIKc2DNXL7axzwqY8LGqMUk0c2z9xN6Nuc X-Google-Smtp-Source: AMrXdXskZLKqyM0OBnAZtcD8h/EPC2ylTQFXkugT8TggR3ynJAOHqiZHz9cmQ72VKbksu9/gjkHOqA== X-Received: by 2002:a7b:c4d7:0:b0:3db:2fc6:e124 with SMTP id g23-20020a7bc4d7000000b003db2fc6e124mr3624107wmk.7.1674235883284; Fri, 20 Jan 2023 09:31:23 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id d22-20020a1c7316000000b003db0dbbea53sm2819179wmb.30.2023.01.20.09.31.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jan 2023 09:31:22 -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: Sam Protsenko , Chanho Park , Krzysztof Kozlowski Subject: [PATCH 3/6] arm64: dts: exynos: correct Bluetooth LED triger on E850-96 Date: Fri, 20 Jan 2023 18:31:13 +0100 Message-Id: <20230120173116.341270-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230120173116.341270-1-krzysztof.kozlowski@linaro.org> References: <20230120173116.341270-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Switch source of LED activity to hci0-power from RX, to match bindings (same effect expected): exynos850-e850-96.dtb: leds: led-5:linux,default-trigger: 'oneOf' conditional failed, one must be fixed: 'hci0rx' is not one of ['backlight', 'default-on', 'heartbeat', 'disk-activity', 'ide-disk', 'timer', 'pattern'] 'hci0rx' does not match '^cpu[0-9]*$' 'hci0rx' does not match '^hci[0-9]+-power$' 'hci0rx' does not match '^mmc[0-9]+$' 'hci0rx' does not match '^phy[0-9]+tx$' Signed-off-by: Krzysztof Kozlowski --- Depends on: https://lore.kernel.org/all/a85c256af01f64389a078c2b37c3b72a27d97536.1668005062.git.geert+renesas@glider.be/ --- arch/arm64/boot/dts/exynos/exynos850-e850-96.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/exynos/exynos850-e850-96.dts b/arch/arm64/boot/dts/exynos/exynos850-e850-96.dts index f52a55f644f7..6ed38912507f 100644 --- a/arch/arm64/boot/dts/exynos/exynos850-e850-96.dts +++ b/arch/arm64/boot/dts/exynos/exynos850-e850-96.dts @@ -106,7 +106,7 @@ bt_active_led: led-5 { gpios = <&gpg2 7 GPIO_ACTIVE_HIGH>; color = ; function = LED_FUNCTION_BLUETOOTH; - linux,default-trigger = "hci0rx"; + linux,default-trigger = "hci0-power"; default-state = "off"; }; }; From patchwork Fri Jan 20 17:31:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 645521 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 ED307C05027 for ; Fri, 20 Jan 2023 17:31:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229746AbjATRbz (ORCPT ); Fri, 20 Jan 2023 12:31:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230374AbjATRbk (ORCPT ); Fri, 20 Jan 2023 12:31:40 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CD90D0D8C for ; Fri, 20 Jan 2023 09:31:25 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id o17-20020a05600c511100b003db021ef437so4235317wms.4 for ; Fri, 20 Jan 2023 09:31:25 -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=lPDJ68b8IxMUl5mB1tsFwQDgmc6rDP80xVh613X2ajQ=; b=zbCADTBQxsQofsRbTh94uiwCE+Qc648XidbvI5CdCs8O/xacqejqzrThdBrPyrYIzx zUmnl8NTcGN9vXQ4Y3gBOqf79/O6o/VHqoGklAh6CXyb8ZFfBxxDMwwb0vWGUD2G8PBn XtA/ayeaojCofVcAcBshr3hcui8BeH4dF5g+P/jsABcqRZvfIo6194FQzT2NKc1tu2Xp qhA2ztPr3cGKxzuh+wrPY/iURtziL8kRIlhZHHHxB0N1W3UG3iRbi9XoaUNSbH+EF4XO drR4VcS0e4PBjxBrUd18u0AM6Ex20n6yoWXDl1Tw11Nzwh11Y0qvnEF/oKssmUXEtQns +b/Q== 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=lPDJ68b8IxMUl5mB1tsFwQDgmc6rDP80xVh613X2ajQ=; b=BxT3WU+wHTCRQIeNWwvWYc0CuNLW4Jxohy4P6bUa5ykCzwmS8E+Oi30sA66H3qYUhO Zz/2galKzLpaZhJAkOabPvpY8gVWCqtmuWy1UQbFDF8pJcD9mlGNSqSKKr4enbh/Tztk c2ZGDPNGcd6Hc/FzM7NnNPuDgDFKm7EDaaFQ+4Bmm2/2cuFSFREUT1d5pt0GQ5y05LhM QBXvj7oWYnRoTqsSoxvnqdqUFHkpJ9wm7CmimuD7ETurxZsTWoPlq19S65inPDcWfRWw dhGBfj403bSwgbcDoXcGa6t+Dtj3lVDNUioHIQtgA4grYHZNkxyBSu8U3VwUAbbWpWWZ CIxA== X-Gm-Message-State: AFqh2kraWOtvYq2d9jhFsbahlLzWw5g9vqd223Bbkg1xBVAoOQqTd7fY V8Xk4ivmYlh88LE2h6Itbkza3g== X-Google-Smtp-Source: AMrXdXsVSMzW2njv7OxvmaEwmew5JekBBPV987YVwQLPl7+fvw2taHhYxWLpSoFBtw2wr6Vaul67vg== X-Received: by 2002:a05:600c:3d8d:b0:3db:2c8:d7e1 with SMTP id bi13-20020a05600c3d8d00b003db02c8d7e1mr15078867wmb.20.1674235884721; Fri, 20 Jan 2023 09:31:24 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id d22-20020a1c7316000000b003db0dbbea53sm2819179wmb.30.2023.01.20.09.31.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jan 2023 09:31:24 -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: Sam Protsenko , Chanho Park , Krzysztof Kozlowski Subject: [PATCH 4/6] arm64: dts: exynos: add VPH_PWR regulator on TM2 Date: Fri, 20 Jan 2023 18:31:14 +0100 Message-Id: <20230120173116.341270-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230120173116.341270-1-krzysztof.kozlowski@linaro.org> References: <20230120173116.341270-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org VPH_PWR is routed to battery, so it is not configurable. However few devices, e.g. WM5110 expect speaker power supplies, thus provide the regulator for full hardware description. Audio amplifier also accepts that power supply. Keep ordering the nodes by renaming existing IRDA regulator. This fixes dtbs_check warnings: exynos5433-tm2e.dtb: audio-codec@0: 'SPKVDDL-supply' is a required property exynos5433-tm2e.dtb: audio-codec@0: 'SPKVDDR-supply' is a required property Signed-off-by: Krzysztof Kozlowski --- .../boot/dts/exynos/exynos5433-tm2-common.dtsi | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi index 6f701297a665..3785a6580bdf 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi @@ -99,11 +99,18 @@ max98504: amplifier@31 { DIOVDD-supply = <&ldo3_reg>; DVDD-supply = <&ldo3_reg>; - /* PVDD-supply to VPH_PWR */ + PVDD-supply = <&vph_pwr_regulator>; }; }; - irda_regulator: irda-regulator { + vph_pwr_regulator: regulator-vph-pwr { + compatible = "regulator-fixed"; + regulator-name = "VPH_PWR"; + regulator-min-microvolt = <4200000>; + regulator-max-microvolt = <4200000>; + }; + + irda_regulator: regulator-irda { compatible = "regulator-fixed"; enable-active-high; gpio = <&gpr3 3 GPIO_ACTIVE_HIGH>; @@ -1298,6 +1305,8 @@ wm5110: audio-codec@0 { CPVDD-supply = <&ldo18_reg>; DBVDD2-supply = <&ldo18_reg>; DBVDD3-supply = <&ldo18_reg>; + SPKVDDL-supply = <&vph_pwr_regulator>; + SPKVDDR-supply = <&vph_pwr_regulator>; controller-data { samsung,spi-feedback-delay = <0>; From patchwork Fri Jan 20 17:31:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 644911 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 5387FC38159 for ; Fri, 20 Jan 2023 17:31:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230383AbjATRb5 (ORCPT ); Fri, 20 Jan 2023 12:31:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230393AbjATRbo (ORCPT ); Fri, 20 Jan 2023 12:31:44 -0500 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7FDEDB7A5 for ; Fri, 20 Jan 2023 09:31:27 -0800 (PST) Received: by mail-wm1-x334.google.com with SMTP id fl11-20020a05600c0b8b00b003daf72fc844so6368952wmb.0 for ; Fri, 20 Jan 2023 09:31:27 -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=nNZuiGjzke67hV6Lxm3BYZSDSICDR3sdl8479uBb2FE=; b=wjRY7BWgBUyNxOIRJcTEf3K80ZyLGvewsJb3OSxVmAinjXchfzWhwYY6CZ4Ugic4ei 6ckkluQJaX8LCFckNjg8LhZMOxThpIToRxlovxoz0ihgIKbazjclAnsS+an9Yqqxphye MYAYOWMYvIE7gOy8ejh5MyOqwtPXsR4a0M7h6bcFqOCnUEVFwgQYGd1D7goUR2TeA42p jSJnuCuePfpOUxu0vCxgietinQuEAYjaaDHO/wIziZ6app+bSI4A4T9qBFcu4an4D+OG WNPc/TC83yD6R2dEPPwBHLFn1aI9Sr+qb8OHIMoYUOHiwPy0M3KitOyy7a+/ZSzEr54K XA4g== 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=nNZuiGjzke67hV6Lxm3BYZSDSICDR3sdl8479uBb2FE=; b=kYEIrya5+c6eiFy1wi7tgVw48MAODnCmp5mUfYxW7Kj+48DuuNcIqts7bEKqCZRIGM qV0QsIGBMkd8WefuxLodUklwlLz5ZDBEpC+SS2BDuF+l3QT8KRdPzk337e1tfp/2WXJt dRSe1OJNx7L5luaC+mHRxHEVslg/hWbWizE7Yc5Np7vt6+AvROLDxEX+fYK8Oa1j7IvE 2TVLLi7mJJp+fD3M5b6EWLNoz2l6YAx4YR+Fg12/zbtXTX0ahzFjL0N799chOcHEIXcs wyPPWa0Meg1dhE5zQegDxSyL00XIJBc1ygMzqASaI5GtW3JywehjI+BDsyag3o+hfkMK GYcw== X-Gm-Message-State: AFqh2koBoTS8vKiYRFBpTaG+eLJf2sVjeQdqguxAPJuyqBqSzWCFvvUJ wSU16r1X2HqaubwJJ/Wqw17Lgg== X-Google-Smtp-Source: AMrXdXtxqK17XhvXhGUs3RZf0sxHooxHOu6YL480CvpwaldjdG4B6niCLsiRAkJcqRWKfPIXOx3Jyg== X-Received: by 2002:a05:600c:1d8a:b0:3db:f0a:cfa1 with SMTP id p10-20020a05600c1d8a00b003db0f0acfa1mr11661996wms.9.1674235886188; Fri, 20 Jan 2023 09:31:26 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id d22-20020a1c7316000000b003db0dbbea53sm2819179wmb.30.2023.01.20.09.31.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jan 2023 09:31:25 -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: Sam Protsenko , Chanho Park , Krzysztof Kozlowski Subject: [PATCH 5/6] arm64: dts: exynos: add interrupt-controller to WM5110 on TM2 Date: Fri, 20 Jan 2023 18:31:15 +0100 Message-Id: <20230120173116.341270-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230120173116.341270-1-krzysztof.kozlowski@linaro.org> References: <20230120173116.341270-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org The WM5110 bindings expect node to be interrupt controller: exynos5433-tm2.dtb: audio-codec@0: 'interrupt-controller' is a required property exynos5433-tm2.dtb: audio-codec@0: '#interrupt-cells' is a required property Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi index 3785a6580bdf..5124027d7541 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi @@ -1285,6 +1285,8 @@ wm5110: audio-codec@0 { gpio-controller; #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; wlf,micd-detect-debounce = <300>; wlf,micd-bias-start-time = <0x1>; From patchwork Fri Jan 20 17:31:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 645520 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 D05E2C27C7C for ; Fri, 20 Jan 2023 17:31:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230393AbjATRb6 (ORCPT ); Fri, 20 Jan 2023 12:31:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230409AbjATRbq (ORCPT ); Fri, 20 Jan 2023 12:31:46 -0500 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68124DF975 for ; Fri, 20 Jan 2023 09:31:29 -0800 (PST) Received: by mail-wm1-x336.google.com with SMTP id f12-20020a7bc8cc000000b003daf6b2f9b9so6332563wml.3 for ; Fri, 20 Jan 2023 09:31:29 -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=qnJsl+tKHBAuLUhbXOInszro3NqsIemlyvle96ntb4I=; b=PgcV440RcWEhqyIj3zPrNb8+YnrO24qe2W+1lWKDgXlsby5MzIineuz6lPc7F2dPu9 eMiYBPRBxeEtpXkV0Gtnbp1TN/HB06vuu8IS0llMGLYeHtlo4RstthsyfOC1mF0/5yn7 rpBWgRIoIaICRxeFpZm2/kunisTENcMVn4SHMIWXvquoRjEAXPexYnci/nd19N5dI9h4 WVMmvKGU7Qj0HAOgrdcGtv5H5ZNdqAPdOZhvaQkTHcR7f5Oo8MokOXDj6IQv4q5ITVqI 2GqpOKv3/H+ivB/yjOhr6WKJ8iqgTWMTBR6wcxzdOJBhyPJqh880BukYRFsXgd7uGkwk G3/Q== 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=qnJsl+tKHBAuLUhbXOInszro3NqsIemlyvle96ntb4I=; b=6SVlsKx1ZCH9spAE7mmsinWjKRgDLqDEtd/t6q45XfBEOKujaKklVO9hnc0QQYd8wA 7BtoLO0NMJFS8QmwkGy+7wcQ35atQDOz2z2WIGTkfBehF0BBT38BQV40z8GJYkdpblUK /WgmpGnAOTkPL55lHAF3H+ZtLBQl3MCb55LBHnWvMF8cVBPrAqMnjeh+cg1VFLNb9j78 B4db+Y4nLP+u1b9lqfS8spuGeEEhC/w7jjcz3xATd6FeWZ4Ik8Rd0cUdBKQGyMBYxVIs IHbFvJWEwYmBxtP6dOpbAk+dfMUx4tt6ZDruvFLWhGQiEncH/b7lecNGLXW24FkDeilA QBHg== X-Gm-Message-State: AFqh2ko0vjQi59zQFo7DUhI5fXEJjbIu+9PPT4klE0MMPt0qc59cnjx8 dkV65cQDFvRoAySjPCRhoXaYSk14mQAO/MDF X-Google-Smtp-Source: AMrXdXuxn+Rgj/bSyedEi7mHhJzfjwZD1lT14YpwdvDBJqgJQI6G0zsLISH0IBj7DModcu6AaxOu2g== X-Received: by 2002:a05:600c:54d0:b0:3da:f9c9:cec9 with SMTP id iw16-20020a05600c54d000b003daf9c9cec9mr15077027wmb.1.1674235887758; Fri, 20 Jan 2023 09:31:27 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id d22-20020a1c7316000000b003db0dbbea53sm2819179wmb.30.2023.01.20.09.31.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jan 2023 09:31:27 -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: Sam Protsenko , Chanho Park , Krzysztof Kozlowski Subject: [PATCH 6/6] arm64: dts: exynos: correct wlf,micd-dbtime on TM2 Date: Fri, 20 Jan 2023 18:31:16 +0100 Message-Id: <20230120173116.341270-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230120173116.341270-1-krzysztof.kozlowski@linaro.org> References: <20230120173116.341270-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org The wlf,micd-dbtime property of WM5110 codec can be either 2 or 4 (driver ignores other values, so assume author wanted something here): exynos5433-tm2e.dtb: audio-codec@0: wlf,micd-dbtime:0:0: 1 is not one of [2, 4] Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 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 5124027d7541..f54f30633417 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi @@ -1291,7 +1291,7 @@ wm5110: audio-codec@0 { wlf,micd-detect-debounce = <300>; wlf,micd-bias-start-time = <0x1>; wlf,micd-rate = <0x7>; - wlf,micd-dbtime = <0x1>; + wlf,micd-dbtime = <0x2>; wlf,micd-force-micbias; wlf,micd-configs = <0x0 1 0>; wlf,hpdet-channel = <1>;