From nobody Tue Jun 30 19:09:12 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 07CF2C433F5 for ; Tue, 11 Jan 2022 17:48:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344099AbiAKRst (ORCPT ); Tue, 11 Jan 2022 12:48:49 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:53832 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235475AbiAKRsr (ORCPT ); Tue, 11 Jan 2022 12:48:47 -0500 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.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 62943405F2 for ; Tue, 11 Jan 2022 17:48:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1641923326; bh=r9HPg3JSAEOg9NmbHzzSoR6SujxmeJ0M4OI/ixjeZrc=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=BYfHMsrncu8mPtlQX+VeaADd+cst6yRgYMKl2ueAgjtn80bD6PJ1Ev2mm/cxzJUvn EPYpb1e9mOIpQ+0OJi6SxOzyCFXyNF1wuxq6TB8thPULWT0ew7tThoLrcl02qfn2Nb MwnhojhX6pZOwobCkdFuNL3gxZa9sU6EkRv1SkY26LeLsJjFxLA1xkwyckTKDJHAqH 2cctU9TSKKrHQSSdy2DfMt2HOHmTCvJZY3aozvFF0xlSOmR13EoHCIjyH66dKkIXKe q3KuWyZQdkquQICLbZ7gEE0pD+djD85JJgovDh30Vx/GyHGvg6jIOp8IVTstl0eNrc qHZqYdZcXBNrA== Received: by mail-ed1-f70.google.com with SMTP id ec25-20020a0564020d5900b003fc074c5d21so9596832edb.19 for ; Tue, 11 Jan 2022 09:48:46 -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:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=r9HPg3JSAEOg9NmbHzzSoR6SujxmeJ0M4OI/ixjeZrc=; b=AsxSl1gRjvh8fzQlHinYNWpGacnjSF8RdFY6e20iVSHYU0Z9YEf6YcXAYCBdFs6itI bhbivC1+Iskr0HRwTkzhFNVUg6q3DUmLVepl/LFJHMttuUh6nMpnBJXAW2zF0V7MoccP PAvnnyx+4txhAF74tNYvsgFPlzQVibhtwRa/Gif3vbFqEKZt3f7L62d2UGQtbHw3/QDz zlVI+98HH7M14oqWga1v3zhjKylR5a+3kjx2Ev5fCRnMx8qtmOTvsmg2OIhNe8PKOuH6 iuXm3TKtz+4CYMa8yorQVo4BkhKIyzn964SeK/1yUV7L707Yk4IBzrpWdWpifixW/kEL YScw== X-Gm-Message-State: AOAM533YS9YIs3S6+WAFvjaC4sGHR6SIZwxXEQi3OdbbW1h6A8fwJHA0 X2fetjp9L8QCK3QBuSX5J3rntq5AkY7lWgFHYNIoyfXlDmQ+yIeW/3EnI+JLS7TmulT15ZUgaiH 6suqTljumS7TOaBh7rhAe+73KdGpUVtdwRockvURsMg== X-Received: by 2002:a05:6402:2926:: with SMTP id ee38mr5358987edb.213.1641923326088; Tue, 11 Jan 2022 09:48:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJw+p+O24kX8sPC/HNYpy64NZDAo6pLYgZcq2YV7Eo6ROyfYbvEElF6pogK2B2ET8YMiBcR5aA== X-Received: by 2002:a05:6402:2926:: with SMTP id ee38mr5358977edb.213.1641923325879; Tue, 11 Jan 2022 09:48:45 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id i23sm5224489edt.93.2022.01.11.09.48.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jan 2022 09:48:45 -0800 (PST) From: Krzysztof Kozlowski To: Chanwoo Choi , Krzysztof Kozlowski , 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 Subject: [PATCH v2 1/5] arm64: dts: exynos: Align MAX77843 nodes with dtschema on TM2 Date: Tue, 11 Jan 2022 18:48:01 +0100 Message-Id: <20220111174805.223732-2-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220111174805.223732-1-krzysztof.kozlowski@canonical.com> References: <20220111174805.223732-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 Tue Jun 30 19:09:12 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 E3F38C433FE for ; Tue, 11 Jan 2022 17:48:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344590AbiAKRsv (ORCPT ); Tue, 11 Jan 2022 12:48:51 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:32872 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242182AbiAKRss (ORCPT ); Tue, 11 Jan 2022 12:48:48 -0500 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.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 92C9F40046 for ; Tue, 11 Jan 2022 17:48:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1641923327; bh=KtzaeAS3vHdxLiX+UAOcYpw4x029KYpzx4CNQuL/lKY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=QqoXNe126LMEbui0jdtl1XY0PTGNk+bQAEt+2X+dsgkPraYGEaH8ODy3nFVpReTRm gZxDcxV0m5t+2WLQVHINOjM88Nl78rL1kwcA5mBVBZ8kBJ4on6x3VzE8U0zIRx7Owx QRlJuuXBBiNLv7AaHDl6Jik5MFdrFNBekhC6FfqpsN+2Tmola4qBxwJTit2HpMQEC6 +qy4wI0+u9hDNWQ4BPzLJ7KXgPiHfcavOT2TRQf3TITtWWYKCrmt7iXgcoCXRrO1Vi gwwRO6qWiSMUR0Kg4uRayhhya03/gQabXm3I2FFvjb9Px8J1qnwubLztaHT1t2jvv3 fbHF8/DVmp6Dg== Received: by mail-ed1-f70.google.com with SMTP id p8-20020aa7d308000000b003fe9b0c4760so3835709edq.17 for ; Tue, 11 Jan 2022 09:48:47 -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=KtzaeAS3vHdxLiX+UAOcYpw4x029KYpzx4CNQuL/lKY=; b=eWz1FSZthscEN+3FJ46irL0ayEoyrdB3UTbalWHEQneG1qKBwmYIN9bIGgdB7reNiD OXJh1UenfqUFBNEmhaI3oZVh7S7Vd5PLCecWx292l7wWoYozD7Q8/CO4ka0GT+iDYaYa Qf5naznx0StKpr0PqcEBTXYKRCic2800sjFMr4m6Pb1kGLo9uvbiYdt6q/6r6NRfTGKW 2xDBlu1Y81GfbsEjsla+sKqyi4WmTCYh4ZN2QucRbbukqOb3mKSfAIvBWePTiCol6gnY lhxWna8Ojaq2kZhR3ni5vUTCSOTyR0Q3sQ61CIlKV+fT0M9sF5pBj3eURaVGEtSqi85u JkwQ== X-Gm-Message-State: AOAM531DxiuQs1g884ibvEAfb+/MlbQ6QxgvyN8WVUkKFcwPiiK97Lw3 SDw3LJJb2nSA8pFba639gddQxO6BQw1PEBk/CNAyc+ykN2511rAHy80K+ln8M1AFynjVrpnNPiP oqnIeC2ZH6HrYaJc+dJJRTmxzGLLjOl4b6xGEpS8XmA== X-Received: by 2002:a17:907:6da0:: with SMTP id sb32mr4730975ejc.455.1641923327247; Tue, 11 Jan 2022 09:48:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJyOxlUAVlC4YuYQpRipmbsqUYnDmolm/iGG7kaEKNH1SQBIaGmimpIrXXHt3wLrnMj/QIsfRw== X-Received: by 2002:a17:907:6da0:: with SMTP id sb32mr4730956ejc.455.1641923327047; Tue, 11 Jan 2022 09:48:47 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id i23sm5224489edt.93.2022.01.11.09.48.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jan 2022 09:48:46 -0800 (PST) From: Krzysztof Kozlowski To: Chanwoo Choi , Krzysztof Kozlowski , 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: Rob Herring Subject: [PATCH v2 2/5] dt-bindings: extcon: maxim,max77843: add MAX77843 bindings Date: Tue, 11 Jan 2022 18:48:02 +0100 Message-Id: <20220111174805.223732-3-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220111174805.223732-1-krzysztof.kozlowski@canonical.com> References: <20220111174805.223732-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..f9ffe3d6f957 --- /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: /schemas/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 Tue Jun 30 19:09:12 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 68A21C433FE for ; Tue, 11 Jan 2022 17:49:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344706AbiAKRtB (ORCPT ); Tue, 11 Jan 2022 12:49:01 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:53876 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344128AbiAKRst (ORCPT ); Tue, 11 Jan 2022 12:48:49 -0500 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.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 CA052402EB for ; Tue, 11 Jan 2022 17:48:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1641923328; bh=LcRt8+t0LEGVlfTku7gPMrViX/Nt71eS6TfrRb0aKjQ=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=O1wJau/yx+I7et521BeX5dRieFSaZAwFxiXMhUAJGwVmmeadC5d9quw1XMTcqW9ek q2NX1Ktslo7P8lMVmoQq+jUzriaophinVHadxN5jVUht5CFoVI/v4UXUfKdefVgTvy YKEnHH7NWSjWx50xLdNYTfvco2uZpZPiRFfWOJPLnbEfnEscxkoebzD8kHrcif6qSo q89VJhTqJ3o2+PoKddn4GCuso3VTmQeBSu/+6Ar9FATGyMwLWTStY9JFDsQ50YyziD HQ+mfmUMkjxgbMgiWUupLNjPjn7FJLyMyyxJdpWovSFvATgFoi44LmC+UBm9H1CZF9 Hb51UUWPl2DvQ== Received: by mail-ed1-f70.google.com with SMTP id s7-20020a056402520700b003f841380832so14002358edd.5 for ; Tue, 11 Jan 2022 09:48:48 -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:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LcRt8+t0LEGVlfTku7gPMrViX/Nt71eS6TfrRb0aKjQ=; b=K/UhwZqGgcSz12gu6s0lSCRU07ygAzDvZEjmdm/De6+VvJhKvgmwkr4qP+AQyAOKLt nqBcbuASG5WE5zpWUzAmn2fTYRoowfkeA7JGUOVg5zyG9TNYNZxIJxmcYX/Jsd7dh7yK 5GpqVzCXT0Q4d0MFTdrKhTUCd7v9/Im0HbLK1PTZnhR7ijElhvnjIKic7NuFqQ8Iu59T 8vOr+K7yh/h4dLDk0pMkEjZkO+egcRtu4k3gZjNK5Cht5iESvAzlzfORuseAT1FnSW5x nL2mWJjPt1Vt/F0N569zWIu88Jfr0onbWfpsKOVfp9X8IzXHsOCyOQafPmWjs4u3mkB9 hfCg== X-Gm-Message-State: AOAM530acLNIjDXO1dRdSwEq3OtTPprS5N8XpV1Vg21zA2bu9nWpTRP3 suESSWNwvMmsciC/Zm1+ERc+qsWvpx+n07gz+AO9PKGR5OxKu2/rOr+kAHSc4mln6+cfcZL4DhA 4WjiY+B+Q5cauSTRFKUlahaHyr9u0T80iKCpPe/D2TA== X-Received: by 2002:a50:ce4a:: with SMTP id k10mr5454005edj.31.1641923328391; Tue, 11 Jan 2022 09:48:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJxgF1x3XntlDy5p/SEguWc1VAocNbGh5alkcyHXD9/D2HpsqnHXUWInQydT3dqUznGBo75t3A== X-Received: by 2002:a50:ce4a:: with SMTP id k10mr5453985edj.31.1641923328228; Tue, 11 Jan 2022 09:48:48 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id i23sm5224489edt.93.2022.01.11.09.48.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jan 2022 09:48:47 -0800 (PST) From: Krzysztof Kozlowski To: Chanwoo Choi , Krzysztof Kozlowski , 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 Subject: [PATCH v2 3/5] regulator: dt-bindings: maxim,max77843: add MAX77843 bindings Date: Tue, 11 Jan 2022 18:48:03 +0100 Message-Id: <20220111174805.223732-4-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220111174805.223732-1-krzysztof.kozlowski@canonical.com> References: <20220111174805.223732-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 Reviewed-by: Mark Brown Reviewed-by: Rob Herring --- .../bindings/regulator/maxim,max77843.yaml | 65 +++++++++++++++++++ 1 file changed, 65 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..a963025e96c1 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/maxim,max77843.yaml @@ -0,0 +1,65 @@ +# 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 + + CHARGER: + type: object + $ref: regulator.yaml# + additionalProperties: false + description: | + Current regulator. + + properties: + regulator-name: true + regulator-always-on: true + regulator-boot-on: true + regulator-min-microamp: + minimum: 100000 + regulator-max-microamp: + maximum: 3150000 + + required: + - regulator-name + +patternProperties: + "^SAFEOUT[12]$": + type: object + $ref: regulator.yaml# + additionalProperties: false + description: | + Safeout LDO regulator. + + properties: + regulator-name: true + regulator-always-on: true + regulator-boot-on: true + regulator-min-microvolt: + minimum: 3300000 + regulator-max-microvolt: + maximum: 4950000 + + required: + - regulator-name + +required: + - compatible + +additionalProperties: false --=20 2.32.0 From nobody Tue Jun 30 19:09:12 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 7096BC433F5 for ; Tue, 11 Jan 2022 17:48:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344644AbiAKRs5 (ORCPT ); Tue, 11 Jan 2022 12:48:57 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:32910 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344483AbiAKRsv (ORCPT ); Tue, 11 Jan 2022 12:48:51 -0500 Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (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 0A71B3F31F for ; Tue, 11 Jan 2022 17:48:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1641923330; bh=ZnuinRIJ3lwFEAR4y2+anLAVZYP6shQkyVJQl1fjr+Y=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=WoDS9RsVjBJTajEhMN7VVCAUmxXK8S679XXdDQyLRfTyrQgHMnWDm02EwaVmft1P+ PGuc1od+VdnfZlrZsTuec5xMunm2g84JHRbGnrXoh7iYyAdarrilLJcDb2VcKV5dAs QEU+3TX21dvsZY1rybLsPCMD9jX0/eKuZ0GMSOmxF8WC+SHkCmmvoeayt2Zs3coihL p0fYQ0n9P0E8J3sIj0LN5eIrjG9Kd5qTIaW/jn9T1uheMokC96/PJJEBmmcu7bt92g /Ay+LVW8noqX33Um9oSJG2i02auDVACPzC6/fLe4kZYL8j4Wpb6Ine7hi/D4pZnw4J YthtNvpU7J18Q== Received: by mail-ed1-f72.google.com with SMTP id z10-20020a05640235ca00b003f8efab3342so14003331edc.2 for ; Tue, 11 Jan 2022 09:48:50 -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=ZnuinRIJ3lwFEAR4y2+anLAVZYP6shQkyVJQl1fjr+Y=; b=yOat5zwzFIU1oTtRDohKPyei7nyXnRg7k6q6HSaEtgWFtpp+c57UKw767AAGmhOaeu 38enPdkCLTgOdMplRygzsGHnW6WdcNtkLqg05h2m6HIBBgmotoaYFm3Sxv61Sqc8RrL0 3EfLfoqtN91if4k8LnvBfU98nAfk9fdwhMPI89lUQFWU7i01WvcGN/8vVZ7d+8lK5GCt SoeudLrxToP46yPEqRdColimiwu51lIFnqsO76UbSMCl9jZkB29dCO2hh+vPBN4qrAgn ulSLOA4R2qANJl8xMTfI/QLlyGQDdEie1E8u9PicmxT8qnmI0OKWvEp+a6TYjeqtTfE2 eBjg== X-Gm-Message-State: AOAM532PeuSdlxbAjOxrmJWWiZeKG82eceYOy25vdrW2VQnk+2L1k95+ /1dcMqMvIBizvwPLuVPzyWiOv8BCiKmdu55eogs2nuRjyEYgigEIs6mOLI/agFUK9Uv4KocCwCP YILcLrsU9L7K1kvk6cPMM3gx/JgLGCLwB3JQsIWHaPg== X-Received: by 2002:a17:907:1b29:: with SMTP id mp41mr4841112ejc.591.1641923329546; Tue, 11 Jan 2022 09:48:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJyOJF1zICLEmpK0IleOo2vl9NWSe0ASojjhQJ61G5WSvc3ti1P6uZ55rmKdhqD41LQqLvUr+g== X-Received: by 2002:a17:907:1b29:: with SMTP id mp41mr4841098ejc.591.1641923329335; Tue, 11 Jan 2022 09:48:49 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id i23sm5224489edt.93.2022.01.11.09.48.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jan 2022 09:48:48 -0800 (PST) From: Krzysztof Kozlowski To: Chanwoo Choi , Krzysztof Kozlowski , 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: Rob Herring Subject: [PATCH v2 4/5] dt-bindings: mfd: maxim,max77843: add MAX77843 bindings Date: Tue, 11 Jan 2022 18:48:04 +0100 Message-Id: <20220111174805.223732-5-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220111174805.223732-1-krzysztof.kozlowski@canonical.com> References: <20220111174805.223732-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 Reviewed-by: Rob Herring --- .../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..61a0f9dcb983 --- /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: /schemas/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: /schemas/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 Tue Jun 30 19:09:12 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 1010AC433F5 for ; Tue, 11 Jan 2022 17:49:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344628AbiAKRsy (ORCPT ); Tue, 11 Jan 2022 12:48:54 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:32928 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344578AbiAKRsw (ORCPT ); Tue, 11 Jan 2022 12:48:52 -0500 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.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 E575040046 for ; Tue, 11 Jan 2022 17:48:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1641923330; bh=b8unpukURFoj9tYv6hEHKZIOPqKdbI+UT8tS2dxzJ3A=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=feFkn4szcvNFN/VhwFtXLsTqOixJl5WHL7zaniP9SAo3AfMzLwDi6uTrPGuy7AwEn h7Vyc4+y+0ZKG6R2EdlaNI9fwn7AiZ3NoOzXhx69i0fFZZSJcWhG53gx3Tvc0Qb9BB Z7r4W049G9V3zO9Hy/ejS2H+gi7Rpg59oG9S4NPgZ0hXlf5PRKWLFH0z44A73WknXN Stm81Fv00lnOh1jXRe3OxqMhr3pGb4SicDrVLu7Ex2FCLDQLXhxhsGf/IjTBvpEot6 l5xzXfY6x7CtN0AlgNVm+/pZh8J8dptAVeezLD6573EWFdJdDJx66mcOUXAduNemSY zAh+bvHi49Yzg== Received: by mail-ed1-f70.google.com with SMTP id z8-20020a056402274800b003f8580bfb99so14006598edd.11 for ; Tue, 11 Jan 2022 09:48:50 -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:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=b8unpukURFoj9tYv6hEHKZIOPqKdbI+UT8tS2dxzJ3A=; b=i1K97yRSudkv76oI374VbtIbyiU+tbWxtcF0azVw0uAGvg0ah40jMfgZWapho7oR01 lK5rscFBlyRAcuaD/3pJUSkd4YS91U8JJ+YxgIC5EFRDn3AlQY7cvHygYBE8Rk6CGjZb +RMxMyg+XG9iEdzcte7CY0PyAckZKMRcpogshXEQh3JZidkl07WTEy3M2ZY87aXQGshJ WmZtarShR7PL+/prHXPETn3kHlobX91/eUQaiuHp6zP+MViEntxbJvRTSbRf4EI3KJFU Ec0atC/7YuF/r49n+qXrolbuoaR7BvKai46o4ATvTh8GHpzRbO9FcXY2QqupVSz3BFIO 0uDQ== X-Gm-Message-State: AOAM533f6xftCUtUWBpZJRgAqYoZnRRpCAKZLyyyqh57LB6AALK7G8Ff 9Kn/tueNfqPD40jcxED4QBaAddlyfbknXAUrSsQ4h/grQejmxwxR19Fzpj8+2KN4jY5gQmo4CNb /Mt5XvU6OpIzbwhTdtqN3LBK/KqwAZvDR67yU+EIuZg== X-Received: by 2002:a17:906:f214:: with SMTP id gt20mr4859168ejb.458.1641923330637; Tue, 11 Jan 2022 09:48:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJyAM0/Z9YVcu804le5q3yh75AgpsHjTUH68ArlTniLkfQouy/WQEvSuRTc1ZiHTwflEmE8bPg== X-Received: by 2002:a17:906:f214:: with SMTP id gt20mr4859157ejb.458.1641923330509; Tue, 11 Jan 2022 09:48:50 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id i23sm5224489edt.93.2022.01.11.09.48.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jan 2022 09:48:49 -0800 (PST) From: Krzysztof Kozlowski To: Chanwoo Choi , Krzysztof Kozlowski , 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 Subject: [PATCH v2 5/5] MAINTAINERS: mfd: cover MAX77843 by Maxim PMIC/MUIC for Exynos boards entry Date: Tue, 11 Jan 2022 18:48:05 +0100 Message-Id: <20220111174805.223732-6-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220111174805.223732-1-krzysztof.kozlowski@canonical.com> References: <20220111174805.223732-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