From patchwork Mon Jun 19 17:01:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 110122 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3142227vqr; Mon, 19 Jun 2023 10:09:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Cytw1AQVR4Epl+srZrpC6K9uacWIjE7kILNYydIroN8KIuDoarOgveK7SZfjuHNo9R5zK X-Received: by 2002:a9d:7c83:0:b0:6af:7f94:5f15 with SMTP id q3-20020a9d7c83000000b006af7f945f15mr1468639otn.20.1687194588049; Mon, 19 Jun 2023 10:09:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687194588; cv=none; d=google.com; s=arc-20160816; b=Fn2L6fn3dZfI47ODFTwAv9GRWGju3uRzKtdxL8pKYJUgs4FNJT8EEbfAVzsUPWvG2r a1Pmt2a2mqbRU8YVaKj0N3YQqsT6BlRLj6bAMH1wLBVXhtBWfApdMO7WAMgn3+EWm5cL 5Xufz2Fk6YQMMlbZ3RWr9xNPh171tkbco6CAQtGPftCAFV6/ykM3pSnwfIUhfbmUslxp r23F/rI3UIhxSVcVQAoQ2EGbppgMvTaCluLhfYCeILO3RESb5jQPwJyXgYPSjyqQpV0+ 6AvbXWX/luZz8t4zP+m/BCB/zrNg7KXLxHkZYepGmMVnT+04x01wiMtBNotxDlCBVXnD UVZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=kFsNpkHLcFM//BtPKCIX3dn76ZP7phYzCOeBMJR7VSc=; b=aWh8Vj9VPZ6MIx3fGzZtfVFeB/QjoT3g1VvRDzbPTS4noqMmWvdXcpsQCbVVuFFvwi X0V2R9ezT7rRAutOHSMTDirdhuP7Ekg+YdZV7GjfFokNy+CvxKEw70HfPpbJNL91ersJ tZDt9vY6iXTPWJlI6hPwy49OTxvRJbSKtKd856uFsIpAZbwjcz0ANgTQofOLoBNa3W1+ 8ChvEXnzRIzQtJEjOWzH8JESsIDII9gyZFmihoSgOxzq7h4qeRrBVViSCNc4wdimY0hj ptX3Ryp8xZF14wvLbeniHdcvH/Y9mWVmgnnZTaKsKeneBKcqED+6WyLI89HPqNGY2Dbq 9A1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=l18FBLSB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o23-20020a637317000000b0054fd3dd12d4si11875162pgc.799.2023.06.19.10.09.33; Mon, 19 Jun 2023 10:09:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=l18FBLSB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231299AbjFSRCE (ORCPT + 99 others); Mon, 19 Jun 2023 13:02:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231523AbjFSRCA (ORCPT ); Mon, 19 Jun 2023 13:02:00 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5D7E10D0 for ; Mon, 19 Jun 2023 10:01:55 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-5149aafef44so4392573a12.0 for ; Mon, 19 Jun 2023 10:01:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687194114; x=1689786114; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=kFsNpkHLcFM//BtPKCIX3dn76ZP7phYzCOeBMJR7VSc=; b=l18FBLSB4Q5LH5BXVHfMra8c5WR+f/ZgyKART/bEbY7FXxQvgSMDzMoNpPqvkK1Rr8 AkUFTAoN0CffSdQ0Tp353Rl3xlEr1Gw1tQ71tRxXLJUTntWchUei6qH7jMtqYuO2v1Zo p/VQaTMneYGur6erh0ZgTt9HI9gDGraytZxZNGMjmru4M7p2Wb0aMDcXTLSythH4hT+Z KpBKK4oP68GKS4rm+/pH9W7TxcUogVByGyXgXW3BhjIydpUJI0iUIYMrzV15+tDamWxt 4ih/xNV1dbUTyrmK4istPCWfe+B4NbI1faxnHGHn21+jzEq7r7u/aBdtkJaV5+hdyjlU NAyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687194114; x=1689786114; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kFsNpkHLcFM//BtPKCIX3dn76ZP7phYzCOeBMJR7VSc=; b=UBLGwHsXnPDkflups3/4ELoc7cwLq5QoV1HDM4Gbw7/HdDb4rw8TwMDkJO4VKOyNNd xS30JdIhytisg2INgcP7i8V0NkQEWE+pv/RgBSYSe1/KvgKKYUFhZl16P2KC0cZLjFxF Xjhaxn0aqr87MSbKh/LXBMug1InmaaoSLNuWa/mtyTBdMD9AGd8+JuBuU5gug5TxBwnv 3c8L3R/kacp/hBzUFBbLTSjT8SQDlt/f+4TKwRzXkCt9msatQSuQU9V8e6E36NCGkXK5 OWSlH00bURNd3+tpDtPAlfUT19rEjc0kq1zuFNXy+pYykDuwrXuMsRAM81N2ZYdurTep 1wYA== X-Gm-Message-State: AC+VfDzV3S7gKN57WxNbDgXa0wHLO3Mrzflzjv3w+EbS7XotN5JD3hDO c4pR6yxNaeZa/gTbvtUNaNpNXw== X-Received: by 2002:aa7:cc87:0:b0:514:98c8:9d7c with SMTP id p7-20020aa7cc87000000b0051498c89d7cmr6303931edt.4.1687194114254; Mon, 19 Jun 2023 10:01:54 -0700 (PDT) Received: from krzk-bin.. ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id p9-20020aa7cc89000000b005166663b8dcsm13136672edt.16.2023.06.19.10.01.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jun 2023 10:01:53 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/4] ARM: dts: qcom: ipq4019: use generic node names for USB Date: Mon, 19 Jun 2023 19:01:48 +0200 Message-Id: <20230619170151.65505-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769151752400516551?= X-GMAIL-MSGID: =?utf-8?q?1769151752400516551?= Device node names should be generic which is also expected by USB bindings: qcom-ipq4018-jalapeno.dtb: dwc3@6000000: $nodename:0: 'dwc3@6000000' does not match '^usb(@.*)?' Override also the DWC3 node in qcom-ipq4018-ap120c-ac.dtsi by label/phandle, not via node path, because it is less error-prone and makes the overriding node-name independent. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi | 7 ++++--- arch/arm/boot/dts/qcom-ipq4019.dtsi | 14 +++++++------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi b/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi index d90b4f4c63af..da67d55fa557 100644 --- a/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi @@ -262,10 +262,11 @@ &usb3_hs_phy { &usb3 { status = "okay"; - dwc3@8a00000 { - phys = <&usb3_hs_phy>; - phy-names = "usb2-phy"; }; + +&usb3_dwc { + phys = <&usb3_hs_phy>; + phy-names = "usb2-phy"; }; &usb2_hs_phy { diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi index f0ef86fadc9d..13388e5c1b4b 100644 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi @@ -621,7 +621,7 @@ ethphy4: ethernet-phy@4 { }; }; - usb3_ss_phy: ssphy@9a000 { + usb3_ss_phy: usb-phy@9a000 { compatible = "qcom,usb-ss-ipq4019-phy"; #phy-cells = <0>; reg = <0x9a000 0x800>; @@ -631,7 +631,7 @@ usb3_ss_phy: ssphy@9a000 { status = "disabled"; }; - usb3_hs_phy: hsphy@a6000 { + usb3_hs_phy: usb-phy@a6000 { compatible = "qcom,usb-hs-ipq4019-phy"; #phy-cells = <0>; reg = <0xa6000 0x40>; @@ -641,7 +641,7 @@ usb3_hs_phy: hsphy@a6000 { status = "disabled"; }; - usb3: usb3@8af8800 { + usb3: usb@8af8800 { compatible = "qcom,ipq4019-dwc3", "qcom,dwc3"; reg = <0x8af8800 0x100>; #address-cells = <1>; @@ -653,7 +653,7 @@ usb3: usb3@8af8800 { ranges; status = "disabled"; - dwc3@8a00000 { + usb3_dwc: usb@8a00000 { compatible = "snps,dwc3"; reg = <0x8a00000 0xf8000>; interrupts = ; @@ -663,7 +663,7 @@ dwc3@8a00000 { }; }; - usb2_hs_phy: hsphy@a8000 { + usb2_hs_phy: usb-phy@a8000 { compatible = "qcom,usb-hs-ipq4019-phy"; #phy-cells = <0>; reg = <0xa8000 0x40>; @@ -673,7 +673,7 @@ usb2_hs_phy: hsphy@a8000 { status = "disabled"; }; - usb2: usb2@60f8800 { + usb2: usb@60f8800 { compatible = "qcom,ipq4019-dwc3", "qcom,dwc3"; reg = <0x60f8800 0x100>; #address-cells = <1>; @@ -685,7 +685,7 @@ usb2: usb2@60f8800 { ranges; status = "disabled"; - dwc3@6000000 { + usb@6000000 { compatible = "snps,dwc3"; reg = <0x6000000 0xf8000>; interrupts = ; From patchwork Mon Jun 19 17:01:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 110129 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3147341vqr; Mon, 19 Jun 2023 10:18:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7SDeCKZRN5XvPOXgwZqfVXhyIQ7b0Huhslq+3K17q8WSDG/sQNBPMyvnXiF9l+Tet4rvhk X-Received: by 2002:a17:903:230c:b0:1b0:236e:e5ed with SMTP id d12-20020a170903230c00b001b0236ee5edmr13449004plh.14.1687195097654; Mon, 19 Jun 2023 10:18:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687195097; cv=none; d=google.com; s=arc-20160816; b=E9zIOLc9+G/5p683zjnxzbRHlo34ABfsyf9pJOg/bJxlC7dj3Ni8/wKSSpsP5JqUsO ueia5Y/v3k92LAYaGSt+2DRb5uMSj3ivJWYEWxorKogqqgKoepPJfq0KzHTH5ZjFYZ3b wOGd+3NVzCqIR/G7kQKxhQI/+olfb/nzyFS2HoUH2dReN1Z9R614+rQIVd+uWWuON7pJ f6VXX4g6/O6C3KbHSOQnAMXA694q13lHo6fcUmU9I759b2aHOWF3A9BWX96B5yyesY2w JMqgmyui7Nii8acUksT0CV3lgfFf8hwbif0PKOTWsk9Jjube9UySRFG6hdmpKfwvFBRu 5XTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=COsaRxZdSPBV9CeyLNaEQg4S1uumP/ZoT63AXElGvQM=; b=uGtPtYnf3qYUzEP/bkrwDfRn1ErvHiPs/rlAfG+vNf6LF6W99nH7KdQhdzeHesGDBw N/fDl/CpnvTXrFWYpokWUktRD5mm5LBUUgjUt+RjGXEul5tUzygWM5ABVQ3lQJpIh4HE 5uAWPmw9W7v4lAc7QnMXhTI/fd0FwdW8YlIKgrL/0HGXhD34FeWWIbHamO2BEDcGFl/J RyiNcsKy1wrh5uNAXxXSOy5Yzn0ZaHJmCOSUizKpGr/NjCIobjt3286u7JUH6hcZqR57 cECC9QweAwveSp9w9Yiew7n62CtL4kEIwzsnlU+BWl1K7WtgaaEHKml/RMwb1OL89EoM i+QA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S0bbD5N+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h16-20020a170902f55000b001a97fd670d5si185351plf.367.2023.06.19.10.18.05; Mon, 19 Jun 2023 10:18:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S0bbD5N+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231552AbjFSRCG (ORCPT + 99 others); Mon, 19 Jun 2023 13:02:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231586AbjFSRCA (ORCPT ); Mon, 19 Jun 2023 13:02:00 -0400 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7458010DC for ; Mon, 19 Jun 2023 10:01:57 -0700 (PDT) Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-51a2c8e5a2cso5242739a12.2 for ; Mon, 19 Jun 2023 10:01:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687194116; x=1689786116; 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=COsaRxZdSPBV9CeyLNaEQg4S1uumP/ZoT63AXElGvQM=; b=S0bbD5N+FhAvM28xfCEV5Iv+dBsG5PjpwStWc5X6w49zIJF3b+47JtdzVOlg6gw9hL 5aAdxExIPkQ3l7YcACz80nKEZMpf8txfNDw0i2Mm0xC+TLDELcXIgnbojrbCY4srkbk+ Zfg5y9bTk2jpBukwEMFOUZkgs+oF02mO4OzL5SHC88a8Acu9IPQFINQZB0wAPyksyrgA BV9EIihYks9f8Y6UQqPYDHNSiHU789rcsLxxY1YB2XC017WQ8kRqz0jmO13xRsiCa3Co ree1NoyNf5txD6WcIbr0CJcagyRsCEfKK/DcLC6UbG23UoOCwkGk4EuQ3cRar7D1MoYt ELGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687194116; x=1689786116; 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=COsaRxZdSPBV9CeyLNaEQg4S1uumP/ZoT63AXElGvQM=; b=gm1s0iwGQMuPmE1kJTVAiNmTSUDxiOKPvRCc9jJXQVV09JAK+C5z/P1FUB1tME5BSZ tMg6NPaG5t0JkyJSPA6+cZrD/Zei+dof286k46WdZSpKEk3ixIGo/c5S2+lXa+iOo86b wDl10DDxTxDd/VrYNmHUFm9Qz2diggIHRM9kInQhRhUt0CAiOtQezd4J1txcXPCZBzEU ECtiUk3bjTNE3w+W2pzS2mvjD+tO/ZHA97t+8Kt9PWTodx00OHNLZWh+9+0xN1hJjkI8 H8rXPyLo5tEhVbTTsxebLHnMHUXW8uFx7j6OlI4Ba7tMAObY6EWm0oB5ya1SmWZiTUab KKag== X-Gm-Message-State: AC+VfDzxcrtdhPXxJeOndEV6brby53Vx5Vepn6jrAUi7QVvxHS4Kigcy m4iYgJpl92FKossanIFhVoQfKw== X-Received: by 2002:a05:6402:218:b0:517:6ed9:662d with SMTP id t24-20020a056402021800b005176ed9662dmr7128683edv.19.1687194115978; Mon, 19 Jun 2023 10:01:55 -0700 (PDT) Received: from krzk-bin.. ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id p9-20020aa7cc89000000b005166663b8dcsm13136672edt.16.2023.06.19.10.01.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jun 2023 10:01:55 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/4] ARM: dts: qcom: sdx55: use generic node names for USB Date: Mon, 19 Jun 2023 19:01:49 +0200 Message-Id: <20230619170151.65505-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230619170151.65505-1-krzysztof.kozlowski@linaro.org> References: <20230619170151.65505-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769152286741720224?= X-GMAIL-MSGID: =?utf-8?q?1769152286741720224?= Device node names should be generic which is also expected by USB bindings: qcom-sdx55-t55.dtb: dwc3@a600000: $nodename:0: 'dwc3@a600000' does not match '^usb(@.*)?' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm/boot/dts/qcom-sdx55.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index df3cd9c4ffb9..55ce87b75253 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -603,7 +603,7 @@ usb: usb@a6f8800 { resets = <&gcc GCC_USB30_BCR>; - usb_dwc3: dwc3@a600000 { + usb_dwc3: usb@a600000 { compatible = "snps,dwc3"; reg = <0x0a600000 0xcd00>; interrupts = ; From patchwork Mon Jun 19 17:01:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 110121 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3142225vqr; Mon, 19 Jun 2023 10:09:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ57cTuTlOkgdr/MGOqZEI7WiKo/Ry/2JYJtKj7E3nsLzoV62RyJPrLWxA7uPCRJUOXdioIE X-Received: by 2002:a05:6358:51db:b0:129:d05d:691e with SMTP id 27-20020a05635851db00b00129d05d691emr5284682rwl.19.1687194587987; Mon, 19 Jun 2023 10:09:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687194587; cv=none; d=google.com; s=arc-20160816; b=slOSdbR4yna0YBNJUoFocn6A9os97BMem4nWHpWUFIAobdKdsJLnappVc08ZCcjNSk MNPUztj4bievkyN3ozq+yyUpu1M+XeX36m2ePVlXzNwq1fzpxu6zN+MCB8ldHNi9pApe s8yf95lsTHSNejEZ+Ep4SWj/Jae+KanJ759km+5dW/nnu72kir338wQnTMSzwKcsQ4PW eg3bf7GLqGbNfjbzMq4QeBrbO/pBVg8nacRLZE388uCW1nvy1vvJ0XgguYkrZzP2+zZ8 1Eho7Xj2eBV7mOK3k9eCUC6V1qLE2a0qzbc/UzvHZpzpHv1BWUR1UykCNLYOTSJSeyy3 nl8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6JaUNq2uBkN/LZLH2KyX589Bxtvv+gIlmVGHptckdMA=; b=TgTCnPKaengZOj93jEfU/hk21AxOKYENHxCU7TsCGZ/myHCAWTyO5jOXd0mmJoQ9Wg 6PFn6xxpcemhYY3gWHnMk2mhRM23EawsBSbjo1Km+qMXT6Paqp5SIq/TkRji6XfWklwa lkGKbg5IRECeV+Qp9/uHIBYBIcIjgBS3syCFYusgcJN9GN/1L7XdZRbB3e2a+Jg+i4+L faFpEGZwfOVOx01xZZ6LEUc80zajFvAIFBcgfXjnju7f/cagP0KjUgsx3TVw0U86kMf4 QN6UjCb9xGnX6+p1C+1J3vfey50kTm8017XGMubhMP3KwrY0US+Th+oM5kAJrs4vL1J0 q5nA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XmczEfH9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 69-20020a630048000000b005539083990fsi5335835pga.543.2023.06.19.10.09.32; Mon, 19 Jun 2023 10:09:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XmczEfH9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231659AbjFSRCK (ORCPT + 99 others); Mon, 19 Jun 2023 13:02:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231368AbjFSRCE (ORCPT ); Mon, 19 Jun 2023 13:02:04 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2937A10E0 for ; Mon, 19 Jun 2023 10:01:59 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-51a200fc3eeso5076896a12.3 for ; Mon, 19 Jun 2023 10:01:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687194117; x=1689786117; 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=6JaUNq2uBkN/LZLH2KyX589Bxtvv+gIlmVGHptckdMA=; b=XmczEfH9cf2mva55kZ98ts5ntqtiOr7Qwfd15OMEXEe6VwJhJzQ+zww+d4VkuCcRWA XsN6XYuaruND0FTQw2/dXNuyYa+JwvIo2HcBTCgSORHu1dZYpY76chbpWIMGu7VtK2qY ICCFxVWVI6fPOBq60VX0HPhKbWupVT8HoQCFEQxNMs3XJI26KspK3QXOQ6k1y+K3qkJg f5tmq6C4NC0hDdOCH9M/nN4ll4AFEEWSr/XHoW6oFQMs42USuIWY5nthD7sOhlEVzD+D meGBoFUHi6oadclrwF+hrbG54rPYRvo53XtrVmvSN7qDrObBbWHjxTrZ8Xx3BPEBSRsN Xaqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687194117; x=1689786117; 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=6JaUNq2uBkN/LZLH2KyX589Bxtvv+gIlmVGHptckdMA=; b=NfAd06Ib/KIWrU6XCNeoFFYsGRPFCkmaMemKhv+OOh8buwF6g9nOE1LBM20WLPl3CV Qy1yxmsX6UlS0//I+53wAg8Uq2X3ZPpehR5rNJGHLA9C/S9aQcGSnPiB3n0E57e45JXH O2bvxeGXDML5j6wWlZOdW3KklnXFRdS3FCgADze+omHdDvIzd7DHifnOXktAFP4ZLXAu nIZOpuZDO1MQFifSbBa1/iNxEo33fyJK2ACkIrTJ49oj+hrQAwh8NOYR5cZ/naXwpjF7 sx3j4wDt9I99A5SRJi53qUzFnGBKFilSyzllkD+uSHczxA9/Sb/RX2QtCH1oT/w09hnT Ctjg== X-Gm-Message-State: AC+VfDyshqZh1SHn5mlWJm8Jg3Huxrggyed8MdU1gp3BgXjgRPujYHv7 XMtMsOTtVxpJ9XTIaQSSXFf+5A== X-Received: by 2002:a05:6402:759:b0:51a:7bcd:a82d with SMTP id p25-20020a056402075900b0051a7bcda82dmr1472410edy.23.1687194117629; Mon, 19 Jun 2023 10:01:57 -0700 (PDT) Received: from krzk-bin.. ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id p9-20020aa7cc89000000b005166663b8dcsm13136672edt.16.2023.06.19.10.01.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jun 2023 10:01:57 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/4] ARM: dts: qcom: ipq8064: drop spi-max-frequency from controller Date: Mon, 19 Jun 2023 19:01:50 +0200 Message-Id: <20230619170151.65505-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230619170151.65505-1-krzysztof.kozlowski@linaro.org> References: <20230619170151.65505-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769151752281731182?= X-GMAIL-MSGID: =?utf-8?q?1769151752281731182?= spi-max-frequency is a property of SPI device, not SPI controller. Drop it from the controller nodes. No functional impact expected because child SPI device already defines spi-max-frequency. This fixes dtbs_check warnings like: qcom-ipq8064-ap148.dtb: spi@1a280000: Unevaluated properties are not allowed ('spi-max-frequency' was unexpected) Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm/boot/dts/qcom-ipq8064-rb3011.dts | 1 - arch/arm/boot/dts/qcom-ipq8064-v1.0.dtsi | 1 - 2 files changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/qcom-ipq8064-rb3011.dts b/arch/arm/boot/dts/qcom-ipq8064-rb3011.dts index 104eb729c2d6..1796ded31d17 100644 --- a/arch/arm/boot/dts/qcom-ipq8064-rb3011.dts +++ b/arch/arm/boot/dts/qcom-ipq8064-rb3011.dts @@ -282,7 +282,6 @@ gsbi5: gsbi@1a200000 { spi4: spi@1a280000 { status = "okay"; - spi-max-frequency = <50000000>; pinctrl-0 = <&spi_pins>; pinctrl-names = "default"; diff --git a/arch/arm/boot/dts/qcom-ipq8064-v1.0.dtsi b/arch/arm/boot/dts/qcom-ipq8064-v1.0.dtsi index c5abe7151f14..17f65e140e02 100644 --- a/arch/arm/boot/dts/qcom-ipq8064-v1.0.dtsi +++ b/arch/arm/boot/dts/qcom-ipq8064-v1.0.dtsi @@ -30,7 +30,6 @@ gsbi5: gsbi@1a200000 { spi4: spi@1a280000 { status = "okay"; - spi-max-frequency = <50000000>; pinctrl-0 = <&spi_pins>; pinctrl-names = "default"; From patchwork Mon Jun 19 17:01:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 110123 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3143407vqr; Mon, 19 Jun 2023 10:11:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7gUOKYWwESUMhT73CRpx4NvkDeRCBA4O+Y+tu/5YLq91aQSjL6xyuKdgpeHn8QQYB38wI4 X-Received: by 2002:a05:6870:e755:b0:1a9:b1d7:1e94 with SMTP id t21-20020a056870e75500b001a9b1d71e94mr6087840oak.17.1687194693154; Mon, 19 Jun 2023 10:11:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687194693; cv=none; d=google.com; s=arc-20160816; b=pOl5M9rUHG47zHAYkR4/eQVzGYolwXZaMNqhZeNtkI4fim5HgybKnv55hd1DpQr71E A/7Rm4mXgHkmbICnwU9bYK9GIt2PUa6HjWWp1a18rbKwMLPxENDTuVRKngauL9n7qVb3 8hSIBOL0xepRe6nbaK1+00ASHls62/KUKHGsunsFwEJjAt+G1/BboDDXGscpwyG+KStn xRFET0pWUASPNA9s+1DVt7TAqucoBLuCpUOJW/0zpSlPHRsO+AhxIQ1U57N6ezrzth8p Gpkg157SYPKS+NxulfMxaU7Qi65u6MHYSyOTCP5cZ1E3SwlwZ9WDjqocDbnnT/lAYb6M OmKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3CVX2V9zY9Zr4mVjQxPBpI/yV4vv6hWG8lH91L0wJKU=; b=NAmxyTymLcCfB7kKtgarssFPQAPtrwGxXOujpjDY2iAd6fuQSVwCieoSQKu55dXCS7 pcEvR40089EA4DA1IybyvjwRzaWRcWYeu5/IRDiLwpBgLJk2Mg0aFaFA6cu6Qg+Cbj7P PMFRHXcTv35ITdBud5AdIDh9x39n0jsouLI94QniYBiKuv6U/afrt/zFN1RkcHLOEuuB bynby7esXEtyJZocUBM0PfYDPZXx0Xm5UuqOhfCpNwAdJgMi0iyZTvw1RrQsPYdwtRQ0 wmw9cARrDd2UzxEwqgPgDNixo0o8TrRNMnW+jbNixlOsQ6bOHk8ydVjscSEaNyfw0zWr pB+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LI9GwyX0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t13-20020a654b8d000000b00543c84bf588si21617330pgq.473.2023.06.19.10.11.17; Mon, 19 Jun 2023 10:11:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LI9GwyX0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231853AbjFSRCP (ORCPT + 99 others); Mon, 19 Jun 2023 13:02:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230501AbjFSRCG (ORCPT ); Mon, 19 Jun 2023 13:02:06 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7DCB11B for ; Mon, 19 Jun 2023 10:02:00 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-518ff822360so4599359a12.1 for ; Mon, 19 Jun 2023 10:02:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687194119; x=1689786119; 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=3CVX2V9zY9Zr4mVjQxPBpI/yV4vv6hWG8lH91L0wJKU=; b=LI9GwyX0Td0abqCUKUA0+yxKakRrbMpo8y5IL9FlKNUlNZ5OPJi0q6TmoKP9uCWzIW MzCd2VPnc9PJN18VlTuL0Hj2lJtp1SbuB2CrwCG19I7OdEiz1ZKeFbO9TA2PRPfkDTSG 99PEgw3m0C2LW0Y3z3cah75ZyOukshdC9+h6kSa6vyKojoIttxHKoznRqzoNAjA3F1iG T3CXgB+690BQ3pBpS8qcFrdKug+Wfjsud8GXarisgmlcxj73KG3zJzYMZ25ikazC5TfH QNxzf4R5YFWePYO3teF32iNcFsLLeCImM0fcY518mpcL7wULCRTEwaoqgZiFQbN/uWgH EHOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687194119; x=1689786119; 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=3CVX2V9zY9Zr4mVjQxPBpI/yV4vv6hWG8lH91L0wJKU=; b=kgtIyAdg75NJOmqv8oHf1FqysMFT615LSil6055XqIXwJ03RUdsk9gftdMzKuc5pxr dQSjTKthOAko4NAQV7WIiLPVvlu9q9FtN1O/p3CN7nFXZlO+Q4vjQfyrOaYAcNpf5cm2 D+oSdTkREfsZxUz/+NVj3up6CzjLH0SMjhUNxI61QHfffqjAoa6agBxfkpuQxLAqWOb9 Y0WF6NJXwAQH1jJIAdkQC7N1AALpQIUwrp+FP30JdStbweNHhWGZ2QJXSgMlpkZYRrAp wAI7nR/e7IuXdkwDdpRBhuqpmtholT9FL6ylvrxHLy7nIXyWklo4N2OLyg1LhTdnATHA n+Ag== X-Gm-Message-State: AC+VfDxh2+Xmb8cO5dHn/sHtKycn8AJJ0F/SV566NZiNzODyky5+2MnH JG/NoLl/O3P+QTlc5zECL3sI/A== X-Received: by 2002:a50:e604:0:b0:510:d0bc:e130 with SMTP id y4-20020a50e604000000b00510d0bce130mr7283121edm.33.1687194119230; Mon, 19 Jun 2023 10:01:59 -0700 (PDT) Received: from krzk-bin.. ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id p9-20020aa7cc89000000b005166663b8dcsm13136672edt.16.2023.06.19.10.01.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jun 2023 10:01:58 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 4/4] ARM: dts: qcom: msm8960: drop spi-max-frequency from controller Date: Mon, 19 Jun 2023 19:01:51 +0200 Message-Id: <20230619170151.65505-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230619170151.65505-1-krzysztof.kozlowski@linaro.org> References: <20230619170151.65505-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769151862263699719?= X-GMAIL-MSGID: =?utf-8?q?1769151862263699719?= spi-max-frequency is a property of SPI device, not SPI controller. Drop it from the controller nodes. No functional impact expected, although qcom-msm8960-samsung-expressatt board does not have any child SPI devices thus the property disappears. This fixes dtbs_check warnings like: qcom-msm8960-cdp.dtb: spi@16080000: Unevaluated properties are not allowed ('spi-max-frequency' was unexpected) Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm/boot/dts/qcom-msm8960.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-msm8960.dtsi b/arch/arm/boot/dts/qcom-msm8960.dtsi index fa2013388d99..d13080fcbeea 100644 --- a/arch/arm/boot/dts/qcom-msm8960.dtsi +++ b/arch/arm/boot/dts/qcom-msm8960.dtsi @@ -364,7 +364,6 @@ gsbi1_spi: spi@16080000 { #size-cells = <0>; reg = <0x16080000 0x1000>; interrupts = ; - spi-max-frequency = <24000000>; cs-gpios = <&msmgpio 8 0>; clocks = <&gcc GSBI1_QUP_CLK>, <&gcc GSBI1_H_CLK>;