From patchwork Thu Jul 11 06:56:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varadarajan Narayanan X-Patchwork-Id: 13730060 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5D56912C54A; Thu, 11 Jul 2024 06:57:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720681064; cv=none; b=N53WA4ZljcAOLtEKp1uNJTqywUlu7LaeIEiTQr8l1jlkZ4PDE0N1Tymcm18vxTTeC/aVaT4TencjByVEm/MTS4sCwjYJ57am5iOX1jTUxHSey8akKV6fiXUr7GwDO4PEalCpnEcuH6QpoSKgO7Tvsyzs//BGnq89moHNgaYv24A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720681064; c=relaxed/simple; bh=rvFokjMcH2Ex/2sqj6Lvfn5GGs0uXi19tWJfPrxNctY=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=Esif2zSRlRAehyDvCMe6uI8qJFqshjJ3PaoVZ3GuznOi74Mh3s9rXCWgT2NOaEXazyfcVkRheYLGqvqnDAzbTDQEHdQmsoQHtlGo0KUszbavL2JEY50kvRQbKlb2zGl5C47L+NKHMNO+PzWZ83ednYkzQPhePRRaH2El99aqNyo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=B8PtdSML; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="B8PtdSML" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 46B4mjeQ014562; Thu, 11 Jul 2024 06:57:38 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=jJQbWE0IuygwAYsyxFdL5S xbT/d7/I46uvXwI+FP9GA=; b=B8PtdSMLSpRyI1T7HVRy/jV5srooMnHRrIRqB7 yuhTkppTtZGF7w/lr/OreXaT4FqNzD2kdHEhU5/aHeA2TyrK+Gtb2yybhTN4q9CW qusiVkm6wIU+ofFm59Qpv9LrXVPf856rPoEzXJas6kptUkYHqiZpdV6FifCNevXH SUfQ4eL2Fte7hWZbFjX+zQbakdH1hQNYeYuPaTWqwX9PHKczaIMe3RCpxXkUFRF/ UJnqiO+2yVoSA/qJCKrTPkatlRJz4eG9Yl/X2u08GC5EpmZljzlDK6NaP9kIi8Sl I/Pvhymmwwj8I1AUsXBgvoi/tlJ+g4eYKR/9befh1ZrWYR+A== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 409kdtka78-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Jul 2024 06:57:38 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA05.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 46B6vbOS022133 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Jul 2024 06:57:37 GMT Received: from hu-varada-blr.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Wed, 10 Jul 2024 23:57:32 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , CC: Varadarajan Narayanan Subject: [PATCH v0 1/2] dt-bindings: usb: qcom,dwc3: Add minItems for interrupt info Date: Thu, 11 Jul 2024 12:26:14 +0530 Message-ID: <20240711065615.2720367-1-quic_varada@quicinc.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: dHsWOK36fNf4snaCrKKEbTTV3Dj2YW_C X-Proofpoint-GUID: dHsWOK36fNf4snaCrKKEbTTV3Dj2YW_C X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-07-11_03,2024-07-10_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 clxscore=1011 impostorscore=0 mlxlogscore=610 lowpriorityscore=0 malwarescore=0 adultscore=0 suspectscore=0 phishscore=0 bulkscore=0 priorityscore=1501 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2406140001 definitions=main-2407110046 IPQ5332 has only three interrupts. Update min items accordingly for interrupt names to fix the following dt_binding_check errors. interrupt-names: ['pwr_event', 'dp_hs_phy_irq', 'dm_hs_phy_irq'] is too short Fixes: a5c7592366af ("dt-bindings: usb: qcom,dwc3: add SC8280XP binding") Signed-off-by: Varadarajan Narayanan --- Documentation/devicetree/bindings/usb/qcom,dwc3.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml index efde47a5b145..283bac1efba9 100644 --- a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml @@ -432,8 +432,11 @@ allOf: then: properties: interrupts: + minItems: 3 maxItems: 4 interrupt-names: + minItems: 3 + maxItems: 4 items: - const: pwr_event - const: dp_hs_phy_irq From patchwork Thu Jul 11 06:56:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varadarajan Narayanan X-Patchwork-Id: 13730061 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 09A411311B6; Thu, 11 Jul 2024 06:57:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720681068; cv=none; b=JGplnQ49QN3JjalsVPA208zrjr+rWocNDQcs1QEYEn0JREv+qvA7ewA9mFiLu3rhCavVIYDFrCgaOxIhdIf2k3MCyZp0ANfEbhrEGQksGtJn4COJLg7G9HV8koXmoPzGxl+cVMZMvV4SAiAWLi6gDl0b7k2RQpgJgljuq0kUjRU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720681068; c=relaxed/simple; bh=uWymqDSon2CSXk55pUNRBKKppMvTwwsTROmbIcw7vjA=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=HUi4/dPmNPkV2j28THZOXKAzXlfsuhhMrHRNZRDoSMgOVtY2o98/1JoQqJdLWJN0HIEuTBUxSc2SFOJ0sObNXq5KOmC8uo0LP4qeWdYuXaz1UsAI0hHqc4UA6TjziCQgY5Md8GV6IAHPrI/smEpvTBJ+cieM4TwrL7sLtx7ip38= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=iiAVYWt/; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="iiAVYWt/" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 46B4mmAO007428; Thu, 11 Jul 2024 06:57:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= kITZnJLZKcK3CjT974AcnPC6vDsu0JNzqV7gmcgEJHk=; b=iiAVYWt/UB5PGC6/ ALBFHyV9i249eqbid/OuKSb41r2MjCZsPj2qJ06tytOUCHmdQvlpCQPhZEVOBNqA vkkY0Jh3XevrHzamEmXmgcEQeJR2+AOv0sZ1BDaidiGW4FG2izOkHz5lNvmkkKhZ CE4g1gqYXng5AezAfPIQDAohWCfYHKk3TMtHbW2mhZDDphypgMi2gSvstivymzl0 4UfgL1kRnq/nsMiSvDxl+qQlb4yj7pBx7LEhijwBKoh+38uyC8ENmu7cb5JLaoY7 aogvD1ZO7avpogNTjWzqReUt8PZby12FRv69lLaW2BbpPnU8/UJBzQsYz/8BEkj8 Y+uMLQ== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 406wg43rea-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Jul 2024 06:57:42 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA04.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 46B6vfsh029111 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Jul 2024 06:57:41 GMT Received: from hu-varada-blr.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Wed, 10 Jul 2024 23:57:37 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , CC: Varadarajan Narayanan Subject: [PATCH v0 2/2] arm64: dts: qcom: ipq5332: Fix interrupt trigger type for usb Date: Thu, 11 Jul 2024 12:26:15 +0530 Message-ID: <20240711065615.2720367-2-quic_varada@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240711065615.2720367-1-quic_varada@quicinc.com> References: <20240711065615.2720367-1-quic_varada@quicinc.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: C8pBg98kCxrF0cgxFnN-mIZg1APYmqen X-Proofpoint-GUID: C8pBg98kCxrF0cgxFnN-mIZg1APYmqen X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-07-11_03,2024-07-10_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 mlxlogscore=609 clxscore=1015 impostorscore=0 malwarescore=0 mlxscore=0 bulkscore=0 spamscore=0 adultscore=0 suspectscore=0 lowpriorityscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2406140001 definitions=main-2407110046 Trigger type is incorrectly specified as IRQ_TYPE_EDGE_BOTH instead of IRQ_TYPE_LEVEL_HIGH. This trigger type is not supported for SPIs and results in probe failure with -EINVAL. Fixes: 927173bf8a0e ("arm64: dts: qcom: Add missing interrupts for qcs404/ipq5332") Signed-off-by: Varadarajan Narayanan --- arch/arm64/boot/dts/qcom/ipq5332.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq5332.dtsi b/arch/arm64/boot/dts/qcom/ipq5332.dtsi index 7a39e66d51f1..ff8ad1036ac7 100644 --- a/arch/arm64/boot/dts/qcom/ipq5332.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq5332.dtsi @@ -322,8 +322,8 @@ usb: usb@8af8800 { reg = <0x08af8800 0x400>; interrupts = , - , - ; + , + ; interrupt-names = "pwr_event", "dp_hs_phy_irq", "dm_hs_phy_irq";