Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3943059rdh; Tue, 28 Nov 2023 07:48:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IEOJ4f50NmdBZnqTqai3mfYBe+IbT4IQDEzyN5cHLCrbr2g7sw/taA157OWwd3IZ39JGmbK X-Received: by 2002:a92:d40b:0:b0:35c:69f3:f0a with SMTP id q11-20020a92d40b000000b0035c69f30f0amr13806412ilm.20.1701186502415; Tue, 28 Nov 2023 07:48:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701186502; cv=none; d=google.com; s=arc-20160816; b=JLgn7tlQAfQ7XCkBvPdJz0LBjwKSf4TKu/nCWP/GvHvoKYZ/QKmTg5Cb0wxXHrF5L9 lzfGiI+cvPeejLCmRIUd2H8Mj+jlVqCzymRD9tNwvAmFl02Sgwt3Sga0jLq81r9QbzEq 2lqShaM45HRjTOhQHsWxHOVqaFKjuF4LdJpV9ErLveO+cNm/j/B4z6+yzD4JZ0av/s5R t1VfIf9vxXccHQZq0NdImLln7CbkzUVXOYEiRF3TGVFXJQO9oVSXO4PTJJlORyF4inCN IFiW5TMcUE2FncWuxobYxC/4Q/JX5bgmeF/K9BGghG0GSPej3VItt9kIJjoOju60J5R8 ceiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=0TYvaPLaWqylO8fpxwWZAfUUL/mjgHuianw8ggEn4cg=; fh=HJOEJ+1NVvtVnuIMWeT1OywsaidefjPxO+0zJVj3/z8=; b=cdzVjbKUIQ1hZKEAA6oefS5IN0k4MIP7TeYJqXZ2wxeoosjEsnDfDdCTq/L0Ye5Vrx CtKOw4cecVxWXzWqgJyNxNx8EPz3crXTTAwy43F8NX6D4fasAAFNZAVsL1s6EKIAHoPN LHX8YT5UAzKf1VEynyCH7aaErRsbndvwHuVSrf8HHkcOuLRD3z4elb2hF2xKT2sC5Ics /eiYKt8rtpQRgjc7xILcpyyhxD8RDSqxnHYXVvXLT6GIY9+bTG/iCPOK9OgP1SZ/3Br6 jO7HDAx4R1hRsRecIX92tkg78/I8gg159SsaUuQ/h41BATl8Lf9YDNJ6e497oapO7g8B D7Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="LKI/gTL+"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id k1-20020a635a41000000b005acba4c9bf4si12176677pgm.2.2023.11.28.07.48.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 07:48:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="LKI/gTL+"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id CF487804139D; Tue, 28 Nov 2023 07:48:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346220AbjK1PsF (ORCPT + 99 others); Tue, 28 Nov 2023 10:48:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346059AbjK1PsD (ORCPT ); Tue, 28 Nov 2023 10:48:03 -0500 Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com [IPv6:2607:f8b0:4864:20::f31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2560D10CB; Tue, 28 Nov 2023 07:48:10 -0800 (PST) Received: by mail-qv1-xf31.google.com with SMTP id 6a1803df08f44-67a0d865738so28351846d6.1; Tue, 28 Nov 2023 07:48:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701186489; x=1701791289; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=0TYvaPLaWqylO8fpxwWZAfUUL/mjgHuianw8ggEn4cg=; b=LKI/gTL+NQzIErI0zdc9SZtDUvuA7raKu855/tQZdfAO+il52wLB3nnKjy8wBYamD7 GC8zD5CApqkVS/8fjFTuVkVu3g1zO+uq0Gd6+cF0QnNyeu6435EFaNWwkfO75Xzx7AFy ckpP49b7Wat5ILQFCAJj6RABf8Vw4DmZGyiobNzIvg7Zara4VmK+9x7VRPD3nN8k9yzn 8FbX7JVo2geDSat95ZPY3rioXoTQiE5MeDnok2j5X+EFDMUZ0zx1+Di2VQ/cGksffc/U 9xyxq/mKTPz7RmQ/uw1xG/xKf65U48fRIlLocv6prkl/LdXDE/HysP4o1ARIMs32S2l4 1b6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701186489; x=1701791289; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0TYvaPLaWqylO8fpxwWZAfUUL/mjgHuianw8ggEn4cg=; b=iPsLPLhI0mOK1E+jqy2EYhinFnnZCzCf96ZU072ebr8pr9yh+G9td775ejBcdE1pwp W5nhsB5erUQPzMVik1EjI4ee/34kQEiXcYVxQec+HKST2u8iU9U3dxAHxrro7e/j+0s4 U+vz12RAidkZnkTfSTW8SY/N+D9MLGnNF2QImDlaKUA8HeR7YwhxMbHTV4pEd8KadmLv LptLQI6YndabOkP5YpURNn3ny5L7/d31MjJ/bgdkbUUcrzme9Wr2s2myprEhhK8lpEMk BfOmB8bcXWbeJ+z6F6kqGKlBHxPw2PW0D/Wc1Kvn0CitfFzcVDItPLTteyRACEzsUP2U IX+A== X-Gm-Message-State: AOJu0YzPmmagq327t+KXlnhbIgXp/5sO09UVpLaP2eEXZ/Ao8YnBnufH pb4P4gFaqQWafQzm7gX05+XZbj4wONX6/LshcOlsEvW0Las= X-Received: by 2002:ad4:5ca7:0:b0:67a:3a68:91dc with SMTP id q7-20020ad45ca7000000b0067a3a6891dcmr12571448qvh.28.1701186489278; Tue, 28 Nov 2023 07:48:09 -0800 (PST) MIME-Version: 1.0 References: <20231125200519.1750-1-ddrokosov@salutedevices.com> <20231125200519.1750-5-ddrokosov@salutedevices.com> In-Reply-To: <20231125200519.1750-5-ddrokosov@salutedevices.com> From: Andy Shevchenko Date: Tue, 28 Nov 2023 17:47:33 +0200 Message-ID: Subject: Re: [PATCH v5 04/11] leds: aw200xx: calculate dts property display_rows in the driver To: Dmitry Rokosov Cc: lee@kernel.org, pavel@ucw.cz, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, kernel@sberdevices.ru, rockosov@gmail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, George Stark Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 28 Nov 2023 07:48:20 -0800 (PST) On Sat, Nov 25, 2023 at 10:05=E2=80=AFPM Dmitry Rokosov wrote: > > From: George Stark > > Get rid of device tree property "awinic,display-rows". The property > value actually means number of current switches and depends on how LEDs > are connected to the device. It should be calculated manually by max > used LED number. In the same way it is computed automatically now. > Max used LED is taken from LED definition subnodes. FWIW, Reviewed-by: Andy Shevchenko --=20 With Best Regards, Andy Shevchenko