Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1471385pxb; Fri, 22 Oct 2021 01:23:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGsjlibQAiEJSMmmnjAyjNUffx8JuQcdC+e5sHfym3V3kuh52IEOawMkpih6+GqSLZ+R8Q X-Received: by 2002:aa7:da53:: with SMTP id w19mr4698964eds.268.1634890997545; Fri, 22 Oct 2021 01:23:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634890997; cv=none; d=google.com; s=arc-20160816; b=0uJkD+W5E9fReFFXf8mnSB6n47NTzv0AxuWNAOcDp8OPj9ru2Ie9+rfypsA60p0rDD oybCjnxrP0u9XMS4heCaDYqs8QoZwwfpzqLpozi93YZR4OpOIEhLiMztD3C//5uA44EM 6Z/oBxHZFOvFAhjP0L18qHOeixp2XcT45SojFjXmcbQ8IfNSiWOZaDm9A/nZoelCc26u 99G1ULWi9uoZb5WW0YHTzB3gowZRhh9algOuUzkHFRFmXTsConCeGdC8H54gYfDLtEAk iD574NliCEtiDJ8xLlzPup0eqN0Sm4IC+vQio65WRuT3mWikhlNw+5w3tMto9k5D8gA9 mk1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=pt60zDjN6THwEE/JqGNoiMn+u2eQUWBJqEwtNaiQzBA=; b=fMqLAvbJbhcTS/kFBfnuyM/RUkumiVeTH0SXrQ1P3hW19OzIuBRCvoIFV/IT6PEyH3 hs2pC5R06I+OcJ13rydINL291PgMnWo1qNDhUWLNws/npX7QyrrgmZQL6/ool0mzrzeE mCRpHPv1gTAzGLoaJ8J/1vsVpG0KIN/DWZIpB9vrwyXfI1SQBUTg+702Fft+45RIynfQ 7Gq8/ROHZNVvF5kp8HzIpYSXt3uYIihWvjKpJXpKRYnE7iO+npH1FR+xw4P0a2mHjdRb Yc91pdY0UOWMD6ugruHOmOczgi9BNx5YSnrDlyQ2IBQiNBCLAykPb0eefPpnyvL+cf9/ q3NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="Qv+NFNL/"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b15si16141823edd.19.2021.10.22.01.22.54; Fri, 22 Oct 2021 01:23:17 -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=@gmail.com header.s=20210112 header.b="Qv+NFNL/"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232341AbhJVIXG (ORCPT + 99 others); Fri, 22 Oct 2021 04:23:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231846AbhJVIXF (ORCPT ); Fri, 22 Oct 2021 04:23:05 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B72BC061764; Fri, 22 Oct 2021 01:20:48 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id 145so4481364ljj.1; Fri, 22 Oct 2021 01:20:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=pt60zDjN6THwEE/JqGNoiMn+u2eQUWBJqEwtNaiQzBA=; b=Qv+NFNL/DLLiXqW83gFfBRjr5d8bBCrrviWAwmzowfdRz8Jr4GXxusoY72W9pqanM1 WeqtvhOgvvbEyy2JmDY7gDBAW9At1nOYpeh3V2tsE2MauXwatwRN29wuNWTZ25GMlyXR PkqxDLosyPBJg5jaLPBd/EO6inMbGy5zLhqvNj3NLPNLOyTUejckRw0EBS7E1PUmn0zN dKBiAPpPoqEi+XlSLZMMDUW38SDFyDlVZx/5rzgVEW0BtfmZ8batFkgeh64xsGfOByoI dVyYjUaXKP2JWql6Zlp8gEZT3t5tRJFheLpuemAfXXrIpDfvrc/V0kjP5dqIcgLr9TP4 ywSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=pt60zDjN6THwEE/JqGNoiMn+u2eQUWBJqEwtNaiQzBA=; b=H12AgJThdr19MYwBiiMC7bkhNB7tnZLc6s2CsEZesUv6CqOamSalMDDO2iBe+lafRj kPkKN8LUs37oADuRgs5uHfFuXh1+HHV2W89Ie3BITIXejQ1yh1aQKC1v6imTv37C487H S7taYbteuGrBotGg0F+Fn5SnwD4TGGV/ipcelbYWeONmfNdFfFcWTf/FonyZ8Tz+gzSB hAeE9uLUrjGTXoBWSk+um0iSh8pH059YJAVsgEUrsNDNjTb8n34uMaRoJxxG0F0C14HU /2l/nLKJEoJ4E1FbPfQVpZqYeZyq5WIaAn75SDGyb0VsleUuhTlTxeihj925mptfEXcQ NWZg== X-Gm-Message-State: AOAM532q9MiX2SeV4AElqqUfcAe0s/udvaz2W0jw+I2sjzQndD3EsaZ6 Dy+S1UXm0QYfzVs2Pc4uRJMFyqwSX2o= X-Received: by 2002:a2e:a888:: with SMTP id m8mr11643091ljq.465.1634890846474; Fri, 22 Oct 2021 01:20:46 -0700 (PDT) Received: from [192.168.2.145] (94-29-61-202.dynamic.spd-mgts.ru. [94.29.61.202]) by smtp.googlemail.com with ESMTPSA id 195sm825477ljf.13.2021.10.22.01.20.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 22 Oct 2021 01:20:46 -0700 (PDT) Subject: Re: [PATCH v1 3/3] mfd: tps80031: Remove driver To: Lee Jones , Wolfram Sang Cc: 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 References: <20211021192258.21968-1-digetx@gmail.com> <20211021192258.21968-4-digetx@gmail.com> From: Dmitry Osipenko Message-ID: Date: Fri, 22 Oct 2021 11:20:45 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.