Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp657741ybv; Fri, 7 Feb 2020 06:14:53 -0800 (PST) X-Google-Smtp-Source: APXvYqx2daS3vNtk73LPGu5Muneq2ojzTzjvN0iYLEm7X/Yc47FMhCxB8sKM6wl6sxiU/DJxLdxj X-Received: by 2002:a05:6830:43:: with SMTP id d3mr2932020otp.259.1581084893277; Fri, 07 Feb 2020 06:14:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581084893; cv=none; d=google.com; s=arc-20160816; b=l9YL3Xu1wan/HQFXE7nO8/HHpUsqd5IgGccoosUT2MK8yQeyg6Hgomh3KRlQ66mW7b Lpb8CQUr9dD/QvskWUjWeeABRYithR1eLzShzGd97UuNCtX32usBQoLoDE36BUZeGntN P7trKbeG+W+uXwykL7dSnaHHrGv47uvz9k7HIbCnahFg0E4GEUb1dyVpWrMDsTz11nF3 ZksEUS70Uvwz8+IfiCIJMQFLe6N0E3bZh4JOShtEjMSyRQMlJCuJcETu4oGys+mWkeCm eFDPx1xiW01tXWGtbd+UrxWA7O8jGFTz+Hb3tU8u4jUjqrrHkWYEaowikkAsXaxaXhLH rAeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=ZpThehabrV+7X+grOYiMTxXMZWoakrRtkNatrnHCpBY=; b=n7FNssNXZ1qcuqQ1GogYUU19PGySWTyA3d2CvOb/KeuATpFkx5jt9t1sCCOrVdGulq esP+87186hycN+awt05AiWJOVP6P5OlmYu+JRJDG2RZjeHH9QEAZvxNWC7pyNd7WxC4O UkfxoV2OYqQSSoDIpjO2bNM1VL/EGozAwBB8ffxlvEJD+t/wtms0IP0cLCBNcfw/KlZZ YhDazedTLbenBDhAVQ3lmVTn2jPHVkcuxt0Vbj1TfPaOEd8Ox6m2+JwPeV1XSQMg2h19 ZsUHLofU/l36ax1/aUUqXv/WlaTbpnb9N409uZIwZVrVdu2mdXZEGf01c0fXjFBsWsVv weaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j2si1525945otr.255.2020.02.07.06.14.39; Fri, 07 Feb 2020 06:14:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726901AbgBGONg (ORCPT + 99 others); Fri, 7 Feb 2020 09:13:36 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:53914 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726798AbgBGONg (ORCPT ); Fri, 7 Feb 2020 09:13:36 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id B13AD2958AC From: Enric Balletbo i Serra To: linux-kernel@vger.kernel.org Cc: Collabora Kernel ML , dafna.hirschfeld@collabora.com, heiko@sntech.de, Matthias Kaehlcke , devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, Brian Norris , Marcel Holtmann , Robin Murphy , Rob Herring , Mark Rutland , linux-arm-kernel@lists.infradead.org Subject: [PATCH] arm64: dts: rk3399: Remove extcon unit address and extcon-cells from Gru Date: Fri, 7 Feb 2020 15:13:24 +0100 Message-Id: <20200207141324.3188898-1-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The cros-ec-extcon has no reg property so remove the unit address from the DT node to make DT compiler happy. While here, remove the inexistent extcon-cells property from the extcon nodes. Signed-off-by: Enric Balletbo i Serra --- Thanks to the Dafna's work and Rob's review I got noticed that the old txt binding was wrong, and also, that the current cros-ec-extcon node in Gru is wrong, so sending this patch now that is fresh in our minds and update the node accordingly. There is an extcon-cells property that seems to not exist and is not documented, so remove it. For reference, see https://lkml.org/lkml/2020/2/5/176. arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi | 4 +--- arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi index 7cd6d470c1cb..1384dabbdf40 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi @@ -291,11 +291,9 @@ cros_ec_pwm: ec-pwm { #pwm-cells = <1>; }; - usbc_extcon1: extcon@1 { + usbc_extcon1: extcon1 { compatible = "google,extcon-usbc-cros-ec"; google,usb-port-id = <1>; - - #extcon-cells = <0>; }; }; diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi index dd5624975c9b..2f3997740068 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi @@ -570,11 +570,9 @@ i2c_tunnel: i2c-tunnel { #size-cells = <0>; }; - usbc_extcon0: extcon@0 { + usbc_extcon0: extcon0 { compatible = "google,extcon-usbc-cros-ec"; google,usb-port-id = <0>; - - #extcon-cells = <0>; }; }; }; -- 2.24.1