Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp553039rdb; Fri, 6 Oct 2023 11:02:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH+JIszqf7ABIG3cweAfAfUxF8+LX4NAWmQX/ghDdcua33KwasZSJ8auNFPx0oaW0yPfHcH X-Received: by 2002:a17:902:c3c1:b0:1c5:9d28:b2bb with SMTP id j1-20020a170902c3c100b001c59d28b2bbmr7913534plj.33.1696615357526; Fri, 06 Oct 2023 11:02:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696615357; cv=none; d=google.com; s=arc-20160816; b=KSXGpEqmd/A7xk8r6r6Ul6fMfHV/vtWJxYF2stR7h9IgWIPbVBJFYSfBwW8rJG47OO jhL0BLXlY+ZyoWZDEU/oC0px9iCi0hAdRrI0sFOG0TE3nMJnAOieRPU+sQpxIMdOoQQx 5xdFzncGeX/T1b7bz+6VahTloYfYRMrQa+SPTn3ONxHZhsxdkh6TDtGnOy+r2kIkKWQO CtL20qNPHo6PQNj1dpivtmPosOnYeTy3wc+5qurzB6UOg7sgQhbaZdhu8t57xNDNLHZc /ayNjdolxDhxt1ctfId7v0+OJiAJHv/lnWDpC6veLkp9gds4Q+pSoFeOLgjCm4XO3/im 2Q6w== 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=/5nBRHjJ7WNIwX/8d0eZMyTygIO0HnzObi9iT1OLYIM=; fh=HJOEJ+1NVvtVnuIMWeT1OywsaidefjPxO+0zJVj3/z8=; b=ShVUYaYB1gV7sg+F3+AfdL0VApk7uTB8w62vjAqhk8GKCO4m+YZFjQcYq8B8pd1MW9 GjMnZ2sxlvOiXJgjA0cQLmdAoUazXTECbBkaQYRyoZwzplPk6BLXmPwES6M4FSHGO01p Pbb6JyFdTlsMks87JyPuVEXqYII0ziZiKnM6GIP+2t1QRlH/wHXIbEatXzR9cnvuAoTz EM6CSJWIwOLGHBtajjl9y7xxe7zYOiVkF+rh6DbTTc31k6X436kXUUEuZ5bSpb9CElO9 83V5tSMh3BW9Il2BQnkmhX0LEoPTx0UiwVM6IuiCv2htoq7DPYW5KCI+oWq1EykOVUlC Ypog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=AU5JP3nH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id k21-20020a170902f29500b001bd9d2e20absi4022702plc.230.2023.10.06.11.02.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 11:02:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=AU5JP3nH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 46528817ABC9; Fri, 6 Oct 2023 11:02:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233145AbjJFSCS (ORCPT + 99 others); Fri, 6 Oct 2023 14:02:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233080AbjJFSCQ (ORCPT ); Fri, 6 Oct 2023 14:02:16 -0400 Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4C26B6; Fri, 6 Oct 2023 11:02:15 -0700 (PDT) Received: by mail-qt1-x834.google.com with SMTP id d75a77b69052e-41959feaae2so13897501cf.0; Fri, 06 Oct 2023 11:02:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696615335; x=1697220135; 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=/5nBRHjJ7WNIwX/8d0eZMyTygIO0HnzObi9iT1OLYIM=; b=AU5JP3nHi5QnckZgfp8lMAaOAXuF6sjQiIgl+cfJgPOn65KvtKSY8T9Cwz4jtzqgXF NKQAnSB9qK1Y6B/Dq8AdT1n0bRKhTzYFNKfLKXQcQJRvOpkDNumDZfEeJfTJ0uHxKxTk kp42aPG+1X5wCCA2Mcg/SS4+oLsREPVWtUBl/BZCA1rPVogrMViL/xaDET6esm+tfS2W cZjeaRqagDM/HCxEjcw6ic3qyqZ2Uwbd/yzGknGp2LuNKIx9AeGEmV8VCpRpzeKJkUuA bYGf0KU73MA4eEplsG3C3jOeh2a25Wa9ZJh3cOXC0sBL5VvjXAsV+xmfHLMv6ShvYkiV 1ZFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696615335; x=1697220135; 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=/5nBRHjJ7WNIwX/8d0eZMyTygIO0HnzObi9iT1OLYIM=; b=a7bGZSR7JbJ9/s41sn+6eyTsXu4ffjvad7I3jaBKwjfh+ECFa8f02lzJm1HVdYDZPF gKtwI2+OdVKRn6M1LnmE1dKnF2wO6Z2+k3ykc6x+zgOF0NLSvsUfsyqAJQeO/xk/uDJn JGFyPRdLFXuObQ0eYaOwy3p+eMa/GFD++7FZU+5pkhFxcF/DOLSoLQvl6L6e2SC1xj8y JFGVdesrN7TXxhHXNO+TH/t5B4fbuRnnNCIBxv3fA+Dqv/HygoxTOYHsUMhcPfgSPFkR RPNi2dVDnKwOraqBCLpy5s0o4nSF3aqa4B/GfJuLF+gpAvrsoRe0SvzctqRb1PUwhYjG pj2Q== X-Gm-Message-State: AOJu0Yz83pOg62DH1kFw/vADU2PniveRUjZ0raCs94andwQIRty8Nvv+ YcXRA8wqaQfdnB6sTXcRpkq7oAGSYZPudaScDBw= X-Received: by 2002:ac8:5fc5:0:b0:413:5d52:ee17 with SMTP id k5-20020ac85fc5000000b004135d52ee17mr11080318qta.42.1696615334952; Fri, 06 Oct 2023 11:02:14 -0700 (PDT) MIME-Version: 1.0 References: <20231006160437.15627-1-ddrokosov@salutedevices.com> <20231006160437.15627-8-ddrokosov@salutedevices.com> In-Reply-To: <20231006160437.15627-8-ddrokosov@salutedevices.com> From: Andy Shevchenko Date: Fri, 6 Oct 2023 21:01:39 +0300 Message-ID: Subject: Re: [PATCH v1 07/11] leds: aw200xx: add delay after software reset 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=3.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Fri, 06 Oct 2023 11:02:32 -0700 (PDT) X-Spam-Level: ** On Fri, Oct 6, 2023 at 7:05=E2=80=AFPM Dmitry Rokosov wrote: > > From: George Stark > > According to datasheets of aw200xx devices software reset takes at > least 1 ms so add delay after reset before issuing commands to device. > + /* according to datasheet software reset takes at least 1ms */ Please, be consistent in all patches in all commit messages and code comments on how you supply physical units (w/ space or w/o, take also into consideration traditional scientific practices). > + usleep_range(1000, 2000); fsleep() ? --=20 With Best Regards, Andy Shevchenko