From patchwork Fri Dec 8 12:43:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 752330 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="bt/OT6Bf" Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF79210EB for ; Fri, 8 Dec 2023 04:43:35 -0800 (PST) Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-a1ec87a7631so180244266b.0 for ; Fri, 08 Dec 2023 04:43:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702039414; x=1702644214; 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=hq7OTSSO5jL1zKGxG1x1x9EuleHIb2ireoAXlk/78G4=; b=bt/OT6BftpmxfmrZdmLWcD44IKMo1plC5Ty2ggONm/epmqqOfvYFRREYCtomJgc643 2S7yC2InRyPKZxV5dNlf5+nJGAuQ8y907WxOdCFPmwTsB9PmbNbJH73HL5rkFe2YL+yC 4tmZ4QBTGeqiqiDBndUk3P6z0oUKo0sYYufmykjHHGhnn5mPC+ruuazM+wpEhLhNREO8 zU9P98QfSpzuAHsdRGhm9y1xdJbyIIwxWsY5ZlC0rw8Bz99p4GiHiiOqjDXbjzq1OefH Y61wZfYH+KnMDaFppAfyCdsuXHz5ABrblb+nqFMdBJXO2S9v47YPXkUKbtje6HWGQFmf mv4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702039414; x=1702644214; 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=hq7OTSSO5jL1zKGxG1x1x9EuleHIb2ireoAXlk/78G4=; b=SiRcUJ8Yj3nvmL8Rh3JVnfmFNyEI/i0Y7h45eBpYr3Ba2V8K00VSvtn3JHCjzX6GYX ZwT9Z6ttulZtf+gYOho6oP12JDJgQYSSadU8GM5PJikISryiDT/UNbWuofCwj/G1AK8U 6fN8Y3FOaCZymNB2iNRXqQdA01WhgebGBjnwKrxkP6HH66U8m+bQgNMsCdXQBekm6ZHQ uEQjig42Vg+E9npGN4xZoJYQ24Jqos5BLcIYk6xblrsgadB95q9pJB1y9Q9auGanjuXp 1Rwfe1DhsgL2AJUJC9N1ERzWIaaVFKX2QaIf1uW/5j/JJJW6ktl7JlQbvt0csTI4cCb4 Uyvg== X-Gm-Message-State: AOJu0YwQRTaJwuBhozrhINM1utVjTLMihuVdpe7yn57GWImSiZCceho7 QqqPDLk0szGAk+zdlSHMGbmlLQ== X-Google-Smtp-Source: AGHT+IFa7aLm3Iljw5/1elYh9fWl8/YSbM+A6pDPRDKw9/FBaWRFdTpLVngwjQVe+S9O/f4BEVF2vw== X-Received: by 2002:a17:906:2618:b0:a09:e781:97ef with SMTP id h24-20020a170906261800b00a09e78197efmr2237620ejc.73.1702039414441; Fri, 08 Dec 2023 04:43:34 -0800 (PST) Received: from krzk-bin.. ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id tl18-20020a170907c31200b00a1da2c9b06asm970989ejc.42.2023.12.08.04.43.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 04:43:34 -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] arm64: dts: qcom: pm8550: drop PWM address/size cells Date: Fri, 8 Dec 2023 13:43:32 +0100 Message-Id: <20231208124332.48636-1-krzysztof.kozlowski@linaro.org> 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 The address/size cells in PWM node are needed only if individual LEDs are listed. If multi-led is used, then this leads to dtc W=1 warnings: pm8550.dtsi:65.19-73.5: Warning (avoid_unnecessary_addr_size): /soc@0/spmi@c400000/pmic@1/pwm: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/pm8550.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/pm8550.dtsi b/arch/arm64/boot/dts/qcom/pm8550.dtsi index db3d5c17a77d..797a18c249a4 100644 --- a/arch/arm64/boot/dts/qcom/pm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8550.dtsi @@ -64,9 +64,6 @@ pm8550_flash: led-controller@ee00 { pm8550_pwm: pwm { compatible = "qcom,pm8550-pwm", "qcom,pm8350c-pwm"; - - #address-cells = <1>; - #size-cells = <0>; #pwm-cells = <2>; status = "disabled";