Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1536679pxb; Fri, 22 Oct 2021 02:57:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7os9KRrNMxYdyRC/0jvjw/SzhbC4a/YiBwqaDWxWFQ/WxB9+c29T88y4y35v64M87D9a0 X-Received: by 2002:a17:907:3353:: with SMTP id yr19mr13978976ejb.508.1634896639934; Fri, 22 Oct 2021 02:57:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634896639; cv=none; d=google.com; s=arc-20160816; b=lMCyp6vonm8KaagKvaz6gmrpkfOK75rBG4L+rjzjjyyVOiYu3UfscMOMSvMpEOGuN8 PhoHIUztcEUZ0UzwssMGJ1xmA37LDTf7H0GjqibtfeSEOYwCjtbHYWLtWTDT0Au+1/7O nzS4IU2PBLXLOe+J0KLASuQjlAGbB2NJmkZu57/C0nR+qrZ1B6lOXbHHZ0J1RaG2e2dp ONuC1eb/7ulLj0IAJYMPUsHxGEipVFAsTjYaet9SWBWAPnBZdSjZoEBfZReMjJX6hzvJ DjCBQWfM96iM2O2oCpfvYKiLXH1fv47QlizdgCCvI0graG0PyM0PXAr1uWbHusCNxzIq M2sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1HcW2tYqxv3UvKYp0v4QuRiF9xuLREBSM7DRf5wdmOA=; b=kTcYioVOPNcjuF7+aL/Z3JFeVTgi8ll2h5ldSgaw28ttrpYWeKyAmvIk8SyG8OUofb T4lnR19TK4wOhTrVbX2N5hLrTt9EEYmAfWMn6F6ktr5hbflUL67p04Qk+PKx8cH9dEJA f3tGF2nCmhHYd4ouzzUDFQ6Ssd1PKGocVveDYMS4JrQ6KXeVZ435oAJAt+nzJ82tZ9jN qKg6zIX1cGK6iEdK4PY4Is+UvouEwWsD/cI+JerZvF4DWK2B+fMhjrOEvzD/FSvJA5Ar OSvabN2uWp+DkJG3GHYdA6yCoIS9Bsio9mJ4GPGO7YDUAI/M0+bxDULb+s+zc2cJqIcI hUYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=o8fMCbpq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y16si14355948edc.470.2021.10.22.02.56.57; Fri, 22 Oct 2021 02:57:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=o8fMCbpq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232520AbhJVJ5L (ORCPT + 99 others); Fri, 22 Oct 2021 05:57:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232613AbhJVJ5L (ORCPT ); Fri, 22 Oct 2021 05:57:11 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 950BCC061766 for ; Fri, 22 Oct 2021 02:54:53 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id m22so3229108wrb.0 for ; Fri, 22 Oct 2021 02:54:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=1HcW2tYqxv3UvKYp0v4QuRiF9xuLREBSM7DRf5wdmOA=; b=o8fMCbpqQLH+Umtc34rWG9ArM66htjDJWGBqiuiPF/0Fs4B2K0O4CuLhoKmPCj2XNM IN39I6vxDdtFwzB1o7IMsZT2dkLDzNtfrqAFT4lQ+N7fpc+qtfJUVx9ECYVeqZAaCeH1 SBGUa0Pi2vZwYh9QuTmNAK0vPtXdAYVl0+5j5lzl+yp5rfGNlcD1yGuNAyF7R+Jmgsd/ 1XAwY6HNuVXmcm74S5E9OdqJ3/0TqO4Rum5vY4hQoJ7ULki6ewgh4H6kjA7Dgjs3S4v3 XfncdPhAPLiyVwgP9YaKJh6aq7Ux8JJU5c7+Q8GLqEge5QQ3LIjcWCm8Tj7Jx/8pv3F9 CM4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=1HcW2tYqxv3UvKYp0v4QuRiF9xuLREBSM7DRf5wdmOA=; b=Kou3g/K9YpFZcUc59nvDb79iV+5t5F1cSrLGyj2pAp03PvB8chvGqmO1OB0+ces3Lk EmY4a3xQbarU9MM3nv0Xkd+LjNtg6IkrotER6MTB6vyzqMkfYVH6ReduhJ9gH2kUj5wV 9tOFGenvDF0DHy3Dak3EnQ82ts/DKVPJxxOi0KyTXJ5v0DXj/MPYKeSlC4dATuZtGaYF sE+iNhkQEkxt8Vus41PiD2H/zaUT5a82BKmfPOs1NVqCngNQGlQAeGqTavNxNVjlaxH1 5l+NXskrCm/nHAEnRuqFQmP/tXRFe+f6Ftr/BeofmKUX8RYSmjFsUHTEmrDLmuD8xjrO Cf8A== X-Gm-Message-State: AOAM531N19iPwS3CM5MD1FjeZMGDDqbv/DzlF/AKtD0IHzFlwRHEHtgA wSKAtL4Px6kf2B8GmoXTmusLIw== X-Received: by 2002:a05:6000:11c5:: with SMTP id i5mr13076654wrx.228.1634896492186; Fri, 22 Oct 2021 02:54:52 -0700 (PDT) Received: from google.com ([95.148.6.207]) by smtp.gmail.com with ESMTPSA id i24sm7671110wml.26.2021.10.22.02.54.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Oct 2021 02:54:51 -0700 (PDT) Date: Fri, 22 Oct 2021 10:54:49 +0100 From: Lee Jones To: Dmitry Osipenko Cc: Wolfram Sang , Liam Girdwood , Mark Brown , Alessandro Zummo , Alexandre Belloni , Laxman Dewangan , linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, linux-i2c@vger.kernel.org Subject: Re: [PATCH v1 3/3] mfd: tps80031: Remove driver Message-ID: References: <20211021192258.21968-1-digetx@gmail.com> <20211021192258.21968-4-digetx@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 22 Oct 2021, Dmitry Osipenko wrote: > 22.10.2021 11:05, Lee Jones пишет: > > On Thu, 21 Oct 2021, Dmitry Osipenko wrote: > > > >> Driver was upstreamed in 2013 and never got a user, remove it. > >> > >> Signed-off-by: Dmitry Osipenko > >> --- > >> drivers/mfd/Kconfig | 14 - > >> drivers/mfd/Makefile | 1 - > >> drivers/mfd/tps80031.c | 526 ----------------------------- > >> include/linux/mfd/tps80031.h | 637 ----------------------------------- > >> 4 files changed, 1178 deletions(-) > >> delete mode 100644 drivers/mfd/tps80031.c > >> delete mode 100644 include/linux/mfd/tps80031.h > > > >> -static const struct i2c_device_id tps80031_id_table[] = { > >> - { "tps80031", TPS80031 }, > >> - { "tps80032", TPS80032 }, > >> - { } > >> -}; > > > > This is an I2C driver, right? > > > > I was under the impression that Linux could do auto-probing on I2C > > devices? Such that they do not require platform code or DT in order > > to bind? > > > > It's I2C driver. I'm not sure about auto-probing because something > should provide information about device to Linux. It's possible to > detect/scan whether there is device sitting on I2C address, but there is > no auto-discovery mechanism, AFAIK. > > TPS80031 device will fail to bind to this driver because it explicitly > requires platform data which should be NULL if device is probed solely > by I2C ID. This is a fair point. I'll take the patch, thanks. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog