Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp33267298rwd; Sat, 8 Jul 2023 08:14:49 -0700 (PDT) X-Google-Smtp-Source: APBJJlHrxeuPiaNk4OpwiwPmnAFGeGSn54WJ3EU4qWO1PbeUxN6KV44x1G/aVgUDnT8NG23J+ezu X-Received: by 2002:a05:651c:120c:b0:2b7:ada:cb25 with SMTP id i12-20020a05651c120c00b002b70adacb25mr4303476lja.31.1688829288813; Sat, 08 Jul 2023 08:14:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688829288; cv=none; d=google.com; s=arc-20160816; b=v0LGdGdY12T5695lo6+JwxGIitjSYzZJhEP6efB0kpGidiDwglDPKaPtZ6HYr7LAwU QhYzR0tPs2onhxrrkTNPtkk8XKMRGxn/laxwjQvogY+jqyL7haRW9k1xsyzd23el0QeG x3oRsVyBq1KS6XX+Jp5L2msT8Gs8wNWtVe47vFal5moEl5SiBpaqL5TXQq4y0KKet5PE 9Xzgx64HGbhPLMePZ+F0PjUgrwn4hSlFJ4CrGyn/LKQ6lNEEpjSV+c6KiHaPbIICG+B2 HjCooIcq1XmubjuATr2clUbbC7BOKq8y3w0W0cUrVz7O6k0K13JDM2Xv+SMYHtkiE03N Lt0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=0BAwUCko0/PddJoIB51FF0Cq3paKzHxZ2Elt5M0mg4s=; fh=9arVa2Z+65BbyOucbti/C52ow3LP/irblXeNUKP4Xrw=; b=Rs7gpB7MxDPlgHRo0FTJ1ne1obp5cJMX4VdMUNKk/E0YRLKQrIZ0jFCK55+DN5MDQD Ax9n9sWKwLqmUeDRooZQSnHfu832iRCQ4zV+mudnhd+iBEqvmQp7y56Jpm5xKpvezFk7 VnFV+a+kUDj8hWSnu5D85S6i7lc58FC8hEdD1dfkU8HMHsoPr6qYF87uxysyK8cZcGnY qZMCnk8d9R0w5XKCFLaQazOIWK/zIGSdTn3uJM1QWxyiYzeTkOPWdNVpT9wVj8B/eH8X PWhv81dEYQk8Jjw7Q7XwXIUD0ACaGYFpqwZnmiUGlgRlOFUs2iLT2q32YQ7Y0A06U8dO fK0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rgwQ3N7G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jo17-20020a170906f6d100b00977e10fafd3si3525164ejb.1045.2023.07.08.08.14.23; Sat, 08 Jul 2023 08:14:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rgwQ3N7G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230523AbjGHPBD (ORCPT + 99 others); Sat, 8 Jul 2023 11:01:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229496AbjGHPBC (ORCPT ); Sat, 8 Jul 2023 11:01:02 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C29A1E4D; Sat, 8 Jul 2023 08:01:01 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5EE8A60C96; Sat, 8 Jul 2023 15:01:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F163CC433C8; Sat, 8 Jul 2023 15:00:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688828460; bh=CPC1Hr5I3g2dfiiYjDfqMogcGRMrPymEWhhX2UxiwvQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=rgwQ3N7G3oqWyI5ilvQJ0AC8Eq7ZGEAjs9vjz/sE7U1/khXrszcZmt/keHv2yOSVs nfnYJj1PctBeTOOjR0OB4XDLrTAujdfPVSD1y52Pdno8zDASuv91/6o14auRZGKeNJ NTJfnSs8yMkNa6LFSAIr3ZBdJkKiI86c/RCaxLxYReX3RQzpG4ZYDqopO9uO6yZkaa CivH8z4PMRx8JpPvi+utsTRNIYz1wJI+dC2b0P0Lj1fEr0OZ8P2r3tx0Ms6B65QXYL X9BkwAbm3ESnJ8P6SNec1rVchCZkbyXJaVxtuyWB4xPIG8jy6+qOxBc5bH/JUtovr/ iEUNUMjK65ibw== Date: Sat, 8 Jul 2023 16:00:48 +0100 From: Jonathan Cameron To: Jishnu Prakash Cc: , , , , , , , , , , , , , , "Bjorn Andersson" , Konrad Dybcio , Lars-Peter Clausen , , , Subject: Re: [PATCH 05/11] iio: adc: qcom-spmi-adc5: remove support for ADC7 compatible string Message-ID: <20230708160048.5a5ad01a@jic23-huawei> In-Reply-To: <20230708072835.3035398-6-quic_jprakash@quicinc.com> References: <20230708072835.3035398-1-quic_jprakash@quicinc.com> <20230708072835.3035398-6-quic_jprakash@quicinc.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 8 Jul 2023 12:58:29 +0530 Jishnu Prakash wrote: > Now that usage of "ADC7" name has been replaced with usage of "ADC5 > Gen2" name everywhere, remove the "qcom,spmi-adc7" compatible string. > > Signed-off-by: Jishnu Prakash Nope. Unless all your dts files are distributed with the kernel, dropping this breaks anyone who upgrades the kernel against an older firmware... So even after the rename, you need to keep the deprecated naming around for the binding side of things. Jonathan > --- > drivers/iio/adc/qcom-spmi-adc5.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/drivers/iio/adc/qcom-spmi-adc5.c b/drivers/iio/adc/qcom-spmi-adc5.c > index 3ac1ee500a67..6cebeaa69a75 100644 > --- a/drivers/iio/adc/qcom-spmi-adc5.c > +++ b/drivers/iio/adc/qcom-spmi-adc5.c > @@ -807,10 +807,6 @@ static const struct of_device_id adc5_match_table[] = { > .compatible = "qcom,spmi-adc5", > .data = &adc5_data_pmic, > }, > - { > - .compatible = "qcom,spmi-adc7", > - .data = &adc5_gen2_data_pmic, > - }, > { > .compatible = "qcom,spmi-adc5-gen2", > .data = &adc5_gen2_data_pmic,