From patchwork Tue Jan 11 17:48:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12710206 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7F228C433F5 for ; Tue, 11 Jan 2022 17:50:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+Us/JFi6qI7XZLtKABOVbxbmQFVNWixJcqh00tDSHsg=; b=k8JEkRHdqdlqBj Cv1H26/qQ9yzHHDbpg24+IJab3BuJefpxO8oARSVs7vzl9KOUsFtnG5o8eSZWdJ2sAD5S3KGRD1OY w9oKjgmVRTpoa1y+JaShXyr+W7DcJVZkbjstewbHRyDIF36haT9LqOBEa9AjffLJq/3UxS13dSGK0 d9VfwdDer/7wYP4DvH+sTTbyfDifbQFBRpUvAVbZaDt02/62LSY1ZlTzMxlTMQp7KbXumLzz11PKy ftd1Jvjfa3YmNIMqm+GM8Z4/LvBvL0Av3jyXejTzfyZ8iwaw0FCtkDfbxyi+EvNupHIUfsX6mRBwH 6ooxRyYit4JYZ8eLC2LA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7LGg-00H7AU-Uh; Tue, 11 Jan 2022 17:49:11 +0000 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7LGK-00H70o-05 for linux-arm-kernel@lists.infradead.org; Tue, 11 Jan 2022 17:48:49 +0000 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 5CE973F31F 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-f72.google.com with SMTP id eg24-20020a056402289800b003fe7f91df01so4999359edb.6 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=Er9ZkdiKv99ej3mdKYIxzHORlF1+1S4NnqNqbbdZiqbRTXDZn54bpWa9sAPU3ZBfm2 XLLvWp3Sf0hVnWUsq2d34IohBOrWzDih+QC53JvPKvwlXyCs2wcfWYDsP0K4l1qybSjE 0p9WcCD/NP6K6ZBuuq867JacB6S+QKU8wtnjQlE3W3nCnHq15OqFV9YD6kvt4uwiUQWb K5vvIyXZD0RxFuTBBdYlwfYOfZYwdmqlUO171QR471SsLf4XiRKfARuuvX/bgYo3tMBj x902eMrHc5+Hek8xFYiWdNbkPJ1xo5bobckv4QgCrKphBh5uTOedZxVwX/NHIRWhXes1 tfPg== X-Gm-Message-State: AOAM530uvLBJy5BlXxY55zjnxhDpiY1VFtSSfwHGgQxGr/MdyLFn61du 6PIsbBt/GIsVlcRE32OyOqd6Hc8GiS80j1aMHhR7MHIbjswZSQgVQgfuU6axy04t+AxkAwUpgz4 9e7bygOfsESK8ybYDRwvTQeWNqZyAfjg9HeaOH4INThRHkQVNHE0v X-Received: by 2002:a05:6402:2926:: with SMTP id ee38mr5358992edb.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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220111_094848_214098_DA929A1E X-CRM114-Status: GOOD ( 17.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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/arm64/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 = <5 IRQ_TYPE_EDGE_FALLING>; reg = <0x66>; - muic: max77843-muic { + muic: extcon { compatible = "maxim,max77843-muic"; - musb_con: musb-connector { + musb_con: connector { compatible = "samsung,usb-connector-11pin", "usb-b-connector"; label = "micro-USB"; @@ -871,6 +871,17 @@ ports { #address-cells = <1>; #size-cells = <0>; + 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 = <0>; + status = "disabled"; + }; + port@3 { reg = <3>; musb_con_to_mhl: endpoint { @@ -910,7 +921,7 @@ charger_reg: CHARGER { }; }; - haptic: max77843-haptic { + haptic: motor-driver { compatible = "maxim,max77843-haptic"; haptic-supply = <&ldo38_reg>; pwms = <&pwm 0 33670 0>;