From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 654E013D503; Sun, 12 Jul 2026 00:51:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783817516; cv=none; b=Qhi+yBdZiperHVyzKcnMNULYFdtL4t7az7+R5XXCAC3O+KN/kFBy6aPLlycyCZjlyz0DwHqwhFrK9pRd0B/le/lAHuWnFUSQEbCdJeuWOSZtWjdTWf+KiS+bUUrUJ6WgSfNQfOSUeEWrC3NEsHQKCzS/+CaEiV2nZryNP/Lj498= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783817516; c=relaxed/simple; bh=MWXyKx3r+87ZAIALgY2n0zGUU4+3uAlRyvtd94skiSw=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=g8ZxzWYxcfKzEcTQODt1HYyA2zVRCLCjFtctYerTjDHKzucddPi+g0fiuMlR+QYkG8q0gtcwTmpiQCCQBhv/579eAHgHg1aioxLKsEiVdYPQkzcciqQqv0botw4no27XYyY39vjMRr6XSNZIGIE18Unszh2+IweLhNVqZEl93Ko= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=NE4gPOF+; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NE4gPOF+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B6A0B1F000E9; Sun, 12 Jul 2026 00:51:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1783817514; bh=Ky+9NbjAdq3ljTtqL/5UQG2UbRk9lfd00iRsnPy/ybM=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=NE4gPOF+5ZDgpuAGPyniJv/uBvi+FIKifdHjwRe6wouz21hRaTm0YSyuDTdIT+ME6 Eg+tnCyDTQJpnEY9InmK+QysMlbfkimqnVv3IMKx3VJXwphH8pY+6Q08+5YnJ1KX4Q HTJdpyiaiY6kkZ1P7wjtoDsLYEhp1Wi1cfzr6eGeTy5hLkcMKOUaf3TG+2ZvSqIkyN sL6JzznXUIp6L5zhWyir543csb5Cg6XsCN/kn2/LtCt5MpoP8ZCy0vc5ujvD4yRX2m E8mkEqbfxRGI3TY8B3qtQrZYD7P0uRtIRSKQxGaNC2yG7VDjCplyuiba4mrThA251T vFtNWViSiHwRA== Date: Sun, 12 Jul 2026 01:51:48 +0100 From: Jonathan Cameron To: Rodrigo Alencar via B4 Relay Cc: rodrigo.alencar@analog.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-hardening@vger.kernel.org, Lars-Peter Clausen , Michael Hennerich , David Lechner , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Jonathan Corbet , Shuah Khan , Kees Cook , "Gustavo A. R. Silva" Subject: Re: [PATCH v7 03/17] iio: ABI: add parent entry for iio channels Message-ID: <20260712015148.098f0bdb@jic23-huawei> In-Reply-To: <20260707-ad9910-iio-driver-v7-3-a4ec30f63700@analog.com> References: <20260707-ad9910-iio-driver-v7-0-a4ec30f63700@analog.com> <20260707-ad9910-iio-driver-v7-3-a4ec30f63700@analog.com> X-Mailer: Claws Mail 4.4.0 (GTK 3.24.52; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 07 Jul 2026 15:04:24 +0100 Rodrigo Alencar via B4 Relay wrote: > From: Rodrigo Alencar > > Add documentation for a read-only sysfs attribute that allows to expose > parent-child relationships between IIO channels. > > Signed-off-by: Rodrigo Alencar > + > + For example, an IIO device may expose a primary output channel as > + "out_voltage0" together with a set of profile-based or mode-based > + subchannels used to configure or compose the output signal. These > + subchannels may carry common attributes such as frequency, phase, etc. > + They do not represent physical outputs, but rather logical/virtual > + channels grouping configurations that affect the primary output. > + Each subchannel exposes a *_parent attribute reading "out_voltage0", > + allowing userspace to group controls under the output channel they > + belong to rather than treating them as unrelated top-level channels. > + Nice. Thanks for adding that. Jonathan > What: /sys/bus/iio/devices/iio:deviceX/in_phaseY_raw > KernelVersion: 4.18 > Contact: linux-iio@vger.kernel.org >