Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp930432imm; Sat, 11 Aug 2018 02:45:07 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxlCmN8yZSdFIk9WzYulQIls+KEs9kTS9yD1FpAnrbf64dCW2YTUN19j0ItzsOwh/0KH6OA X-Received: by 2002:a62:1756:: with SMTP id 83-v6mr10835820pfx.217.1533980707254; Sat, 11 Aug 2018 02:45:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533980707; cv=none; d=google.com; s=arc-20160816; b=H7Sa5uHioAqdioPiqI7UmnleDfyp4pWRFiS2gbVAG8yS8KrcQTWlA9XC4I3hBFopsd NXO2jdYfnRA6wgSfi4LJdsUysS+spps1pIgkxSdNJh6llcuW1j/uSAJnKxibrXoQfsYE 24XyWqoMAHJk0kqAUUfPc94Vzkkua88sDfT9Y6lEYYx4gZjvOzz5IdksbkEL6lNz3kiE 2CbgJRjqnEmgktZovKTOIbHwc5EgLEl/s/NON3eBT5B+rOfUH2q2EqCkpx3vMxqt1sE1 1mqNHpkydY2pTcZTBhpmfO1DpYnkAQQiFogioIlRtsU0xJy9Yqc7Tj69be0XigZHdOLp 5ibg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=kucbI/XCgpOV25EQPWP0n0Z320dKe7cS61LzTYJLcw0=; b=HrsuusuyWj5ETWDmfT+sloT3a6eE3TWH0IS8dE+ilA2ftbrIjVNk51QKd0qiMy8rsW Pxo/jC13VCUd7JrAUsQExXttkO5hS72dX9emt7Odn9vO1OzxEKN8QHJcy36oUD7AAQg4 PHq1ZcgbITHMVuEwZkZItYolGv7wbp+2Bq/t12GOp8WnhZA08+6kWmuwHf4n911vQbwD reOdWL4L6sU8jH+N5dsJ3s5/E1i6du7btaukZPjhMN9OqaxEovZ3Ump1QBFWmLkEaZJW P6XZf1kjBfaB9rwaIp9jiKxPQJZK9i6rjgZRqWtFg9jMKNjmfVqxWo1OkCZ+D/0tBLiW bklQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=a7QBIAOh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k11-v6si12603029pgm.154.2018.08.11.02.44.52; Sat, 11 Aug 2018 02:45:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=a7QBIAOh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727411AbeHKMRn (ORCPT + 99 others); Sat, 11 Aug 2018 08:17:43 -0400 Received: from mail-ua1-f67.google.com ([209.85.222.67]:45204 "EHLO mail-ua1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727249AbeHKMRm (ORCPT ); Sat, 11 Aug 2018 08:17:42 -0400 Received: by mail-ua1-f67.google.com with SMTP id k8-v6so4458897uaq.12; Sat, 11 Aug 2018 02:44:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=kucbI/XCgpOV25EQPWP0n0Z320dKe7cS61LzTYJLcw0=; b=a7QBIAOh0eJLuFehsnz3AKFA1meYfrpoT7kDD1XdnxkT35QreWcXzGrWXXQEUjQu36 6ZhuhZ268eDua9TPsIWrk2Bdmf5pg2X3K7ovcU1/7taWxGpe0ESAnVU/N7T5r6UEsEae jyWxDFMnKf7ZxOVkf9gKiYst7Iz/qD/lYhp8sTm7f+4qGModhVFICbo4yLmSGkv99mRb mUiaky+ljr4nIYOf1IX+JWFnEnP5uwG5/95LmSjpVk3uYNco27dV0Cxcr4ITn9Uw6JaT D2m6BW9gCrsHVTLbCmu8TMhGfK4/RuBp1lIoOyAt3Ejyk4tTx8304kK2g8FJbBpirJaC sX3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=kucbI/XCgpOV25EQPWP0n0Z320dKe7cS61LzTYJLcw0=; b=RNX2431opiKDUcpMGo3rSeou9jeUThECczkqozokkmtBfkugUdgMHroCoXPQp6a8JR JeDIk7lVUVGPkPOHZnBqOTk8W+cXbDejZrREtgV/nCTkRwDZ3HP8t99LY4L683JfJ1u4 wH2FzidFC/Ho1qGDTE3cC8QwB+qN0i2aU1dO6/SwqegsvtUFoJG2KRy65B9A6nVJl8Lf J4rH229xu72X3ycFoeVvHPlIkCrUXYjNznv9xsSumnN4zjMq9NPWcmb995NiqIg2C39v u3BekauYZAlz9QsNdlfbXe4Omkc4rNr8QKnYgVqRlFdsOOKKJUPDJNa1d3yOZDEqn7de h97w== X-Gm-Message-State: AOUpUlGDb5WmVTA/vt/p5NAnRnSgUcaD1r6Kq7kPruSh593ei8v9fKlH 8OfM89hyjZtzA8Gm+Q05miicN0mCT95RLMSOvAw= X-Received: by 2002:ab0:4025:: with SMTP id h34-v6mr6620435uad.12.1533980643188; Sat, 11 Aug 2018 02:44:03 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a67:2149:0:0:0:0:0 with HTTP; Sat, 11 Aug 2018 02:44:02 -0700 (PDT) In-Reply-To: <3a9ece34-baad-a19d-c3bd-96aa458ea70b@gmail.com> References: <20180506080250.GA24114@amd> <20180716090814.GA4505@amd> <3a9ece34-baad-a19d-c3bd-96aa458ea70b@gmail.com> From: Andy Shevchenko Date: Sat, 11 Aug 2018 12:44:02 +0300 Message-ID: Subject: Re: [PATCH v2] media: i2c: lm3560: use conservative defaults To: Daniel Jeong Cc: Pavel Machek , kernel list , linux-arm-kernel , Linux OMAP Mailing List , Tony Lindgren , Sebastian Reichel , nekit1000@gmail.com, mpartap@gmx.net, merlijn@wizzup.org, Mauro Carvalho Chehab , Sakari Ailus , Linux Media Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 11, 2018 at 9:10 AM, Daniel Jeong wrote: > Hi Pavel, > > I think if there is not exist pdata, it should be set to the value of power > on reset (POR) to sync with the chip. > > According to the LM3560 datasheet, Flash Timeout is 512ms, Flash current is > 875mA and Torch Current is 93.75mA. Can't we simple read back? -- With Best Regards, Andy Shevchenko