From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CB66223D7EC for ; Sat, 22 Nov 2025 16:17:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763828268; cv=none; b=skA7EySg5inHy9XfgCxe5hxs6Sypv6LRUzyzvfhvLCjmc+8nO1EUM1p4y32zfParo2ZbFLSqS1P+NA8WEu7JtqlQkMKNfuft/wH6ULwGr1gE/mhkMflBTuGPBm1PAb29ratTHbnF7a38iZyjIdtoclmi52p3z0ddC8+g5/oS958= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763828268; c=relaxed/simple; bh=lD9qw3+1a2fCxGBU3gwPJvHWcZKfYC2qwL6ybCaX3Fc=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=GGSVEeMbBT2YZKeh8SN808C5wZFv4qf6naEdXKjkk2D5YW+KAdBk9E4+fQtOU1SmeKWpbNXImaUeMGnF7bEmil/OiuRoAMkYi32qjm7HZ26iqMybLr+G1cfQeGXupBTnOA4V5cWvdxE2F+Al1YqtqOcQpDAwCzExudbBRjfpKaQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=XA/BJ3xn; arc=none smtp.client-ip=209.85.210.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="XA/BJ3xn" Received: by mail-ot1-f51.google.com with SMTP id 46e09a7af769-7c75a5cb752so1766983a34.2 for ; Sat, 22 Nov 2025 08:17:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1763828266; x=1764433066; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=dW4WI4aGenKIk+vJ5jzi4PBdSmIWJZ8GDl4yIS/elNc=; b=XA/BJ3xnl/myhIa2tEWRSWxwMOEpXYMDu1LOw6G8uMJuU8eWNDs2N3kHMmpfCd1bMZ ZInj8mMr9cyi9q9SMAkcqjKTwxyMIizncnA04Ti+dVF7SNjrIKqrNpHjIM9OGSPHXRhL IVoiRu7ZvIMFfELdaHDNTw0OTeRArnuEerpx8ics1QDE5cBJUE9FMMB/jlpQnxJBpZBt 3tnqX9JUybWffUXSMdu7FrArtUc4GEE/apeCuM+IcQwLhTqyBuoUvIt5V1A7AxnezdVZ maf5zwjc6D35zYIrTjV8r4wdUWXziif500v2SYv1bsAvmi2pTtKC8hgaVsqQ3UOvMzT6 vZ2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763828266; x=1764433066; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dW4WI4aGenKIk+vJ5jzi4PBdSmIWJZ8GDl4yIS/elNc=; b=wkZuj5SJ6QzP507/Jawfzv/LEX85HC3Gb0TyeOAy3fcYb324Zcf0xQUdUPLOddLaQK WZw/MpRIHB+fMMZllXSqDyI9WfvrglWx5UCHl+9tTQFbKH0dYiO4ZNqkRur2erHFcRzr AEdfoCHI4i7aFpVajjRjO2gEaY63brnJwfhdHh1pVwUOzp+tmsG3WLokFGpudPulgH5a t4fb6ml5SE5I/0l/PZRpGHidFzHZG/VL/a5rXrU3gLD7Who0jHRfxr6jL/VbkyR7emOd HOg/5aFn2oK67LDGXaRQOny0yMiIOuNFpv6TOkr2KDnd0ShILkPmiaLZDiZFGMVGzDMB H0QQ== X-Forwarded-Encrypted: i=1; AJvYcCUBx0ikBsNt5UgaAnVxQWS/dZttWGVv0GNL2b+4CxKGh13Jnf5kc6+lVU1ekXIuyJFVESqa5qY85C7PDRA=@vger.kernel.org X-Gm-Message-State: AOJu0YylwK3OTzmdFL9fkAf7yUDlQINJAzGYFLHbh2zYEG1ctj0qA+/i /MwJt88cnlQWG710UqLthxRZZAU0gMrUmCW5UHI2IEREtwNM5L5r4zPaLqZlPGFmpcnreMphMJb NrbSb X-Gm-Gg: ASbGnctAW1SAMtk28yVaPjlJUN/RHf/HrL7NT2UyjBrw2KZgtzKtSLSeiwEnhL7ihw/ O+haCtTYm+wNSo6dCBpFXa0jnwdvFc0BaD5GmsAeCaffzyynnIjS/k7DmPH5JDEb6wRBleRkx5h QwMFomzLw+t1uS2BHL/SBEHmSb4po40NYOvy0mk0JTUjmTa7MFcgbANXAw/FMRerwYrkLyjgodF wl1UNIMVykXu3ZkOVsXwhBpJ1X0x/S3emsh9koIH3EUHVtQxgr0PYkOgRXZEqhohdLe6bP7eful A30h+Vwkeli3KxAw46isa+jrh+fWyp/GGHs2M/NGFDRcOD3nlTL+87RuCtYUISqB2osWkITJhPg KddZe3pah77k5YNg/rdQyfUVhPvsv558Jh6j9uKC7Zx/pSNptv+1J0XYK+GQZUZXCOMee3NQpue hJu9BXjHPIdqU1cfUo/+rD6aZ1tyP8RurOhOlDsGRl/hS/YwOUGnAtnzPpfNEXoC2JPhq/wp0= X-Google-Smtp-Source: AGHT+IFti6Ssxoxl9NGiyka2llGTdisHj8XfjS9EhnJKtMTFuf2G5Pwk4x+RwXnK9OMFRROfrbn9pg== X-Received: by 2002:a05:6830:4107:b0:7c7:6558:277a with SMTP id 46e09a7af769-7c798bff0d0mr2805281a34.15.1763828265880; Sat, 22 Nov 2025 08:17:45 -0800 (PST) Received: from ?IPV6:2600:8803:e7e4:500:e782:93d8:7c2f:f9df? ([2600:8803:e7e4:500:e782:93d8:7c2f:f9df]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7c78d428edfsm3562699a34.31.2025.11.22.08.17.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 22 Nov 2025 08:17:45 -0800 (PST) Message-ID: <7db1158c-c29c-4788-a3d2-b9e7b1042708@baylibre.com> Date: Sat, 22 Nov 2025 10:17:44 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 1/2] dt-bindings: iio: amplifiers: add adl8113 To: Antoniu Miclaus , jic23@kernel.org, robh@kernel.org, conor+dt@kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20251121095204.18574-1-antoniu.miclaus@analog.com> <20251121095204.18574-2-antoniu.miclaus@analog.com> Content-Language: en-US From: David Lechner In-Reply-To: <20251121095204.18574-2-antoniu.miclaus@analog.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 11/21/25 3:52 AM, Antoniu Miclaus wrote: > Add devicetree bindings for adl8113. > > Signed-off-by: Antoniu Miclaus > --- > ... > + adi,external-bypass-a-gain-db: Hmm... are we sure we will never need a non-integer value? Maybe we should add "-microdb$" to dtschema? https://github.com/devicetree-org/dt-schema/blob/7033eb7cec1abe55f496309f0f6f271524f5d612/dtschema/schemas/property-units.yaml#L52 > + description: > + Gain in dB of external amplifier connected to bypass path A (OUT_A/IN_A). > + When specified, this gain value becomes selectable via the hardwaregain > + attribute and automatically routes through the external A path. The dt-bindings should not specify how the driver should operate. We can leave out the last sentence. We could say though that when omitted it means nothing is connected.