From nobody Wed Jul 1 05:32:00 2026 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 B9B6DC433F5 for ; Wed, 29 Dec 2021 12:47:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238164AbhL2MrH (ORCPT ); Wed, 29 Dec 2021 07:47:07 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:34446 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238503AbhL2MrD (ORCPT ); Wed, 29 Dec 2021 07:47:03 -0500 Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.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-0.canonical.com (Postfix) with ESMTPS id 554C4407AE for ; Wed, 29 Dec 2021 12:47:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1640782022; bh=r9HPg3JSAEOg9NmbHzzSoR6SujxmeJ0M4OI/ixjeZrc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=CJGHYoQyyuWSymqH9+Vu+NqsxVJefOflhvkVIUvCpkyruHfKiQOtGPQED5jN1Q7xV O0e6K47q8SQfai5fZl2kEBtoV7sF5UodruU9lIWQQ3rueMGzEH53UYuA/Nj21PgUdT jdjSTKJPw0+dnF6rUNqavsI64eNikEWbSnHF2ncMJuJQPSOfcQaLvtOwvSO33QhJqI Jnwkpi6MpfHulRUNC3HPvtOm1m8ek7rQQLFDtY/EVadeT5pQywPv7nQVV4CQ26Q/cH qTzXkwmsv0odc2tei+yFOS5GQmy830+4WE1SMsE6kvttv3Ny1afUIA6NzIvREVoC3/ +TEkoe0UjKrCg== Received: by mail-lf1-f70.google.com with SMTP id r21-20020ac25f95000000b004259e6ab262so4484782lfe.6 for ; Wed, 29 Dec 2021 04:47:02 -0800 (PST) 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=r9HPg3JSAEOg9NmbHzzSoR6SujxmeJ0M4OI/ixjeZrc=; b=f6/QUQPSCz/1uTWHHXcmo0PwbsUgz9MKOH6n0j0+3bu9IsfGhFF/uPgtuBOc2DthGA 0JpQnVTTh1+FHHbIyWmWbU/pueRHmuaihYKXHM5+r7uQ7Id/+kI4r3PUNTzYDjScVkFu HXyncN/vUdfbMk5x+YNHw9Ku10FYQXzUmXXYlUIRO/smOJjCMpHihYTgdNH+V7T/Q+ZG YDz5w2ndXXRgKtY9C/cuvavnApYzDuWMh+GwC5PFyYl78Wk2Rpd3jZpjsM+nir/l5E/D UFN8uBqJcvnW+oE09u8S/BO6o4uLHdRADv442FAAQh9OhPwN7Va0lN88Vf3S5mIr6FKM Q/8Q== X-Gm-Message-State: AOAM533T1dt7i0r81ONpMS2zt4UgCrjp2AFSCMc3OmJaVaKS/GygdlN6 vH8VDLbM1ruwg6kT2jNOGlJiA0RV0fcQItJ69x5nTCwQkW1eLHaYj9lkT/BwGbxe/uSL6D/NsKS Xd1qGm8MWh1xbKE/IIvxRLaTC4v1ROQu7lxHvZGTfNQ== X-Received: by 2002:a05:651c:54f:: with SMTP id q15mr16468100ljp.319.1640782021616; Wed, 29 Dec 2021 04:47:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQ5KP8xCMo76zySy7IgcVerWkV4lDnBlSblfUvCTCSfXuM2Uh2jh+Nf/55i9Fuz7F9pVdknQ== X-Received: by 2002:a05:651c:54f:: with SMTP id q15mr16468087ljp.319.1640782021346; Wed, 29 Dec 2021 04:47:01 -0800 (PST) Received: from krzk-bin.lan (89-77-68-124.dynamic.chello.pl. [89.77.68.124]) by smtp.gmail.com with ESMTPSA id e11sm711158ljn.73.2021.12.29.04.47.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Dec 2021 04:47:00 -0800 (PST) From: Krzysztof Kozlowski To: Chanwoo Choi , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , MyungJoo Ham , Rob Herring , Lee Jones , Liam Girdwood , Mark Brown , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Inki Dae , Jaewon Kim , Beomho Seo Subject: [PATCH 1/5] arm64: dts: exynos: Align MAX77843 nodes with dtschema on TM2 Date: Wed, 29 Dec 2021 13:46:27 +0100 Message-Id: <20211229124631.21576-2-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211229124631.21576-1-krzysztof.kozlowski@canonical.com> References: <20211229124631.21576-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The newly introduced dtschema for MAX77843 MUIC require the children to have proper naming and a port@0 property. This should not have actual impact on MFD children driver binding, because the max77843 MFD driver uses compatibles. The port@0 is disabled to avoid any impact. Signed-off-by: Krzysztof Kozlowski --- Please kindly test or even better - fix the DTS and extcon driver. --- .../boot/dts/exynos/exynos5433-tm2-common.dtsi | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi b/arch/a= rm64/boot/dts/exynos/exynos5433-tm2-common.dtsi index cbcc01a66aab..03f7c9acaacb 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi @@ -858,10 +858,10 @@ pmic@66 { interrupts =3D <5 IRQ_TYPE_EDGE_FALLING>; reg =3D <0x66>; =20 - muic: max77843-muic { + muic: extcon { compatible =3D "maxim,max77843-muic"; =20 - musb_con: musb-connector { + musb_con: connector { compatible =3D "samsung,usb-connector-11pin", "usb-b-connector"; label =3D "micro-USB"; @@ -871,6 +871,17 @@ ports { #address-cells =3D <1>; #size-cells =3D <0>; =20 + port@0 { + /* + * TODO: The DTS this is based on does not have + * port@0 which is a required property. The ports + * look incomplete and need fixing. + * Add a disabled port just to satisfy dtschema. + */ + reg =3D <0>; + status =3D "disabled"; + }; + port@3 { reg =3D <3>; musb_con_to_mhl: endpoint { @@ -910,7 +921,7 @@ charger_reg: CHARGER { }; }; =20 - haptic: max77843-haptic { + haptic: motor-driver { compatible =3D "maxim,max77843-haptic"; haptic-supply =3D <&ldo38_reg>; pwms =3D <&pwm 0 33670 0>; --=20 2.32.0 From nobody Wed Jul 1 05:32:00 2026 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 06758C433F5 for ; Wed, 29 Dec 2021 12:47:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238819AbhL2MrO (ORCPT ); Wed, 29 Dec 2021 07:47:14 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:39750 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238669AbhL2MrH (ORCPT ); Wed, 29 Dec 2021 07:47:07 -0500 Received: from mail-lj1-f198.google.com (mail-lj1-f198.google.com [209.85.208.198]) (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 61844402DE for ; Wed, 29 Dec 2021 12:47:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1640782026; bh=iLh2tlnNUtVUmnMt4eZqM7IntfyNeEM0k2CAHpGK5VM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Xt6pXXmUBbMxdEqk5szvOEw9YSCCjQt3evSRfTXUCEa0kUZ1/2bW8vD0u2Yi7pCS8 NFKgB3DJy/FruQVkUDsggPZxbjYPcLyCZxDXTKdknQRwq5sdT8NNeMOlzuGzXbLyqM mm5/yb2qKK5E01xw6Vsq/rwFGPfL0Ct4E3s7hmV/hXrpWwP2A0Muq8KVfAtGn/eGd+ 9BeXox8qlwwZk+bSeflTJT8JzH/zrNKi1JsviJf3jbZMOMM14JjJJNAZAq58D/zmuJ yCIQJQPSSzFH2D1o9LW7Qm/gzKXkkauGe8D8+QWu2LUzP0uOdrjirB8RjuaSUJN6Zo ysyVnj0O5/MsA== Received: by mail-lj1-f198.google.com with SMTP id l6-20020a2e8686000000b0022d9a4d18d5so6208734lji.19 for ; Wed, 29 Dec 2021 04:47:06 -0800 (PST) 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=iLh2tlnNUtVUmnMt4eZqM7IntfyNeEM0k2CAHpGK5VM=; b=CAedV5KioKIWtnodO2EPNbRx3dJYjY6Kr5TC9QIuCezOy3GLLrwoUeJCfxqMy65npB RBCeRC+UgZpySKXM3dMKVXT17PnORn/URNL/sRr6kyjDt/ZImaG8beynmVdPcrhqWNXg w1ZG9K184Bhort+jvLYrB9SO6OspcOgZSY6u+LYyPpcN7j83Senw/RMo6llIY/y/n+mm JSKztv6iOEcJtbAtDJIt6ImoxcmeZ0XTL5bUhdU6Y8aa48nc3LNylOot6Go2gJYeeGxZ gRrk/vl0TpeX7WoSlwGnAX+OKTNpiqEno0RveS9ySzcvE+JV7yWQR48/dct8akVY0AbD /kVA== X-Gm-Message-State: AOAM531VXc7zqO16R2Lfhu5IK7p71IIA53z0Yj0CJ8etnDGqmlFEY/QT Rm62EzkYED8wc9YZ/A5NvCLG25bVPkwQ69VwaguSZ8tYv0HASis7FNTqBFRkg/L4KtObif6BXCA ARixF0OVtzIalflB+NuKEHDsALt3kVI9rOFTLW4E0pA== X-Received: by 2002:ac2:5f55:: with SMTP id 21mr23246717lfz.283.1640782022892; Wed, 29 Dec 2021 04:47:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJzQwlfEHGHgz1XhNgkfKoJmRVwi/su6Y8k5CHBskV1bmWZtSjIVx4kz65FqRHcXJCAf0dw7zw== X-Received: by 2002:ac2:5f55:: with SMTP id 21mr23246702lfz.283.1640782022719; Wed, 29 Dec 2021 04:47:02 -0800 (PST) Received: from krzk-bin.lan (89-77-68-124.dynamic.chello.pl. [89.77.68.124]) by smtp.gmail.com with ESMTPSA id e11sm711158ljn.73.2021.12.29.04.47.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Dec 2021 04:47:02 -0800 (PST) From: Krzysztof Kozlowski To: Chanwoo Choi , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , MyungJoo Ham , Rob Herring , Lee Jones , Liam Girdwood , Mark Brown , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Inki Dae , Jaewon Kim , Beomho Seo Subject: [PATCH 2/5] dt-bindings: extcon: maxim,max77843: add MAX77843 bindings Date: Wed, 29 Dec 2021 13:46:28 +0100 Message-Id: <20211229124631.21576-3-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211229124631.21576-1-krzysztof.kozlowski@canonical.com> References: <20211229124631.21576-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Document the bindings for MAX77843 MUIC/extcon driver, based on Exynos5433 TM2 devicetree. These are neither accurate nor finished bindings but at least allow parsing existing DTS files. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/extcon/maxim,max77843.yaml | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/extcon/maxim,max77843= .yaml diff --git a/Documentation/devicetree/bindings/extcon/maxim,max77843.yaml b= /Documentation/devicetree/bindings/extcon/maxim,max77843.yaml new file mode 100644 index 000000000000..1f15a6c700f6 --- /dev/null +++ b/Documentation/devicetree/bindings/extcon/maxim,max77843.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/extcon/maxim,max77843.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim MAX77843 MicroUSB and Companion Power Management IC Extcon + +maintainers: + - Chanwoo Choi + - Krzysztof Kozlowski + +description: | + This is a part of device tree bindings for Maxim MAX77843 MicroUSB + Integrated Circuit (MUIC). + + See also Documentation/devicetree/bindings/mfd/maxim,max77843.yaml for + additional information and example. + +properties: + compatible: + const: maxim,max77843-muic + + connector: + $ref: ../connector/usb-connector.yaml# + + ports: + $ref: /schemas/graph.yaml#/properties/port + description: + Any connector to the data bus of this controller should be modelled = using + the OF graph bindings specified + properties: + port: + $ref: /schemas/graph.yaml#/properties/port + +required: + - compatible + - connector + +additionalProperties: false --=20 2.32.0 From nobody Wed Jul 1 05:32:00 2026 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 162E8C433EF for ; Wed, 29 Dec 2021 12:47:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239210AbhL2MrR (ORCPT ); Wed, 29 Dec 2021 07:47:17 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:39788 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238737AbhL2MrK (ORCPT ); Wed, 29 Dec 2021 07:47:10 -0500 Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.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 BF001402E5 for ; Wed, 29 Dec 2021 12:47:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1640782026; bh=NVZDNZbcxMe60AjIyWq0dP9vH4MaxZTaIUYRQc7qGok=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=djHjds5mqAE5iZ0sNZ0J4lLmqZVemEnqtWnTifxeiXDAIUBVhalJ1hAIxf/X/mlBy Tu6MLEmkSHMGupy6EpXz6/Z+OP0l391FK6vGVCIamBOJ2lOj1vX5pOV3ALyJuU2ldv xfqTnX7jJrSwQyNiukZikhd4Lnk6kM2Xqk/HlOw5yuB8x+HDxlNNco8+tBlPzSBJMC 1tdXQgbje4w4xbWB1n+zOYA7a+d46a3hYRVw9w+lvkEMaxCBRzVv+T023lxvGtkBYR tcncKDPKlBcTOKa2/mi/U6BgTexhi6ArLwdZQAPL5z3+D6OXeqi1COpBf7SdDV1Pv4 kDHYIu6uL9Y4w== Received: by mail-lf1-f69.google.com with SMTP id z23-20020a0565120c1700b004258a35caf2so4450282lfu.13 for ; Wed, 29 Dec 2021 04:47:06 -0800 (PST) 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=NVZDNZbcxMe60AjIyWq0dP9vH4MaxZTaIUYRQc7qGok=; b=NSUN+zemZP1kN8MS6/EX2s2g4Hpj5v51yR1OaMslDahIGdZg0/S2L0DlWZJNhiSP4s Klz8qzpKPWLKG/R9QqucAzmsStIKNtlZeCoSrOaGbdQOBgnsb29yAZrIl8rSKCYABrua T2uLPz/DAoZM+4A/x6FizkJ43qS4W1N02bV0hBnwwduKAp5S2asVmu332WeYZgPl53I+ BstDy/N6Zmb8VClXLEDGb0EkfEbCk4znOKZoh4Qch4fZhshzvyraL5j7p98Ryuu/fbZU /AmaklJpKYXc1eadz1TwYGTTR4Qb0wtcLIIsQEJ+yQuIfnIkr8NhMCh0lasQL5bqbr5V ZfaA== X-Gm-Message-State: AOAM532i068YdSRpxZ9qUG2xK3z1NU4/1AQjsY4u8U3AExzAGHZ5llm9 7M8G0AsF8kMMjn0MOUGZHA9s2eNNFAJYVL5v4i3PuH+5fLmoUITajGw6CkktD26Oyhz69biDUzt TYyw15fn2pSkGKi9uW+IDMNzfjJJLfVw0I2ryVukKMg== X-Received: by 2002:a2e:a58e:: with SMTP id m14mr9998749ljp.172.1640782024259; Wed, 29 Dec 2021 04:47:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJysgtAYCi/aDd+5Ib3QCtjvGG5GYx3B+fcDxG5/MXwsPeTVwy8kTmO4sA8Z7NWAnwKjLlaM4g== X-Received: by 2002:a2e:a58e:: with SMTP id m14mr9998733ljp.172.1640782024076; Wed, 29 Dec 2021 04:47:04 -0800 (PST) Received: from krzk-bin.lan (89-77-68-124.dynamic.chello.pl. [89.77.68.124]) by smtp.gmail.com with ESMTPSA id e11sm711158ljn.73.2021.12.29.04.47.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Dec 2021 04:47:03 -0800 (PST) From: Krzysztof Kozlowski To: Chanwoo Choi , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , MyungJoo Ham , Rob Herring , Lee Jones , Liam Girdwood , Mark Brown , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Inki Dae , Jaewon Kim , Beomho Seo Subject: [PATCH 3/5] regulator: dt-bindings: maxim,max77843: add MAX77843 bindings Date: Wed, 29 Dec 2021 13:46:29 +0100 Message-Id: <20211229124631.21576-4-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211229124631.21576-1-krzysztof.kozlowski@canonical.com> References: <20211229124631.21576-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Document the bindings for MAX77843 regulator driver. The bindings are almost identical to MAX77693 bindings, except the actual names of regulators. Signed-off-by: Krzysztof Kozlowski --- .../bindings/regulator/maxim,max77843.yaml | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/maxim,max77= 843.yaml diff --git a/Documentation/devicetree/bindings/regulator/maxim,max77843.yam= l b/Documentation/devicetree/bindings/regulator/maxim,max77843.yaml new file mode 100644 index 000000000000..1ab58c756d7c --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/maxim,max77843.yaml @@ -0,0 +1,55 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/maxim,max77843.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim MAX77843 MicroUSB and Companion Power Management IC regulators + +maintainers: + - Krzysztof Kozlowski + +description: | + This is a part of device tree bindings for Maxim MAX77843 MicroUSB Integ= rated + Circuit (MUIC). + + See also Documentation/devicetree/bindings/mfd/maxim,max77843.yaml for + additional information and example. + +properties: + compatible: + const: maxim,max77843-regulator + +patternProperties: + "^SAFEOUT[12]$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + description: | + Safeout LDO regulator. + + properties: + regulator-min-microvolt: true + regulator-max-microvolt: true + + required: + - regulator-name + + "^CHARGER$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + description: | + Current regulator. + + properties: + regulator-min-microamp: true + regulator-max-microamp: true + + required: + - regulator-name + +required: + - compatible + +additionalProperties: false --=20 2.32.0 From nobody Wed Jul 1 05:32:00 2026 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 9450CC4332F for ; Wed, 29 Dec 2021 12:47:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238865AbhL2MrL (ORCPT ); Wed, 29 Dec 2021 07:47:11 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:34536 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238590AbhL2MrH (ORCPT ); Wed, 29 Dec 2021 07:47:07 -0500 Received: from mail-lj1-f198.google.com (mail-lj1-f198.google.com [209.85.208.198]) (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 50ECE3F206 for ; Wed, 29 Dec 2021 12:47:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1640782026; bh=OwXVxDUNHiNBsMlyx2vvQ9vqNwzXFDkR9fITbhvv6ps=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=suy8u90G4rUI1suy+HRcW4qWKx3f3fIdCH+RCHrbbHxUHZFsU07VyC8VtISdtCR6v W8uEuOEErnDJgItXQgdyMFZLR+iz3wvNUTBR/dcIKuJ5yt86q/DzZx47z1KIeT/t5o /DDyk8twWqtWWy3C97NwoH6eJigOob+m6M4TE02CHKg3novpXUiK6mhfac3PCkqafZ Q8WRojBKVZnMT5IYqMscqBvSlDFDI7uYANOGQkf2cVrosecJcR8eWIgLzc+IFkMS+H cQFdwGjbbpf94ZyVcTXDWNxeVR+ZBhTPfVkBDLXkowxN9u3t5/1qTBOuB4BmknccYw XCsBiTspotzjA== Received: by mail-lj1-f198.google.com with SMTP id n6-20020a2e82c6000000b00221698ffa68so7246397ljh.17 for ; Wed, 29 Dec 2021 04:47:06 -0800 (PST) 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=OwXVxDUNHiNBsMlyx2vvQ9vqNwzXFDkR9fITbhvv6ps=; b=695OCmra06X8oCuerAU9rYEzGLUj++3Vspz2Br9QLeDrWQvf/EwaG5N5gO8stF/Dui vwz2294hXC+h+kwP49lT6AFSRvk8QKnUq/aAXEc2taUL5+C3x+g4Ckl/FtCZR8hxleg5 wEPvp1qGqll7j0Uskh2wzwXSy85A2QDdXAGk8kt1I/lT3kgXkBNIjTmQIEq04BHFrDbw LYEJo+u6Dc4PSmrbUBNaKf/nKp8JRCaTpFvSQk3DBWbhLcY7N+XCYYR9LhMprJ/wZmlF Q6iTWNxzD0+G6jT3Iew5DN2l8dropqnvrT6fAyHFMMLHYM7q9UctJwMJ6aG+ar+hNARx eI4g== X-Gm-Message-State: AOAM530bxaky8Z7eObrH0XlBux8jLeF+IRtc3qkW/Scidd+RKEPx8ray ycy0pNTnpGzUPZTUt8BFZeUe5Y/7+LO16YUDnOpY7cW6LSIpH7qpk25EhBBfyKMkaIRuM1YTKXi YaClU0bhUJIp+awAT0Gxgjtj0xJMnD1WNjHKeVXX0wg== X-Received: by 2002:ac2:51bc:: with SMTP id f28mr22837349lfk.222.1640782025649; Wed, 29 Dec 2021 04:47:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJzxlGSDNuVy9A0zTlQuoOwthlW7pXRr59PjrQaxjdZcO/w8Pf78FJV3HvNi8hIKJtFoMm3G1w== X-Received: by 2002:ac2:51bc:: with SMTP id f28mr22837340lfk.222.1640782025478; Wed, 29 Dec 2021 04:47:05 -0800 (PST) Received: from krzk-bin.lan (89-77-68-124.dynamic.chello.pl. [89.77.68.124]) by smtp.gmail.com with ESMTPSA id e11sm711158ljn.73.2021.12.29.04.47.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Dec 2021 04:47:04 -0800 (PST) From: Krzysztof Kozlowski To: Chanwoo Choi , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , MyungJoo Ham , Rob Herring , Lee Jones , Liam Girdwood , Mark Brown , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Inki Dae , Jaewon Kim , Beomho Seo Subject: [PATCH 4/5] dt-bindings: mfd: maxim,max77843: add MAX77843 bindings Date: Wed, 29 Dec 2021 13:46:30 +0100 Message-Id: <20211229124631.21576-5-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211229124631.21576-1-krzysztof.kozlowski@canonical.com> References: <20211229124631.21576-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Document the bindings for MAX77843 MFD driver, based on Exynos5433 TM2 devicetree. These are neither accurate nor finished bindings but at least allow parsing existing DTS files. The example DTS was copied from existing DTS (exynos5433-tm2-common.dtsi), so keep the license as GPL-2.0-only. Signed-off-by: Krzysztof Kozlowski --- .../bindings/mfd/maxim,max77843.yaml | 144 ++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/maxim,max77843.ya= ml diff --git a/Documentation/devicetree/bindings/mfd/maxim,max77843.yaml b/Do= cumentation/devicetree/bindings/mfd/maxim,max77843.yaml new file mode 100644 index 000000000000..7f3d74f254af --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/maxim,max77843.yaml @@ -0,0 +1,144 @@ +# SPDX-License-Identifier: GPL-2.0-only +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/maxim,max77843.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim MAX77843 MicroUSB and Companion Power Management IC + +maintainers: + - Krzysztof Kozlowski + +description: | + This is a part of device tree bindings for Maxim MAX77843 MicroUSB + Integrated Circuit (MUIC). + + The Maxim MAX77843 is a MicroUSB and Companion Power Management IC which + includes voltage current regulators, charger, fuel-gauge, haptic motor d= river + and MicroUSB management IC. + +properties: + compatible: + const: maxim,max77843 + + interrupts: + maxItems: 1 + + reg: + maxItems: 1 + + extcon: + $ref: ../extcon/maxim,max77843.yaml + + motor-driver: + type: object + properties: + compatible: + const: maxim,max77843-haptic + + haptic-supply: + description: Power supply to the haptic motor + + pwms: + maxItems: 1 + + required: + - compatible + - haptic-supply + - pwms + + regulators: + $ref: ../regulator/maxim,max77843.yaml + +required: + - compatible + - interrupts + - reg + +additionalProperties: false + +examples: + - | + #include + + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + pmic@66 { + compatible =3D "maxim,max77843"; + interrupt-parent =3D <&gpa1>; + interrupts =3D <5 IRQ_TYPE_EDGE_FALLING>; + reg =3D <0x66>; + + extcon { + compatible =3D "maxim,max77843-muic"; + + connector { + compatible =3D "samsung,usb-connector-11pin", + "usb-b-connector"; + label =3D "micro-USB"; + type =3D "micro"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + /* + * TODO: The DTS this is based on does not have + * port@0 which is a required property. The po= rts + * look incomplete and need fixing. + * Add a disabled port just to satisfy dtschem= a. + */ + reg =3D <0>; + status =3D "disabled"; + }; + + port@3 { + reg =3D <3>; + endpoint { + remote-endpoint =3D <&mhl_to_musb_con>; + }; + }; + }; + }; + + ports { + port { + endpoint { + remote-endpoint =3D <&usb_to_muic>; + }; + }; + }; + }; + + regulators { + compatible =3D "maxim,max77843-regulator"; + + SAFEOUT1 { + regulator-name =3D "SAFEOUT1"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <4950000>; + }; + + SAFEOUT2 { + regulator-name =3D "SAFEOUT2"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <4950000>; + }; + + CHARGER { + regulator-name =3D "CHARGER"; + regulator-min-microamp =3D <100000>; + regulator-max-microamp =3D <3150000>; + }; + }; + + motor-driver { + compatible =3D "maxim,max77843-haptic"; + haptic-supply =3D <&ldo38_reg>; + pwms =3D <&pwm 0 33670 0>; + }; + }; + }; --=20 2.32.0 From nobody Wed Jul 1 05:32:00 2026 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 9E1A4C433FE for ; Wed, 29 Dec 2021 12:47:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238737AbhL2MrT (ORCPT ); Wed, 29 Dec 2021 07:47:19 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:39820 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238986AbhL2MrN (ORCPT ); Wed, 29 Dec 2021 07:47:13 -0500 Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) (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 C1961402EC for ; Wed, 29 Dec 2021 12:47:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1640782031; bh=b8unpukURFoj9tYv6hEHKZIOPqKdbI+UT8tS2dxzJ3A=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=R4ZIwpfuxfIM8Fel1C+ZHbPMbz/8dB64avjBxLCwqNhsguXVTn8rbVU2Vuci4ic93 1xr6BuQMSIy3gMMjX8Gg+POP09tLBICqyiguX3eD8FZZp4eb7OmWN5hR/nfcqUKDNz Z6U/zv36ahIqJF2vvcPfLOkji6gVN5sKgD6WCaAJowVB6Gmt5cH+nrK7wMMVqiMhZI 7LB+oUFscOiXd8JGDbD7u9qR60LJbRndTM0m3F/Fy+Sc4qPkqJcUe9Oyzya+1uTsy+ SlnBKhwYdO4ZBdAqJVGi/vQtTGRTKPbHqAzegSBIBJPgeDW1r6kD5eQkauamA69bu5 nFVLQWRtBeSkA== Received: by mail-lj1-f199.google.com with SMTP id u9-20020a05651c140900b0022dd165d92bso3653902lje.4 for ; Wed, 29 Dec 2021 04:47:11 -0800 (PST) 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=b8unpukURFoj9tYv6hEHKZIOPqKdbI+UT8tS2dxzJ3A=; b=SF1DlqAdYbY/ngA1ECFRjucsR0PDVxFLKhsBtU/Ew9pNCCcjiPzlH9uhg/Be8qGJNF ttCDQpknMF7pG6oU0/nrmyBKj7Y3GhLMnzzQ4iP+lQ397Aohdxg4HVwa1mk0b6V9Xkyj uguMLKhnwITdq1jlPl7KRWewWyjDYTVaV64pDYofXw5k84GkFcfTB2Ci5mhOgf7Xg0g+ h2CLXzqQXBSfDXcLU5Gq25F6AWDVVvZpOcf5bGHgm6uouL9SvSrNEknA+bKFEpel7RB2 W2s1DgLWtV6eKiMklV8EMeHONmtoZkLRYMRMCzj8xfLmGrP4pLblF5ZgjVmhFWdrCIfr 8gzg== X-Gm-Message-State: AOAM531kF4Im0PRHnUwBCJAbqQtUuKcEb6l5nB5YYUnsKWtExM7cF/TE MV+8izPtM86VuGmxOXh1ES2jdow4EyeAoOMPLY4RC57bi9dFWnx2a4TgXiZT6IyAFXO0PmtI1gI nuzjrLxm+R7gWBx5GT5EL9l//gNzyZghMQ3YhZTtnzw== X-Received: by 2002:a2e:574b:: with SMTP id r11mr16745438ljd.489.1640782027276; Wed, 29 Dec 2021 04:47:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJyLiHFDic96sN498wDn0DRNBEIHxbIVncu3lh3X6e7AC89ghZepVCvnmS0/L/+JzAFD33udSA== X-Received: by 2002:a2e:574b:: with SMTP id r11mr16745428ljd.489.1640782027109; Wed, 29 Dec 2021 04:47:07 -0800 (PST) Received: from krzk-bin.lan (89-77-68-124.dynamic.chello.pl. [89.77.68.124]) by smtp.gmail.com with ESMTPSA id e11sm711158ljn.73.2021.12.29.04.47.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Dec 2021 04:47:06 -0800 (PST) From: Krzysztof Kozlowski To: Chanwoo Choi , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , MyungJoo Ham , Rob Herring , Lee Jones , Liam Girdwood , Mark Brown , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Inki Dae , Jaewon Kim , Beomho Seo Subject: [PATCH 5/5] MAINTAINERS: mfd: cover MAX77843 by Maxim PMIC/MUIC for Exynos boards entry Date: Wed, 29 Dec 2021 13:46:31 +0100 Message-Id: <20211229124631.21576-6-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211229124631.21576-1-krzysztof.kozlowski@canonical.com> References: <20211229124631.21576-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The MAX77843 is used in Exynos5433-based TM2 boards and shares some parts of code with MAX77693 (regulator and haptic motor drivers). Include all MAX77843 drivers in the entry for Maxim PMIC/MUIC drivers for Exynos boards, so they will receive some dedicated review coverage. Signed-off-by: Krzysztof Kozlowski --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index e5f2758531bc..d1f8f312f322 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11693,8 +11693,10 @@ L: linux-kernel@vger.kernel.org S: Supported F: Documentation/devicetree/bindings/*/maxim,max77686.yaml F: Documentation/devicetree/bindings/*/maxim,max77693.yaml +F: Documentation/devicetree/bindings/*/maxim,max77843.yaml F: Documentation/devicetree/bindings/clock/maxim,max77686.txt F: Documentation/devicetree/bindings/mfd/max14577.txt +F: drivers/*/*max77843.c F: drivers/*/max14577*.c F: drivers/*/max77686*.c F: drivers/*/max77693*.c --=20 2.32.0