From patchwork Sat Nov 11 16:42:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 743185 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 D8FF614F74 for ; Sat, 11 Nov 2023 16:42:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ZjbZDaM8" Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40F32258D for ; Sat, 11 Nov 2023 08:42:34 -0800 (PST) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-53b32dca0bfso6256271a12.0 for ; Sat, 11 Nov 2023 08:42:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699720952; x=1700325752; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=M3dLnnrtnCRPaf3PcG0X+1LuRdRy0oyYETAOWAbZ9EE=; b=ZjbZDaM8HR8PDVucdTZvHSFRL9VDD1C7HRquF2Qj+FhZuXBgIsL4cKvrMAdSLra+vh 7ARNwnZ8rPpuGA6NDssBlzxZBITmKlU0G4NE4NZsawyxqIYU2xCGJrpNCwb+HmXK9EtM gQizzm270HJNF8IewSs9Ru0T8DAQ2KBCGCKeXs127ynfoIn0XawWZtiuKOYDKlBM10GY AQbwFzFbQME0sZnkQTq93tb/bvgvHeYQl5rIY37e7EvgZTxoeti+RMTG3+KN12ropa+s xclm+zHZXQyJ7A80KBA4OAUnbG0l3wNJSRwIT/4A+vA6PYC03Cic1R4DYPa7QBR6gYZp 8XbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699720952; x=1700325752; 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=M3dLnnrtnCRPaf3PcG0X+1LuRdRy0oyYETAOWAbZ9EE=; b=omE4mqL3i656LJoTEOzGfBZj3sGDeDb/Z5HDS5/ojN+6I9JALm0hP9Br5pzKUJiBHm UtOmgL+3y4VlOqpwK0QeVzPH1+g+j+fR+z92Xlknbxbnt7Al//hAbmC3FWTrSd4w78Nm 0ZmfH3VYYPXxG6Bzdhbm0il/hfA/ETRfk+ogTGibDc/fyAMMXbsnnQLiHpd/j/vIfbLx 7nWOjEHzyC3qqENHRyp7ihW3cGDsXYeta0Z+RA+H+toZd6eHbaLFEMPuVScNiJt3pz1a SCTg5gSU606sffNRcTFGgiJIX+1l5f1YFSF30h7vj5XDmSyCrASmgDcbpgVJSl3TZm+2 FPwQ== X-Gm-Message-State: AOJu0YwMj6dmml8FxvtBK2DYQW5MHDorQRd7KfcxMWMMb2ATO1QMvi0k g8KISgnMUZGIdCNBflXgoXRGBpNZrQTJBTMBHGM= X-Google-Smtp-Source: AGHT+IF1jpsrjM3UtSpzuw6TRcBT2uCV+U/eErKJq07Q/dmAe0neXPiNoW/uDvwD3AvZA3KvBK3goA== X-Received: by 2002:a05:6402:430f:b0:544:4a91:a30b with SMTP id m15-20020a056402430f00b005444a91a30bmr2299104edc.21.1699720952500; Sat, 11 Nov 2023 08:42:32 -0800 (PST) Received: from krzk-bin.. ([178.197.218.126]) by smtp.gmail.com with ESMTPSA id k25-20020aa7c059000000b0053dd8898f75sm1161917edo.81.2023.11.11.08.42.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Nov 2023 08:42:32 -0800 (PST) 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/6] arm64: dts: qcom: sc8180x-flex-5g: use 'gpios' suffix for PCI GPIOs Date: Sat, 11 Nov 2023 17:42:24 +0100 Message-Id: <20231111164229.63803-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Linux handles both versions, but bindings expect GPIO properties to have 'gpios' suffix instead of 'gpio': sc8180x-lenovo-flex-5g.dtb: pci@1c08000: Unevaluated properties are not allowed ('perst-gpio', 'wake-gpio' were unexpected) Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts index 3ea07d094b60..0c22f3efec20 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts +++ b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts @@ -452,8 +452,8 @@ mdss_edp_out: endpoint { }; &pcie3 { - perst-gpio = <&tlmm 178 GPIO_ACTIVE_LOW>; - wake-gpio = <&tlmm 180 GPIO_ACTIVE_HIGH>; + perst-gpios = <&tlmm 178 GPIO_ACTIVE_LOW>; + wake-gpios = <&tlmm 180 GPIO_ACTIVE_HIGH>; pinctrl-0 = <&pcie3_default_state>; pinctrl-names = "default"; From patchwork Sat Nov 11 16:42:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 743184 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 AB86418E2A for ; Sat, 11 Nov 2023 16:42:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="EqOSH7uA" Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AAEB258D for ; Sat, 11 Nov 2023 08:42:38 -0800 (PST) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-507a55302e0so4135702e87.0 for ; Sat, 11 Nov 2023 08:42:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699720956; x=1700325756; darn=vger.kernel.org; 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=ArNDVIi+I4WcQ+l8h9DJ1wx6t4xBoPH7FgGqFbtahBs=; b=EqOSH7uAB+hLrc6VdJ7wgp+6CCavpxYjWRrNCvJG8LMFXcHWVi8uAdO2QFoTerj3ed WUnYOxMMPUzNnkfaeLsedq2lrnJyavHsvKAD8Ww3c02gxHBK98Q8THYez5v7WUe6IDxl wUyBk2F78jJF9a7t/j72o1jmJFjGDEmmk0ZW1SAdSxhNbmt9bcQjfA4vc36oVMMkJDhJ ZQnlrQkgpKJv6AXAhrCQQG2Jx5saxEIv4OjLrK4JkQeLOwVZrsZsXPhg4kwHI67ZZmEA Gpy3AUNDY4xHE+S/ujcpWtWSksv6JT6v3tK9XVOTPWbX+2FMAIG8mo1I7ypT4reGFH3r TAcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699720956; x=1700325756; 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=ArNDVIi+I4WcQ+l8h9DJ1wx6t4xBoPH7FgGqFbtahBs=; b=RUJlYxSxodbQXh4m7CiyUS13eErpwKG4QcdwOy8/C1P1qdaeNCgryoi3pjHbZTNR4u h54if+Bx4J3slqfD4/WnGAGLn9vQd/NDY4AHNhbFtiq5dDdw1EI5KEi6ssLlpYd1wQBl es4SY0PjcScXwMptuJH+CYDnr1vY8/f9ruR2dvegZEGtF6W772HzImZjAAeyNKqnew32 EkERR/vFkthPmYmfk/fWxfQhTuVQsa6t6+3+1ENaI/W6y0L9Vmr6ts8wSRdz8qs0h4CU q+X5RINw96rk95012bqUKZBaQwLTKtusG9ghyyBNr0JYFRkNJ041c/MrZRX5DrIAla/+ kDmw== X-Gm-Message-State: AOJu0Yy135RTiei1EPrzzcWmzF1Q9YkBDXW/tcqL+BaYo13Ucpig2Zgr IEHe0XikIRI/1j6b6UsX/YYO9Q== X-Google-Smtp-Source: AGHT+IF+At48VBZ+wvrVPfmY34DhAOWVE5MBtQWhRwaMnvz02bNtk/Gq7LFsSjO8UFsQGfcOXZT9tQ== X-Received: by 2002:a05:6512:3ca5:b0:509:8a47:3672 with SMTP id h37-20020a0565123ca500b005098a473672mr1394287lfv.34.1699720956174; Sat, 11 Nov 2023 08:42:36 -0800 (PST) Received: from krzk-bin.. ([178.197.218.126]) by smtp.gmail.com with ESMTPSA id k25-20020aa7c059000000b0053dd8898f75sm1161917edo.81.2023.11.11.08.42.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Nov 2023 08:42:35 -0800 (PST) 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/6] arm64: dts: qcom: sm8150: use 'gpios' suffix for PCI GPIOs Date: Sat, 11 Nov 2023 17:42:26 +0100 Message-Id: <20231111164229.63803-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231111164229.63803-1-krzysztof.kozlowski@linaro.org> References: <20231111164229.63803-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Linux handles both versions, but bindings expect GPIO properties to have 'gpios' suffix instead of 'gpio': sa8155p-adp.dtb: pci@1c00000: Unevaluated properties are not allowed ('perst-gpio' was unexpected) Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index e39de6596a1e..9bcdc485c73a 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -1878,7 +1878,7 @@ pcie0: pci@1c00000 { phys = <&pcie0_phy>; phy-names = "pciephy"; - perst-gpio = <&tlmm 35 GPIO_ACTIVE_HIGH>; + perst-gpios = <&tlmm 35 GPIO_ACTIVE_HIGH>; enable-gpio = <&tlmm 37 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; @@ -1972,7 +1972,7 @@ pcie1: pci@1c08000 { phys = <&pcie1_phy>; phy-names = "pciephy"; - perst-gpio = <&tlmm 102 GPIO_ACTIVE_HIGH>; + perst-gpios = <&tlmm 102 GPIO_ACTIVE_HIGH>; enable-gpio = <&tlmm 104 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; From patchwork Sat Nov 11 16:42:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 743183 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 B882E1B283 for ; Sat, 11 Nov 2023 16:42:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="wTlH0Zxy" Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05A8A3C15 for ; Sat, 11 Nov 2023 08:42:41 -0800 (PST) Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-507ad511315so4369991e87.0 for ; Sat, 11 Nov 2023 08:42:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699720959; x=1700325759; darn=vger.kernel.org; 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=rDBwdEU+qwBWbhBWrVEXRUbPBd2Xn2/yAt3QN4v7vT0=; b=wTlH0ZxyJm/xJmO1686STVL5irlWb0n3jgPfuIQdMfm2jySIVz+Nyahu47rmAig/x8 Ovbtf/BlxEkb5f4IuOfUJkre5ZRR3iO832CGrvN7NDRhlsPKlFekI1Rt72L3CTJkFb3L MWuXeq3ps9vjoTn60NVRs0CxUSeQgrRFjp8Lyx8ivEv4ghebIWsMs8BvnSnhtggbL5Hd MiA4LAecDeA7zaDGheAt+J2jupR0RncbNYcfRdZmNDBcAcbJm9Ro66Q5fTLyP7XVlM9j BAMDH5nz0BH0D9OgMfDTH2MQx/JWhsXbdJz6j1p1GVLLK7C9DmHZIuAY5kpLk8jSKvy4 x0kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699720959; x=1700325759; 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=rDBwdEU+qwBWbhBWrVEXRUbPBd2Xn2/yAt3QN4v7vT0=; b=Im0eaGjmo5y9X28O9deDjG+0aVY7+7QdKSHXC5Qz9YMQgIIf56zoUncS1FQY++X6fS RxW72zytCifttzYfjYCNrChCdCm8JABb1xIi/49LYRVP9xSAG0H5g2kyHVGe+uRrLBhU E923DoPXFqNtl/nCpIILR6aVuJItQioqCz6n2CErMDtqfgH068aD+iOC3tGYSJ3KDzPE NNVnQ+UZ+hinq4/f8gBNm15+viIawtA1oUI/DwmWW5eaSE/Zpu0q+TEuqxZ6vEqYJs9r PGnmqRqR586FqphEfpoYCw987wF29ZdZ+ZqeNAbVtS2FK7+QpLlDTN6JDXMvjYe23WqT /Vnw== X-Gm-Message-State: AOJu0YxCWX40wNFXtbB7rRAxERQ93wHt/RY8s2JxjQ68x4WYGk5QRn+6 XGsJMPfnamiZ9ZfBZZJkxDz9uw== X-Google-Smtp-Source: AGHT+IGA5Um6eZ8w+XIjkvSbSY+xRa5jdvMH29dPL9q86wtvX01UoF6SWPfBnwSHz9f44JNmgVAqHw== X-Received: by 2002:a05:6512:2214:b0:507:a12c:558c with SMTP id h20-20020a056512221400b00507a12c558cmr1632967lfu.46.1699720959161; Sat, 11 Nov 2023 08:42:39 -0800 (PST) Received: from krzk-bin.. ([178.197.218.126]) by smtp.gmail.com with ESMTPSA id k25-20020aa7c059000000b0053dd8898f75sm1161917edo.81.2023.11.11.08.42.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Nov 2023 08:42:38 -0800 (PST) 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: [RFT PATCH 5/6] arm64: dts: qcom: sm6125: add interrupts to DWC3 USB controller Date: Sat, 11 Nov 2023 17:42:28 +0100 Message-Id: <20231111164229.63803-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231111164229.63803-1-krzysztof.kozlowski@linaro.org> References: <20231111164229.63803-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add interrupts to SM6125 DWC3 USB controller, based on downstream/vendor code of Trinket DTSI from Xiaomi Laurel device, to fix dtbs_check warnings: sm6125-xiaomi-laurel-sprout.dtb: usb@4ef8800: 'interrupt-names' is a required property sm6125-xiaomi-laurel-sprout.dtb: usb@4ef8800: 'oneOf' conditional failed, one must be fixed: 'interrupts' is a required property 'interrupts-extended' is a required property Signed-off-by: Krzysztof Kozlowski --- Not tested on HW. --- arch/arm64/boot/dts/qcom/sm6125.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6125.dtsi b/arch/arm64/boot/dts/qcom/sm6125.dtsi index eb07eca3a48d..1dd3a4056e26 100644 --- a/arch/arm64/boot/dts/qcom/sm6125.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6125.dtsi @@ -1185,6 +1185,10 @@ usb3: usb@4ef8800 { <&gcc GCC_USB30_PRIM_MASTER_CLK>; assigned-clock-rates = <19200000>, <66666667>; + interrupts = , + ; + interrupt-names = "hs_phy_irq", "ss_phy_irq"; + power-domains = <&gcc USB30_PRIM_GDSC>; qcom,select-utmi-as-pipe-clk; status = "disabled";