From patchwork Tue Aug 23 07:27:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 12951805 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 AF3D1C32774 for ; Tue, 23 Aug 2022 07:28:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240969AbiHWH2n (ORCPT ); Tue, 23 Aug 2022 03:28:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241009AbiHWH2R (ORCPT ); Tue, 23 Aug 2022 03:28:17 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57EEC642ED for ; Tue, 23 Aug 2022 00:27:47 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id r16so15889436wrm.6 for ; Tue, 23 Aug 2022 00:27:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=hQh8Ka1syQsKSvmOQKR3o9DYOsDuzDyZAiwXNBYwiQE=; b=t5gIcaRntnlPJc1ZzW5PVzkebBdQWqWlTCogUshJLt6C/R+GAI56tyZxjMrjrJRn0U jGo581cWMkFCU/OlbNpITv+MbFokvU7c8tU/+DGgtMNJxA68JhVet97sX5iRL68uTII4 IAjNo45uAN6753BQbXRt9cZqiV/oOh9Xl0aA6JDIrZBQ9RogJSQOdhYkG+iiJDB7UzgT +nlbPdoT3Wp/CS01cGE+b/2T3SIqvCo4WQ3+SgJjKT0klC2LzmZIl4qZsNKv57WC/N05 uBV4OqJQif/irbfMLmdYP3JlddHsOLS7CfoAx3eQkCWlJ3MX+AxOrpLWuBAan2seKPwY Hr9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=hQh8Ka1syQsKSvmOQKR3o9DYOsDuzDyZAiwXNBYwiQE=; b=XCa0+5728Bnd89hp7nd3jTy3EDFM0PW9B4AqGZMXSC/cwcVC8EplfNHnYE97tzGLyh fzTvZtI6v5CLE5G1Wf30YbNQtRxnssiUOdZAhssC9Q+Id3aQcKgXSfpOukWpYq4SGR5P 75sAV5OlSWvkUhM+WyHKk9w2qNXLW0Zxl1NhJ+1V0IigkGc3DVZ4vdlesgmcJSviz+M1 v8xf04YaDYPoKrDLimGGGwhqrlDLpdnToGiYUYi7889JFqqqme1Z2ZaSxbypyzmD+lPe QNjh1FIFrfdnuLknrN3qPkaesViH86wOrp9w7P6jiMpVTiLuZIKsrxbjT4hMhBlKA15Y LRjw== X-Gm-Message-State: ACgBeo3sBhU1MkZA/T0XIJhR99EUbXxWz7dLMt3g60HYi97XJMDTxLTY f0GkM9ALY9kdPTES8cBbLH+XsmCnetZh5A== X-Google-Smtp-Source: AA6agR5qDROY0NYH+kbIjhCkLt4MlOgbY3hZrPauas8w4vidtcydsqFKsUZ8Htv/HCy6EEufUPDmiA== X-Received: by 2002:adf:d1c4:0:b0:220:7a85:ad7c with SMTP id b4-20020adfd1c4000000b002207a85ad7cmr12045801wrd.128.1661239665843; Tue, 23 Aug 2022 00:27:45 -0700 (PDT) Received: from P-NTS-Evian.home (2a01cb058f8a18001c97b8d1b477d53f.ipv6.abo.wanadoo.fr. [2a01:cb05:8f8a:1800:1c97:b8d1:b477:d53f]) by smtp.gmail.com with ESMTPSA id k13-20020a7bc30d000000b003a5c75bd36fsm19999390wmj.10.2022.08.23.00.27.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Aug 2022 00:27:45 -0700 (PDT) From: Romain Naour To: linux-omap@vger.kernel.org Cc: devicetree@vger.kernel.org, bcousson@baylibre.com, tony@atomide.com, Romain Naour , Romain Naour , Roger Quadros Subject: [PATCHv2] ARM: dts: am5748: keep usb4_tm disabled Date: Tue, 23 Aug 2022 09:27:42 +0200 Message-Id: <20220823072742.351368-1-romain.naour@smile.fr> X-Mailer: git-send-email 2.34.3 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From: Romain Naour Commit bcbb63b80284 ("ARM: dts: dra7: Separate AM57 dtsi files") disabled usb4_tm for am5748 devices since USB4 IP is not present in this SoC. The commit log explained the difference between AM5 and DRA7 families: AM5 and DRA7 SoC families have different set of modules in them so the SoC sepecific dtsi files need to be separated. e.g. Some of the major differences between AM576 and DRA76 DRA76x AM576x USB3 x USB4 x ATL x VCP x MLB x ISS x PRU-ICSS1 x PRU-ICSS2 x Then commit 176f26bcd41a ("ARM: dts: Add support for dra762 abz package") removed usb4_tm part from am5748.dtsi and introcuded new ti-sysc errors in dmesg: ti-sysc 48940000.target-module: clock get error for fck: -2 ti-sysc: probe of 48940000.target-module failed with error -2 Fixes: 176f26bcd41a ("ARM: dts: Add support for dra762 abz package") Signed-off-by: Romain Naour Signed-off-by: Romain Naour Cc: Roger Quadros Reviewed-by: Roger Quadros --- Issue reproduced on a AM5749 CPU using a 5.10 kernel from ti-linux-kernel: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?h=linux-5.10.y v2: improved commit log to ease patch backport --- arch/arm/boot/dts/am5748.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/am5748.dtsi b/arch/arm/boot/dts/am5748.dtsi index c260aa1a85bd..a1f029e9d1f3 100644 --- a/arch/arm/boot/dts/am5748.dtsi +++ b/arch/arm/boot/dts/am5748.dtsi @@ -25,6 +25,10 @@ &usb3_tm { status = "disabled"; }; +&usb4_tm { + status = "disabled"; +}; + &atl_tm { status = "disabled"; };