From patchwork Wed Mar 8 12:59:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 661865 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 9C68CC6FD20 for ; Wed, 8 Mar 2023 13:00:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230119AbjCHM7o (ORCPT ); Wed, 8 Mar 2023 07:59:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231331AbjCHM70 (ORCPT ); Wed, 8 Mar 2023 07:59:26 -0500 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 895E299651 for ; Wed, 8 Mar 2023 04:59:19 -0800 (PST) Received: by mail-ed1-x534.google.com with SMTP id x3so65260241edb.10 for ; Wed, 08 Mar 2023 04:59:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678280358; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=W5Z8VM/PgDy8sR8t02jIqFbA0GbVVP/qE1Wd11uRrTc=; b=Hv2LVQMy9VVPx32VqmXAMO411OvKi6T4n896GFjnn8b+2EppFOC54pd5dswu7d7LtO BFwnI/i+vUXw86D9czmpAdMXwm1ICx6XlIeWldrVP8EGjk70VqJdutZfPTPWqUlNTTY9 SeoTPlX+FrJoTU03WkxG3GJaSul1H1VyOgNoCqb6z56RmbZVZ0AnsVlnD1lSdtopsuh1 Qby0jN26QGNcWQS6aAM0GAk8muPe1YXVXo8LZMWqJFbIQe4iaDnQnENJCxFrC5kdC5eX UJJKvlJv1i1zgg9RPBc+78wzekalVMkvOr24Nq8KG+1z880qIYyyXCKO4QEk+ZSWSmw/ vVqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678280358; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=W5Z8VM/PgDy8sR8t02jIqFbA0GbVVP/qE1Wd11uRrTc=; b=h4/R8pL/Y+cIfQLN3fePOrcOYH6jyXB3fPiI4EoLXPb8M2FcToC7UHLt301AQyWIx0 Pwcndk/7s4nmPzX7G8Gd2YHpvNgvPXSkNK9dykap11nTUTk77CFbjsyqd2ReN8jSvWfW pMc4rQ+aFGLMBrznM3ce4uqPxzu9u3YFLUKkfWVz2+rNtDPbQvyTLUsi+lcyqqnz/1gk Aa8uuPMN0deMrOg0iJRiFsNH0Ytw4OqpGoYLMjyfjnjpg4e9PJrUCUuL7rXS7zt/e5wA Zvc3ANFdv2RV8qJmsG13bac4KT/6QWDZx1o2+lMyGmMoXsL1DFPfOVfLmeHmTFFmhCqG u+BQ== X-Gm-Message-State: AO0yUKVXZ79Z3uyx8fCbyDai5T8QqEmnS5qP1GHj/+ITHnvy7BISOrxp 8YgTes0gAKSa78Fsm5ElAdm/Og== X-Google-Smtp-Source: AK7set+RAkRwwXb3QKSgPWhvTr6FPEAffW1JZ5FPIE6o+Vsyww7Y9eVaEo6vCKpEsCJeQfEXF9uXUg== X-Received: by 2002:a17:907:7e82:b0:8f4:6efd:833f with SMTP id qb2-20020a1709077e8200b008f46efd833fmr22688776ejc.3.1678280358157; Wed, 08 Mar 2023 04:59:18 -0800 (PST) Received: from krzk-bin.. ([2a02:810d:15c0:828:ff33:9b14:bdd2:a3da]) by smtp.gmail.com with ESMTPSA id h25-20020a1709063b5900b008d0dbf15b8bsm7464141ejf.212.2023.03.08.04.59.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Mar 2023 04:59:17 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Melody Olvera , Greg Kroah-Hartman , Souradeep Chowdhury , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v2 10/11] arm64: dts: qcom: sc7280: fix EUD port properties Date: Wed, 8 Mar 2023 13:59:05 +0100 Message-Id: <20230308125906.236885-10-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230308125906.236885-1-krzysztof.kozlowski@linaro.org> References: <20230308125906.236885-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Nodes with unit addresses must have also 'reg' property: sc7280-herobrine-crd.dtb: eud@88e0000: ports:port@0: 'reg' is a required property Fixes: 0b059979090d ("arm64: dts: qcom: sc7280: Add EUD dt node and dwc3 connector") Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio Reviewed-by: Souradeep Chowdhury --- Changes since v1: 1. Correct lang typo in commit msg. --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index cb33cb2a81bb..90ed277dc821 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -3591,12 +3591,17 @@ eud: eud@88e0000 { <0 0x088e2000 0 0x1000>; interrupts-extended = <&pdc 11 IRQ_TYPE_LEVEL_HIGH>; ports { + #address-cells = <1>; + #size-cells = <0>; + port@0 { + reg = <0>; eud_ep: endpoint { remote-endpoint = <&usb2_role_switch>; }; }; port@1 { + reg = <1>; eud_con: endpoint { remote-endpoint = <&con_eud>; }; @@ -3607,7 +3612,11 @@ eud_con: endpoint { eud_typec: connector { compatible = "usb-c-connector"; ports { + #address-cells = <1>; + #size-cells = <0>; + port@0 { + reg = <0>; con_eud: endpoint { remote-endpoint = <&eud_con>; };