Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp385326rdh; Tue, 19 Dec 2023 01:42:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IFB/VpXxWx4ngfXWL1jzh/nvJ264PksU7L0/jjBD6T5DyNapo9D3ujYbpqhRBkU2maBR7X6 X-Received: by 2002:a17:902:db07:b0:1d3:e2a6:8709 with SMTP id m7-20020a170902db0700b001d3e2a68709mr226960plx.80.1702978919948; Tue, 19 Dec 2023 01:41:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702978919; cv=none; d=google.com; s=arc-20160816; b=UNOyurnUbD2kHJouYzw8TDNfrCSejjkNuteElvA6b0GXnZlNy9kJidMts8PjZZvwvs V9FeOg74Ymjmp/jGSh+PzaVikraRVhzBOggpJsLbZy1MGPl8aOpnQr9s/hFKZvEGEqSc AkUT3mB49ROD9L94OtXAdxaNZDnKCSbS+YEGLbCnFB0Ltzdwny7ExAyidx34Nubz0k59 w1+5nTYV0LJJ6rl29r5UsPtfJBUTxoAXkg7WmkvKZJotXpfk16qdZDLiF7cD9FblM73g k03zDExt1NWOu0CcD2/iOp1ZlzP1DGM2+b09BldUy3rhSmttYMfmVAhFCOyaalIS5Qjz 62sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=xsUnJYZUQQWRQE/C7JzHGy4DQ6aT9D92t160nhC9AB4=; fh=efwp7ATRyJdvP570cvHk30APu54Xn4wQthZ1mR8lUY4=; b=qK8GbGSYtusZihOqQlzlWvn2eCfzVfKAFYSSYD4oV89nJmnuofV0oiOAcQ3DSixDsW GtA5y5tH56d9jkLiX1/AZIvCuwmjmgCRkas9d2QUcvz65rP/+580frivC2Z7dfgA2gkZ rJDdjWh2fBJjL5whtnPcrfn/qP7tjtYNz6+/649T50I1QnLQtAaeSsgLF3rIYJwbt2yB Cb6h23hlKVen5Tr+zbVPTGxoTNCaFb/Cni1lyB52hTX1V/1caSnImyCM9T1v0Xg7HJ3p E93mwIXz/EBmnpVpFAcHYcbztpDoM3IdUljGoEIDMbk5YiZsNO30XDCQuOdZFOK64HTV P+6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=X1CqM+5s; spf=pass (google.com: domain of linux-kernel+bounces-4977-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4977-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id m7-20020a170902db0700b001d3d9d65f14si1272739plx.352.2023.12.19.01.41.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 01:41:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4977-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=X1CqM+5s; spf=pass (google.com: domain of linux-kernel+bounces-4977-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4977-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 94205283C26 for ; Tue, 19 Dec 2023 09:41:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EF2AD13FF9; Tue, 19 Dec 2023 09:41:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="X1CqM+5s" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.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 8ABE513FE5 for ; Tue, 19 Dec 2023 09:41:47 +0000 (UTC) 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-ej1-f52.google.com with SMTP id a640c23a62f3a-a23566e91d5so288005566b.0 for ; Tue, 19 Dec 2023 01:41:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702978906; x=1703583706; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=xsUnJYZUQQWRQE/C7JzHGy4DQ6aT9D92t160nhC9AB4=; b=X1CqM+5se5L88UI+ryWXQARwqzinpQhwq2PmAkD4IWr7lIUBAwvM5RPHvk6KGReHUk zgClMJ24e4AdHTfam7OllJj0IoCFm2GHe56v1wsRqlpOXXqkbOhoOlenIzO30ujrrnzQ dIF4DQzr9vQtseRzXfD80Op0VctUoFTDJjmmK3U8bsdE7gxc9cR9NXuoH4DfaM0HLlPV qmjEbtfzKCiXK7Y1o7evt7FBS0PL+oLsqUzZKAFSx0NvZ5nKw//bxJ7BpdtoRM2B7S8J eqGaJhI+j0jkmhO+78sVN+VYINdP5vB9vcXa4cquyPpp15hP1qdk18vQ3Jh3fhZ1HUr0 Vvww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702978906; x=1703583706; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xsUnJYZUQQWRQE/C7JzHGy4DQ6aT9D92t160nhC9AB4=; b=drQ5xMVwy84WgpeybcqPXuIOwibL3Es0DtCcpW+6zwEtrDxmx/I82vN+zT6bCvXkQi 4+sASN9XBaFAHM7UKtbGJKRnutoTCtsuDcJjoY6qWkiZXpPHoNE2/hhA0qGkmaOupmTN /4LRH0gk1V8c4l3yN9I1RojTWfeB69zdL6sIwqE7nLYi64jaGr+k/25s2yx7laGap7th YYEmVbbEJSDLmpSQsoUaOnKeKiJ6hJlP2M6kLF1Lj314UZYXh3/fEQkrTLcPyTkTNG3y YLbMD7BypPxXfhD9RmZy1F/BbLdv6ZhFioRWTmeL3BA22wvNP9J6hAxkv1qR45aaI9JP Y5Jg== X-Gm-Message-State: AOJu0YwaF4Eodf+prkO1ks01GBiYUCmE5MJJXxh3VUPtxoif1fWLSduZ aQ1cIrYSwoim3Ns45reyvBaHuA== X-Received: by 2002:a17:906:74c2:b0:a23:30ab:d081 with SMTP id z2-20020a17090674c200b00a2330abd081mr1568397ejl.91.1702978905567; Tue, 19 Dec 2023 01:41:45 -0800 (PST) Received: from [192.168.1.20] ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id v11-20020a17090651cb00b00a2549d2352dsm320683ejk.44.2023.12.19.01.41.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Dec 2023 01:41:45 -0800 (PST) Message-ID: <13b61d41-6045-499e-864b-51c6cb6eacf9@linaro.org> Date: Tue, 19 Dec 2023 10:41:43 +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 Subject: Re: [PATCH v3 1/1] arm64: dts: qcom: sm8550: remove address/size-cells from mdss_dsi1 Content-Language: en-US To: "Aiqun Yu (Maria)" , Tengfei Fan , andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@quicinc.com References: <20231219003106.8663-1-quic_tengfan@quicinc.com> <20231219003106.8663-2-quic_tengfan@quicinc.com> <457e336e-004c-4721-b58d-e9ada16dc04b@linaro.org> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu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C4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 19/12/2023 10:36, Aiqun Yu (Maria) wrote: > > > On 12/19/2023 3:17 PM, Krzysztof Kozlowski wrote: >> On 19/12/2023 01:31, Tengfei Fan wrote: >>> The address/size-cells in mdss_dsi1 node have not ranges and child also >>> have not reg, then this leads to dtc W=1 warnings: >> > Comments can be more readable: > "mdss_dsi1" node don't have "ranges" or child "reg" property, while it > have address/size-cells properties. This caused > "avoid_unnecessary_addr_size" warning from dtb check. > Remove address/size-cells properties for "mdss_dsi1" node. > >> I cannot parse it. Address/size cells never have ranges or children. >> They cannot have. These are uint32 properties. > Pls help to comment on the revised commit message. Every time I write a > commit message, also takes a while for me to double confirm whether > others can understand me correctly as well. Feel free to let us know if > it is not readable to you. It will help us as non-English native developers. >> >>> >>> sm8550.dtsi:2937.27-2992.6: Warning (avoid_unnecessary_addr_size): /soc@0/display-subsystem@ae00000/dsi@ae96000: >>> unnecessary #address-cells/#size-cells without "ranges" or child "reg" property >>> >>> >>> Reviewed-by: Dmitry Baryshkov >>> Signed-off-by: Tengfei Fan >>> --- >> >> I disagreed with the patch before. You resubmit it without really >> addressing my concerns. >> >> I am not sure if this is correct fix and I want to fix all of such >> errors (there are multiple of them) in the same way. Feel free to >> propose common solution based on arguments. > Per my understanding, "qcom,mdss-dsi-ctrl" driver node like "mdss_dsi1" > don't need to have address/size-cells properties. Just because dtc says so? And what about bindings? > Feel free to let us know whether there is different idea of > "address/size-cells" needed for the "qcom,mdss-dsi-ctrl" driver node. The bindings expressed that idea. If the binding is incorrect, fix the binding and the DTS. If the binding is correct, provide rationale why it somehow does not apply here etc. Best regards, Krzysztof