Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2440680rdb; Mon, 12 Feb 2024 05:13:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IHxPV7dzx30Q4t7ytQoFLDc5UKjDlYMJZc+yGALXjjN6IY9BIJvASIVdQyXZf1/ciwr1Uga X-Received: by 2002:a05:6e02:11a8:b0:363:b281:a1ac with SMTP id 8-20020a056e0211a800b00363b281a1acmr7261287ilj.9.1707743579802; Mon, 12 Feb 2024 05:12:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707743579; cv=pass; d=google.com; s=arc-20160816; b=xVQwyn/Fv1pp3vOx8podeLBYD6IWKXxG/jqqGQ1i1ibKPhDceHKkUZeMxp9byZ5Vob Op+lvrSJyK6xVMKzQbzxMhgZA/QCEpXr6dEuyEza4UjcTRjf4MU84tNtZ55USfwV5Lut UOZ6Xnib3OOhGLPGsBMSi6DBpPcPq/G3ia2fi7TJWfLNtJOJ5RRdU3nK7hwYqvAbZLgP SWliO91LZ/Y0Aew2ROhprOtknxmhHg1Z2OJ1r27+1TOV85pDJdK2E7Cjn14ltvmIlXib VP+YQMr24dRv2xONj3mFw22PqjOqVdFag88Ojhh5/4NCyVHuymLJe7lwwx1T3tKA6I28 tFqQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=UqViFHK+D1LRqA6EZxzjCFX8jqipAbwRXLuah7Y53vo=; fh=Rgkm8d6eAwv+f40A05Ika0gtMGvUV2JX7QuzysOhjaw=; b=qC+y+VQge+sVz78k7N5P2sVUH9qXSNzADc27bn3fyjw730NFDUOqWqrZ0rxMjkmaBZ JO1i8UgM2lTQndU9PbXhRelgGyGQIyCam17U/Uq5b4eGh2lqTW35bTEno+zWv2LXGEvV 8CHhCaBT4gsj558tUXykk1WM3RULQuldsqIg9iEO6X5/hqx3MSqE6XQ9sl06ujz4uCd9 ZA/NBhBd4pWmh3K8h0mi3y7cUqIuflA+0Y+/TqowYScY6SVMSXvzLQcez5CzzeTEZOUM 2xgVzaHTYD9fZVBbjROrUyGLkVkNnZA0ZM+xJKMNJLTcPQxHLgnF7DaM7jySC4wsAF20 J4/A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y3UUm0NV; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-61610-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61610-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCU/r4eU41DoMXIi2kvXCV0VmTqs3s6zAzRb6DNqaXyL6hV/BA7pdPiNWbwAESPMtPwTUU8ii92gv0wIolqtYW2aKUkbBi7YYLZ5qTl5Nw== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q26-20020a63751a000000b005dc0b3095b3si218355pgc.283.2024.02.12.05.12.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 05:12:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-61610-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y3UUm0NV; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-61610-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61610-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 2011D28735D for ; Mon, 12 Feb 2024 13:12:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CFC8A3C099; Mon, 12 Feb 2024 13:10:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Y3UUm0NV" Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 530D53BB36 for ; Mon, 12 Feb 2024 13:10:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707743432; cv=none; b=aVThadAQ+J6+JC3nwCouEk4DCffBYscqQ6IhKIsbcWz2HbJQPCogCVbGAVbeRjyvuuzz3neQXvcp+bvB+FdROFhhC9DBYJktFSQekJQFVaI6GzQDyfHm7tCdeLeTaZZDDfqgwa+KLMzdikQO5XbFFH0+yP7gs/t3/aDWKYYFD4o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707743432; c=relaxed/simple; bh=BYxMMgnfl6Vo3FvICtt90++r+JIBRmHZBJczJMyhSwk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jI0syOGeJZY4V/kgRGDUqBv1bWnmEPUnufJc38n3CpwScl1etdg0OzCeq59RElqAZYlpzHxhmlq4qfLozykr8iiRNkaVjm5h2BWNBl3GyvO6Q6UV7SCNfXpykHOhpJJn8yMI4raBc2DgFBhH6WjaoO+5U9INabbIjMNwBb7efsw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Y3UUm0NV; arc=none smtp.client-ip=209.85.167.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-511898b6c9eso1170670e87.3 for ; Mon, 12 Feb 2024 05:10:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707743429; x=1708348229; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=UqViFHK+D1LRqA6EZxzjCFX8jqipAbwRXLuah7Y53vo=; b=Y3UUm0NV/E/BOnK+SRca4LJF0GYF0PMaqlMLUStHYirbdEbOUau88XjdRHlyAXtvMA cPWqhfbUR5SvivuVYqjnPNQggdLkgwfvPamSszoEQWN9IB2bY/8N1PPetJXXxFGMAE29 JTWsMs1X3ip1aukRG4Ul5tE38snL8IEQxgzWsgOXyr6qrMiSZDc0ngFgA8WpN/NsGIZv 1e4MbUd9pHB+LesVguk6Uf1ruzMuidBbyVzM/avTemQVO/sU40lYqINLjnfKEYG/7npk OYZmEbnBKeDGsNCvlPzwuY+9JdbdB8OnC831xHyu7BgPC4aAnXCSQ82ADbsd2kTHV2De Ek0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707743429; x=1708348229; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UqViFHK+D1LRqA6EZxzjCFX8jqipAbwRXLuah7Y53vo=; b=Q5V6voE7Rqg1jlHp8u5oz47TEGrCBVkpslsKdtSfs5VgiFcU3fIqBZ36tgziJfrKhW u+woRwid9FT7MqXeJvu7ubP4I/Zq6d1wx9zM1oZVm6x2cDH9Ol8E5OA2E33AVhc0kTf3 xMlX7dw8qkAs+OY2JcvIlDFNBkr0mJ4JhfNg2KzuBRSdwI2NlTeNqvleF2HzZpxWIbtG RPnGAkouXBSouI+PHkjbAd34Bv8DIp+wJTRuznnhqw8LDtCg7k/NF9eEamBTA/r1QT8z krHq7WKj+BbSJsQq2Vzsj6sbrD31K7gCH5gyNgD7JLbof9yjo571aSf7SqYaMAgMeqWP x72w== X-Gm-Message-State: AOJu0Yy3SSZCcdePrgvCDzp8jUQgYOAcOrNnsgIFPsDCHd56+k917Vte HdXFtwnnyYy0aZrL0BGVVwCzgtdINKJZxXABEZv/0bJVeTnrv5GEmSu2KeHGvVE= X-Received: by 2002:ac2:518d:0:b0:511:694b:245a with SMTP id u13-20020ac2518d000000b00511694b245amr3856676lfi.58.1707743429537; Mon, 12 Feb 2024 05:10:29 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXFrtR0Ppr2O4QZdyJXB7qGZICmVbwC7Rsf94s77wQdlGqR8ZRG3VjABkpzDKHbyAGrmol358V47jw7xw1GrngmiOx37dS5qi0CzfblGgee8jP1nWKP+/u2YsUZQEf88oWgsbOyjff2sbWyiz1Xdi0a/Z7odfUDOTMHB7rKjF56EnVW+4P0H+1uG2YK8jd8d/VQBsHFiMQ0ccvFy2JDynLKZMvR15VLFqVBl7meiEg/14OKvof3W3krdpPnJJzGsg+6ynQPo8PMxeGOZDEOKiJlhtkpaw5/u0FCzXkTp6Q2mcax3d9YgoztvEecSG93je24junf8RG9B8MDWlvvyHkOHfSr4/BjKMyT5MYKWbVf1YA3c7rkHMuIMHHF4ZVQ2UAqesgLiM7zZafZvOFdk7fWIGK6UtfJzjOK0om36TNk5WAKUH5jFk5oMQoPp/xSATSQ0l09H3o0Xjfxta0bBaD/ZI1pjKShYMq8/dUx5FLTVwtBrdbTISj0gvl0j+EofmTZ+eZwfZ/TIMfv4RwpfpdQs1C/R1iuQI+Q1j4sgjh0GNRviJv9q7eEMmHH0wA54AkgCaDcVfz1osiMvlsJLDWBJgUvMU63rm8ILcOys5zQMynWE3QObjj68b9bfVmmG8LE+CdS1mN7YEhCGPPe3dZrCuAW17uzy27QWgN5uLNLEWh3Hv/Sry5+FCaujwCnThMZqHy6QfmTH+lSrGr12ebcldRBaqxfd852DH9yfT03qsR80BSYP8HOtLawYXGHo18++xqsal+56RSzakx1IKJ7UPwkhaSrnQGz8l1PI/5kNNBKDdbOx8F16oCDysBL/Qae2yboFy3o8Ag/G0ag0oCc9134 Received: from [10.167.154.1] (037008245233.garwolin.vectranet.pl. [37.8.245.233]) by smtp.gmail.com with ESMTPSA id gz9-20020a170906f2c900b00a3515b35be4sm193052ejb.104.2024.02.12.05.10.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 05:10:29 -0800 (PST) From: Konrad Dybcio Date: Mon, 12 Feb 2024 14:10:13 +0100 Subject: [PATCH 5/7] arm64: dts: qcom: sm8550: Add missing DWC3 quirks Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240210-topic-1v-v1-5-fda0db38e29b@linaro.org> References: <20240210-topic-1v-v1-0-fda0db38e29b@linaro.org> In-Reply-To: <20240210-topic-1v-v1-0-fda0db38e29b@linaro.org> To: James Schulman , David Rhodes , Richard Fitzgerald , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Ricardo Rivera-Matos , Bjorn Andersson , Abel Vesa , Sai Prakash Ranjan , Neil Armstrong , Kees Cook , Tony Luck , "Guilherme G. Piccoli" Cc: Marijn Suijten , alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-hardening@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1707743413; l=1404; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=BYxMMgnfl6Vo3FvICtt90++r+JIBRmHZBJczJMyhSwk=; b=BVfXqO9pGrNZlcLW0yoUdDXyI3lwhL79E0y5sKgoORe9P1VUu8jT9h9S437tWRb7sucOC99Un AjovaL1EEYHB/X+0xku+/Crr4sQF+pNyJPi2ZtBEhDgXAfmCPQHRuRd X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= As expected, Qualcomm DWC3 implementation come with a sizable number of quirks. Make sure to account for all of them. Fixes: 7f7e5c1b037f ("arm64: dts: qcom: sm8550: Add USB PHYs and controller nodes") Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8550.dtsi | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi index 868d48b85555..925e56317fb0 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -3193,12 +3193,20 @@ usb_1_dwc3: usb@a600000 { reg = <0x0 0x0a600000 0x0 0xcd00>; interrupts = ; iommus = <&apps_smmu 0x40 0x0>; - snps,dis_u2_susphy_quirk; - snps,dis_enblslpm_quirk; - snps,usb3_lpm_capable; phys = <&usb_1_hsphy>, <&usb_dp_qmpphy QMP_USB43DP_USB3_PHY>; phy-names = "usb2-phy", "usb3-phy"; + snps,hird-threshold = /bits/ 8 <0x0>; + snps,usb2-gadget-lpm-disable; + snps,dis_u2_susphy_quirk; + snps,dis_enblslpm_quirk; + snps,dis-u1-entry-quirk; + snps,dis-u2-entry-quirk; + snps,is-utmi-l1-suspend; + snps,usb3_lpm_capable; + snps,usb2-lpm-disable; + snps,has-lpm-erratum; + tx-fifo-resize; ports { #address-cells = <1>; -- 2.43.1