From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751195AbdCQRXD (ORCPT ); Fri, 17 Mar 2017 13:23:03 -0400 Received: from mga11.intel.com ([192.55.52.93]:28367 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751057AbdCQRXB (ORCPT ); Fri, 17 Mar 2017 13:23:01 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,177,1486454400"; d="scan'208";a="1124088656" Message-ID: <1489771219.19767.71.camel@linux.intel.com> Subject: Re: [PATCH 04/15] power: supply: bq24190_charger: Add no_register_reset pdata flag From: Andy Shevchenko To: Hans de Goede , "Rafael J . Wysocki" , Len Brown , Wolfram Sang , Lee Jones , Sebastian Reichel , MyungJoo Ham , Chanwoo Choi Cc: linux-acpi@vger.kernel.org, Takashi Iwai , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Date: Fri, 17 Mar 2017 19:20:19 +0200 In-Reply-To: <20170317095527.10487-5-hdegoede@redhat.com> References: <20170317095527.10487-1-hdegoede@redhat.com> <20170317095527.10487-5-hdegoede@redhat.com> Organization: Intel Finland Oy Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.5-1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2017-03-17 at 10:55 +0100, Hans de Goede wrote: > On some platforms the register have been setup with platform specific > values by the firmware and should not be reset. > I would not extend platform data at all. For GPIO we may use GPIO lookup tables, for the rest -- unified (built- in) device properties API. Consider to get rid of  include/linux/power/bq24190_charger.h completely. -- Andy Shevchenko Intel Finland Oy