From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E2B7E77376 for ; Sat, 30 Sep 2023 14:53:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234326AbjI3Oxw (ORCPT ); Sat, 30 Sep 2023 10:53:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234320AbjI3Oxv (ORCPT ); Sat, 30 Sep 2023 10:53:51 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 181B6C2; Sat, 30 Sep 2023 07:53:50 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E997DC433C7; Sat, 30 Sep 2023 14:53:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696085629; bh=tyMvdkFgu4uwjiVffaBoF6mgoQPEA9rv5rt4B+ieM88=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=b8PQdgGGs4dDyYKw9iAHn7THfjMK9tmKD6o8xEDNB27JWivpyC8hU71YDyO9pYpqE U3woK6qSKpubjBc6EHFo0xDdrTiGAqJuQJ5elTGBewIp+98L4gHDpWz9x6QA2bXTv5 PundRGYe6VKyyLBJQU85VJV16vvfnoRitKtrZh66cTJecrYPJenEVhaRSSYc5cqjZv zqHnHjZMKPy2BqE8Unodsw6DTes7fx9qQZd6OYq0jpdSAw6PSXQSTxofhPzYKvQ4Mj nhaKpRvF++ynmnfLDOw8+R/5yBN1AkQfx4fUnwFA3GBvS6M7GtiVKMh27tYRBWP4P6 scv5wemAOUmJg== Date: Sat, 30 Sep 2023 15:53:48 +0100 From: Jonathan Cameron To: David Lechner Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-staging@lists.linux.dev, David Lechner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Hennerich , Nuno =?UTF-8?B?U8Oh?= , Axel Haslam , Philip Molloy , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 12/27] staging: iio: resolver: ad2s1210: remove config attribute Message-ID: <20230930155348.5759fe79@jic23-huawei> In-Reply-To: <20230929-ad2s1210-mainline-v3-12-fa4364281745@baylibre.com> References: <20230929-ad2s1210-mainline-v3-0-fa4364281745@baylibre.com> <20230929-ad2s1210-mainline-v3-12-fa4364281745@baylibre.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 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org On Fri, 29 Sep 2023 12:23:17 -0500 David Lechner wrote: > From: David Lechner > > From: David Lechner > > This removes the config register sysfs attribute. > > Writing to the config register directly can be dangerous and userspace > should not need to have to know the register layout. This register > can still be accessed though debugfs if needed. > > We can add new attributes to set specific flags in the config register > in the future if needed (e.g. `enable_hysterisis` and > `phase_lock_range`). > > Signed-off-by: David Lechner Applied.