Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp21685lqb; Thu, 14 Mar 2024 04:31:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXiBSVSAC/IfdkAKfv2kjyGmEulTuIJdJxZa03aItYGZYbmJ7dxCfkxLwMNrCEcmiA9QL5Rl5yN8e3L9x8es31cSURe9dFxAie0LF/TGg== X-Google-Smtp-Source: AGHT+IFTkqLdtw7mI8ZL0wCJXlv1NlFnFmCdFhplVobOcqk/ic2yWUAnnLtfe6aTMAvX5SBvYGrT X-Received: by 2002:a9d:634e:0:b0:6e5:2ccf:1c41 with SMTP id y14-20020a9d634e000000b006e52ccf1c41mr1600709otk.7.1710415892252; Thu, 14 Mar 2024 04:31:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710415892; cv=pass; d=google.com; s=arc-20160816; b=TKg3GT+l6xBAAVnvtoxHzyHvmovHjhdtB5OFjV1JKoj61aIkIp+O09PjAFk4NewA37 7SzTKmCDRFXkTMoq8Kcgv8c0vvnPudpycBLzIM7RmWFkQej7n7xAoCI0p9t0FSKNa2Wk wblUwilG9rCr213bVKhY9dC5rYNebQtz3D/0fC7lVLdqw6dQqMDscdz056GujXQVSeUE upkZUH9nKvO0uAQ3FD40TBF3zHO/0/jAGI/J5ZXx30gwT5ZkxmklTT3mssVw6lVtOdER pPEGoKSq2UvgQO0K8UIucLmrMiJe+xdz10vzCPaHlEAhki0lAp2bN+SrZuNQe+jKTFqB wM4w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:autocrypt :references:cc:to:content-language:subject:reply-to:from:user-agent :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:message-id:dkim-signature; bh=jFBTKU7F+BHpMXNHIYLiJS2G4QMPnZUxFQsd//8q85A=; fh=4gYC64+aNgbIYiFzetWA5WQzQe1cUvxtHQzT2Ngx5jw=; b=IIgPgh+6CIe9IOdBZA2ruE9nfT7WIpAC3E8CelsYBlAGfXWWOrD441OWjp9GmXUAU/ zjv1VH+O+k2MlzCyRFqh9DQiUeKuTEKzAVP17wUgPYUXXGeiCGX1nyGO/yTgUfYZTcUQ n90HDVM6AXZ2nj4kk3V6vjtDjWy7xto3KHjIfTHg0tlJEUBJg14Mq3jS1eE1ZMUxlQs6 6/dQy/6axqv2Q5WLMdqDbCsWnn2UTqlfGUbS6qNR3CIqv/zhBdV/7aJP5VNYglQm8pCK lVn0LaSaWlIgDloFJInAgpi44jZ1poPcE6X9F+cqHdpNPJxlvaiaBVtSZpIAlrAMCXkz wXmQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eUeXG8Dy; 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-103181-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103181-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id z2-20020a05622a028200b0042f04d1200fsi1281757qtw.209.2024.03.14.04.31.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 04:31:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-103181-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eUeXG8Dy; 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-103181-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103181-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id F208A1C2205A for ; Thu, 14 Mar 2024 11:31:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A8A3D6EB73; Thu, 14 Mar 2024 11:31:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="eUeXG8Dy" Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (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 0DB6C6EB53 for ; Thu, 14 Mar 2024 11:31:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710415882; cv=none; b=e3yH/+W6Z/cxdHL4Xdphen8r0E3EV+lvePLb7jGymArtj8e+q1Chl6XpQSBmzQM9Ljsh9FK/f8/0TS2NcatLg3idvIVzIAQvy6YvEULMNRpehkPBjC5uKcTMw6R24lLX7tPsJ59j7OAr3QFkT8xBtTsLz2jOA+od8debynTKFmA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710415882; c=relaxed/simple; bh=f5FayPvPaiiAo48CLWTgCpHmy4mbM/pIF92ySUr7JdQ=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=L5KrappWY8b6wPrChibg4ygjBdWN49KLssHb2MXM6N9Oas3sWvSlBmPzLxjAYicjvJiZAfU7fcPbc4tKZ6AAtIWSDyR5dW6wo3yskQ4JA2hqaomJovoPSJT0qoiReYUhhMFOiHofUt3ptixbYsFnOFoufUoHPxElQqMIIfs+RlY= 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=eUeXG8Dy; arc=none smtp.client-ip=209.85.128.46 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-wm1-f46.google.com with SMTP id 5b1f17b1804b1-413f2721129so3969755e9.1 for ; Thu, 14 Mar 2024 04:31:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710415879; x=1711020679; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:organization:autocrypt :references:cc:to:content-language:subject:reply-to:from:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=jFBTKU7F+BHpMXNHIYLiJS2G4QMPnZUxFQsd//8q85A=; b=eUeXG8DyowgJjdEw3a3CQDO0Jb//4FnUo6SrO7mqUIeF2a6bWn2QBdWTM1v+2Dy0EG 7rNeUQvbgbrkU/nMLjxTZeNPOk/TP3QOTSx8VBk+hCLc1I5UbYgrEgU55t7iwV0FqO3n Ua6lLneiwMm49uhOz3jBR2kj9V1bZnq2cW+QhRugAk61cZmsbIVJx/sU43VWQry+faGK +53z+HkovVH0gLneOmtL8v7+M40gOMf/g9mDUISkAPr/dhCnu8wkvr+GH7p69K/rkGHC 0A8W2oGhO+HmpjFEgtmXH2PjB1cjL+44infizsebLM4FWCXPNci5QfFWnrQaKqsdkPtO JwlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710415879; x=1711020679; h=content-transfer-encoding:in-reply-to:organization:autocrypt :references:cc:to:content-language:subject:reply-to:from:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=jFBTKU7F+BHpMXNHIYLiJS2G4QMPnZUxFQsd//8q85A=; b=uEKL6n3VdCkZrvgFT3iPMpXrBAow26qo43Z10Pp+240Jog6rPzXqnj4fa0uumGLv04 HsGEKKZAMK7RUMLCHUqLrfQ9Ts0ZsJagryf/0SxEjqI6viO9/vHs7MQens6wiGBsEmWL pN/8SAq5hyn5n1p5dpfuqFdTcgQdjBo+HMh+7ECEXZMLxEzmYoXt1f+IkALPdhdMQmIx QDaurqPgs9KnoFSmvp3nHF+bjUw7mDqMpDY9tXGFRS33jULXJDiVeTdZ4lErfLvgG/jW 7Wr2Y8X3QGt7Wa5z/Smtrqka1hG1GOIBP0sFi23hu+pkQSfn6Ps7Q54VAB223qhzU1OT MN0w== X-Forwarded-Encrypted: i=1; AJvYcCVN8M9qjCcUdPJaaGwjjkWAwMTwiHjXH3a/F9Z0PrWSrQFJv9lBKjOFtbGy036YyatrOjQwdD6fa+iGL8ghc8mHaoLvFUEpYKNr9WVB X-Gm-Message-State: AOJu0YyXE3qM3SrUz+6Vi47M+yEu+GCkonuTg0kgADL3t28OQJLpZ7e5 6y5zwPPBW5OzizJ9BXdcQg+M4BJmviLvCajl6gDOAuuNNjqEwVdtDEwjdAJ6mjE= X-Received: by 2002:a05:600c:458d:b0:412:e38a:d83e with SMTP id r13-20020a05600c458d00b00412e38ad83emr1152119wmo.5.1710415879020; Thu, 14 Mar 2024 04:31:19 -0700 (PDT) Received: from ?IPV6:2a01:e0a:982:cbb0:b1dd:8c8b:73f4:4443? ([2a01:e0a:982:cbb0:b1dd:8c8b:73f4:4443]) by smtp.gmail.com with ESMTPSA id h11-20020a5d504b000000b0033e7a102cfesm543783wrt.64.2024.03.14.04.31.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Mar 2024 04:31:18 -0700 (PDT) Message-ID: Date: Thu, 14 Mar 2024 12:31:17 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: neil.armstrong@linaro.org Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH] arm64: dts: qcom: apq8016-sbc: correct GPIO LEDs node names Content-Language: en-US, fr To: Krzysztof Kozlowski , 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: Sumit Garg References: <20240314112657.167006-1-krzysztof.kozlowski@linaro.org> Autocrypt: addr=neil.armstrong@linaro.org; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKk5laWwgQXJtc3Ryb25nIDxuZWlsLmFybXN0cm9uZ0BsaW5hcm8ub3JnPsLAkQQTAQoA OwIbIwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgBYhBInsPQWERiF0UPIoSBaat7Gkz/iuBQJk Q5wSAhkBAAoJEBaat7Gkz/iuyhMIANiD94qDtUTJRfEW6GwXmtKWwl/mvqQtaTtZID2dos04 YqBbshiJbejgVJjy+HODcNUIKBB3PSLaln4ltdsV73SBcwUNdzebfKspAQunCM22Mn6FBIxQ GizsMLcP/0FX4en9NaKGfK6ZdKK6kN1GR9YffMJd2P08EO8mHowmSRe/ExAODhAs9W7XXExw UNCY4pVJyRPpEhv373vvff60bHxc1k/FF9WaPscMt7hlkbFLUs85kHtQAmr8pV5Hy9ezsSRa GzJmiVclkPc2BY592IGBXRDQ38urXeM4nfhhvqA50b/nAEXc6FzqgXqDkEIwR66/Gbp0t3+r yQzpKRyQif3OwE0ETVkGzwEIALyKDN/OGURaHBVzwjgYq+ZtifvekdrSNl8TIDH8g1xicBYp QTbPn6bbSZbdvfeQPNCcD4/EhXZuhQXMcoJsQQQnO4vwVULmPGgtGf8PVc7dxKOeta+qUh6+ SRh3vIcAUFHDT3f/Zdspz+e2E0hPV2hiSvICLk11qO6cyJE13zeNFoeY3ggrKY+IzbFomIZY 4yG6xI99NIPEVE9lNBXBKIlewIyVlkOaYvJWSV+p5gdJXOvScNN1epm5YHmf9aE2ZjnqZGoM Mtsyw18YoX9BqMFInxqYQQ3j/HpVgTSvmo5ea5qQDDUaCsaTf8UeDcwYOtgI8iL4oHcsGtUX oUk33HEAEQEAAcLAXwQYAQIACQUCTVkGzwIbDAAKCRAWmrexpM/4rrXiB/sGbkQ6itMrAIfn M7IbRuiSZS1unlySUVYu3SD6YBYnNi3G5EpbwfBNuT3H8//rVvtOFK4OD8cRYkxXRQmTvqa3 3eDIHu/zr1HMKErm+2SD6PO9umRef8V82o2oaCLvf4WeIssFjwB0b6a12opuRP7yo3E3gTCS KmbUuLv1CtxKQF+fUV1cVaTPMyT25Od+RC1K+iOR0F54oUJvJeq7fUzbn/KdlhA8XPGzwGRy 4zcsPWvwnXgfe5tk680fEKZVwOZKIEuJC3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro Developer Services In-Reply-To: <20240314112657.167006-1-krzysztof.kozlowski@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 14/03/2024 12:26, Krzysztof Kozlowski wrote: > Individual LEDs in a GPIO LEDs device node are not addressable, thus > unit address is not correct. > > dtc is also not happy: > > Warning (unit_address_vs_reg): /leds/led@5: node has a unit name, but no reg or ranges property > > Reported-by: Sumit Garg > Closes: https://lore.kernel.org/all/CAFA6WYNRwF7GqhBk2B7i-deT3aLxNQckhnOasjip2TYm4HZgAw@mail.gmail.com/ > Signed-off-by: Krzysztof Kozlowski > --- > arch/arm64/boot/dts/qcom/apq8016-sbc.dts | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts > index 9ffad7d1f2b6..aba08424aa38 100644 > --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts > +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts > @@ -91,7 +91,7 @@ leds { > > compatible = "gpio-leds"; > > - led@1 { > + led-1 { > label = "apq8016-sbc:green:user1"; > function = LED_FUNCTION_HEARTBEAT; > color = ; > @@ -100,7 +100,7 @@ led@1 { > default-state = "off"; > }; > > - led@2 { > + led-2 { > label = "apq8016-sbc:green:user2"; > function = LED_FUNCTION_DISK_ACTIVITY; > color = ; > @@ -109,7 +109,7 @@ led@2 { > default-state = "off"; > }; > > - led@3 { > + led-3 { > label = "apq8016-sbc:green:user3"; > function = LED_FUNCTION_DISK_ACTIVITY; > color = ; > @@ -118,7 +118,7 @@ led@3 { > default-state = "off"; > }; > > - led@4 { > + led-4 { > label = "apq8016-sbc:green:user4"; > color = ; > gpios = <&pm8916_gpios 2 GPIO_ACTIVE_HIGH>; > @@ -127,7 +127,7 @@ led@4 { > default-state = "off"; > }; > > - led@5 { > + led-5 { > label = "apq8016-sbc:yellow:wlan"; > function = LED_FUNCTION_WLAN; > color = ; > @@ -136,7 +136,7 @@ led@5 { > default-state = "off"; > }; > > - led@6 { > + led-6 { > label = "apq8016-sbc:blue:bt"; > function = LED_FUNCTION_BLUETOOTH; > color = ; Reviewed-by: Neil Armstrong