Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp262644lqh; Thu, 28 Mar 2024 00:47:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXRg6QP9l33qsvwwRS92v89fHknAVBp1weqUkUnFM/Z6P2tc32f4QZgDGqnbCBrAvccRBmUIQvfgHNkwzFx34HrXaTqMxL7Xue1AYHWgA== X-Google-Smtp-Source: AGHT+IHdJeti8ocucRVh4c32QJ3/RMaydrGV2+woogPGSP7x7o6jlbsy+YsX5oDihPw7alENEa0u X-Received: by 2002:a05:622a:1b91:b0:431:6179:3881 with SMTP id bp17-20020a05622a1b9100b0043161793881mr1804714qtb.58.1711612041495; Thu, 28 Mar 2024 00:47:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711612041; cv=pass; d=google.com; s=arc-20160816; b=x2zfQQseFlFfJtIVRig1Jua3BOvfZYzs0yTWBmQGdoOk+Rg8eujGedq9QkyOc7yKrY xcUy4k3NnHKnOP8H83LmhTVHDwAwIdghK7I00yE3hKaCP38iieNkPEuM1P3EgVmhJ5PE c0A4V4+V1Uq1EHFbjjdxKIiljyKJ6rdkmsSfBDgBzTSOGTvYbCOwbKHYLGyc79ScTjoh +3jxlCG8bSUU9sWykNyxyNMJFpcWG6uQMkCWvESSR5lUEdj+QuSZGFHw7jXdLqE+WlzT qqVzXwBpZ/l3Yd9ZaXKA1RfFL/Fib8D+qsz+elW5Tgo1xjEo7wJSEX8YiU6AFjOGqUiJ Lalg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=CrkzSrlFWgfCQCwVdklZp2cB+vi+PxEblAJ5L8nXNWY=; fh=7VNk58dK0Rk6/Q90CItkq+BlkCH/sWxw4uPPCahsjIU=; b=jQnW7PZCCK1FRooVIFxkHPa79dXnLvDZEwSedhKMPnz/E1WGCNwTrIiLlwgwfrwNSf +7HOEWjg64459oxEu0wRlWTmeNe25Q/yv7h0blqzvZJ7cs3NEExZKhcUrPbQZLaQSTnY MsyIc7374nyAZfyX1TY7XUbdCONcUvTyoozxSg1vxHaTtJsS2L8QBqRv+4um1p91esnk jTb/aNiUFGOOCgPvwoVZ6LBhDkKrKqzmARM5c6lIMUy3sD97kGptmzH5PMItzQGQ9pOJ On+u0sA/yqGwTLlEnvWvuhQrXLpBk2Xy7Ph20u3jIo+NKBBZDATUSvnOhILQln9yYpgM Fqyw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ClgGrc7m; 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-122526-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122526-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 h16-20020a05622a171000b0043209364d2bsi857329qtk.184.2024.03.28.00.47.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 00:47:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-122526-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=ClgGrc7m; 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-122526-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122526-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 D28801C27B02 for ; Thu, 28 Mar 2024 07:47:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 658A953805; Thu, 28 Mar 2024 07:47:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ClgGrc7m" Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.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 9D20529CEF for ; Thu, 28 Mar 2024 07:47:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711612026; cv=none; b=I2Ojk4sQN70NiqpLtv7hqI5/ITuV4hWZheJhuA5+sBnuhR22zT980ue7UjbGonYmVhnbJfxZLolrjvLqXdNnn5fxZwm7EcmEeFUxoQJzS9ENR/Je7oTdH+eD9GGGnmn7Opxyvde4roodRphCX51mjvsxSdMEdUlPf88CdPJ6Nac= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711612026; c=relaxed/simple; bh=KOJwoVFlRObnl8G7XcM8J0gumGAm01L3G0CqgIwHzEM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=D07DzNAuAYBlZT5RzrfU/ssKJzmIlhqWOonblOSaQi9DZY8F+hAaF55Z+bmBlcdQBrD+gYGdAuFCpT9CCpGAN4y8k+AmpL5gkavY+hM6l7gRu88jXvN7vsNhv5raRrenxhkXaIEaSs/mJE0Yt+sYDNXQMxSa373ABgqOkMBbhpI= 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=ClgGrc7m; arc=none smtp.client-ip=209.85.221.52 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-wr1-f52.google.com with SMTP id ffacd0b85a97d-3416df43cabso424354f8f.3 for ; Thu, 28 Mar 2024 00:47:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711612023; x=1712216823; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=CrkzSrlFWgfCQCwVdklZp2cB+vi+PxEblAJ5L8nXNWY=; b=ClgGrc7m6kUt9WHnaBJ2mX2Q0zbAYT2ILlBeb5qFtZTgtHFaoqTtVO6A4Qt+7odibj VxXqxrLIw+qFUk1QccxT/43ggfibmEw2FXTw2AYgFSwx/c/Im22LaCnZpEQISYB2x6h2 ZDiHN5AW1RT2OdkBCEneDXbdo5asW/OdO9fmkHCaHsq7Yg6/pFRLCo3jPjd8r7ZVTaWf iSyraDDnxQIjKrqB8rgKnK+fW3MQ7QzTSIY/u3/pByJQL6XrZNQTHO2yo8RYxEUAChAo AFMEKIDmmHioa5Lr6WObwQAEpJClBQx6O4JYdD6HT/qSrc2hnk9BzCC74xefvMsQLoeZ unqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711612023; x=1712216823; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=CrkzSrlFWgfCQCwVdklZp2cB+vi+PxEblAJ5L8nXNWY=; b=bhwGbddUii9lqiwoEOaL/FfwrOGczFrNAgj2P6PQxHwAhKCYzGWd3FDNMDj5/0lEtm xksV9uj/FfNt2D02MLgbB5GQJs2bqn4PF0VRWgaOIDaKyDNf1HqQUx963nMvVsJS7TNQ Yne1y3cIYyY+/6P+Sd+fL3GkGtbpWMLwKLIvJBoTWV4UseKjZQs/c/d7wz3aWk/jN+Ya XBMXXinXP8P6aqwCh7JqADO03D1GEe0dDK70V88/AdfEhF43m+gk+X+hsqkku+8FxP1L pZj9G7MEcASvC6j71wKo8tIGB1aJcL5NA9AbfqrVmeDI64Vndw+pCFk+6IJLJW3Y8so8 3IvA== X-Forwarded-Encrypted: i=1; AJvYcCV2IXWPLCCmVDbZTnIp0gXXpGbFIZaglLp6KbJuKCYyrfRqAIQVIfrF8g9wFYuORX94LiRqk9W3lj5N0nEgQZhwqrVbCL4iz2wHFAWB X-Gm-Message-State: AOJu0Yx52Mmj/zgWDMS9HmcDUgT41OL8Hr3BzycoHvzpiKu4xflZN41a zfPGrCEVtzsNExpTvwLZ/pAThuInpZ7YYsgpyEg6Zj/QOpOg6meEdgZsgWAx1CM= X-Received: by 2002:a05:6000:1544:b0:341:d912:1fec with SMTP id 4-20020a056000154400b00341d9121fecmr1910176wry.49.1711612022976; Thu, 28 Mar 2024 00:47:02 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.148]) by smtp.gmail.com with ESMTPSA id a9-20020a056000050900b00341d7596ec0sm1005568wrf.15.2024.03.28.00.47.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 Mar 2024 00:47:02 -0700 (PDT) Message-ID: <586bdcc9-793d-4cbe-9544-9012a665288e@linaro.org> Date: Thu, 28 Mar 2024 08:47:00 +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 18/23] dt-bindings: media: imx258: Add alternate compatible strings To: git@luigi311.com, linux-media@vger.kernel.org Cc: dave.stevenson@raspberrypi.com, jacopo.mondi@ideasonboard.com, mchehab@kernel.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, sakari.ailus@linux.intel.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20240327231710.53188-1-git@luigi311.com> <20240327231710.53188-19-git@luigi311.com> Content-Language: en-US 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/G23PcowM1CwPurC8sAVsQb9KmwTGh7rV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HxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240327231710.53188-19-git@luigi311.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 28/03/2024 00:17, git@luigi311.com wrote: > From: Dave Stevenson > > There are a number of variants of the imx258 modules that can not > be differentiated at runtime, so add compatible strings for them. > > Signed-off-by: Dave Stevenson > Signed-off-by: Luigi311 > --- > .../devicetree/bindings/media/i2c/sony,imx258.yaml | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx258.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx258.yaml > index bee61a443b23..c7856de15ba3 100644 > --- a/Documentation/devicetree/bindings/media/i2c/sony,imx258.yaml > +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx258.yaml > @@ -14,10 +14,14 @@ description: |- > type stacked image sensor with a square pixel array of size 4208 x 3120. It > is programmable through I2C interface. Image data is sent through MIPI > CSI-2. > + There are a number of variants of the sensor which cannot be detected at > + runtime, so multiple compatible strings are required to differentiate these. > > properties: > compatible: > - const: sony,imx258 > + - enum: > + - sony,imx258 Two people working on patch but no one tested it before sending. Do not send untested code. It does not look like you tested the bindings, at least after quick look. Please run `make dt_binding_check` (see Documentation/devicetree/bindings/writing-schema.rst for instructions). Maybe you need to update your dtschema and yamllint. Best regards, Krzysztof