From patchwork Wed Dec 29 12:46:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 529354 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 E716BC43217 for ; Wed, 29 Dec 2021 12:47:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238761AbhL2MrK (ORCPT ); Wed, 29 Dec 2021 07:47:10 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:39710 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238641AbhL2MrH (ORCPT ); Wed, 29 Dec 2021 07:47:07 -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 22B803FFDB 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=r9HPg3JSAEOg9NmbHzzSoR6SujxmeJ0M4OI/ixjeZrc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=fnUNrjX3Z8YThMizjVjXe9+YvCWVdW1crqKGMEp9vC9lrtHTwQcTB8BFYjB89v7aj aKHsmQgPttoHq5CL9q5TeuwRWElUGxqvI/BX9ZV5RWQPT/VOqkwkawH/o3gOMlJj3G Yok5kI1cQFkac4dMwWoRPgkgU6TFMr7zhU5YhSXQsWW19coYMwgaj5II4+U4ucStBV 11/Emup20ofDxI90rH1s7TqfVxeelLB2JEL7FFGaI/VwMjEvzn6KXkeVSn4Ogvy4vu 6eB4zbRbTHsdmysHdACID5rL4uoF/BHuO6GkZtXm3ormEUrqeop9ByTtFDB3DOiBjs s5lmYewgNgQwQ== Received: by mail-lf1-f69.google.com with SMTP id g2-20020a19e042000000b00425cfac0e67so4470656lfj.10 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=r9HPg3JSAEOg9NmbHzzSoR6SujxmeJ0M4OI/ixjeZrc=; b=D/L7EoXg137Vc80QQ5LFco1w9/7Hbw6Q7ZRmOPzjr6lmeHyyJ7wlaV45CSGweUUAPG p5sS+yjr3XMUSXKx1hId1untFsGYYdvfEJtJ02RFu7m4TH3rdH+iymtRLIp+1xm6myfq sku6Mv6X5wQnn1GAchkYVO3avYyR2rr1daHwZsMtFPpDEe0BEZImeZeS3gVwthc3Yykm ocxNpVI2bn/GWGyzTmieRJaQoc04UHrWU4fAiP5Hy0B1i/kqhkjCyFQjVqY0vUoi94Re 6PODoYAHH/5mXfNt+uafUNLGaCyyo7PwbtdK6HJe3OwDwURhECHiomfGSv64t9W34lu+ MWcw== X-Gm-Message-State: AOAM532iQVAg7ROvJffILy4kuIFZL+96Fpp3ffWutIMkk0Qi9W4pUexH i5cpNm3GxyGAuO5LuQqti9SNUXOp/+glURsv9DRcSXa4IGAe2rEBC8k3TIR5sHt82vNY2Le05Or DyjXoIr3M0kZd/Le7dgD5rvEYsDBjjGk3jrq7kW0= X-Received: by 2002:a05:651c:54f:: with SMTP id q15mr16468106ljp.319.1640782021617; 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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>;