Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp549217rdb; Fri, 26 Jan 2024 03:55:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IE02vW9KuUj5n3EcdckBeWWZlJo50FTv4Gkj+EwvL2Yn3I/PybgScwTcECabYJ3iKknAqqO X-Received: by 2002:a17:906:496:b0:a30:de8d:2705 with SMTP id f22-20020a170906049600b00a30de8d2705mr483682eja.39.1706270142628; Fri, 26 Jan 2024 03:55:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706270142; cv=pass; d=google.com; s=arc-20160816; b=B2orhbYHPsGglFRlemEE2N6o52RUevhuCqVgBiK0FD4QluqDoegcVujUMCU+JabYla Xx/Iz3Ew4m1KTlB5oDbDh7ESCb6w3uOKtp0QC0jFrHZ419Kcd2xbYCeftyhZfC/ucB8s tks0PvcdYD8q9Wo/WYpMmtZWDJ9JtBScfwtu10yKJdWFV0645ouHwWbxBx7WTaARvtOZ n3eNo60cfYVi2+qXL7ND/trRYAxyJYg9zUfo11DsxpkFeweVb15s0/1KrjGCF23KJhv/ v58QE2ZWfRVclI6utRMpFbVfnySLs/v94IFa+VWEI2KnvDYlt3oykctBtSKJUhVt7Z4r IGQw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=5YD1avWXiDmKVPhJNDv4Z+Ew3Vz4aGu7X+vQARwJOeU=; fh=3x6H/92LjvDgbYWFNyAben6MbAnkfYYwSK3I30qj9qg=; b=LcyV5/Us1M+nPygWtIAr63SMvNyPJdN+ardHwemrCPryCfy125JXt9TIYGQ0Im6tvP TTsDLjwrvCtNxhnTG4nx1jdRv0x9L+sWTZm/vxwAcGg8ZM8F3StVLBn2cT2ND6OuCsml mc70TCd9w+JG00USw3LT+fo87TUNQ0x4eOmFzYoggRri4yLrIop5hVFN2bWNYspB+bAi f6unSAFKY8DTco99KFEiZFFJ2f+IedLdzHptwuSysyXqtkAApPFpDvFxr9gp99fa6hAN zZIp8mXxpf3xVbakyUknGoGy0YqkqvUp/Yk+fjCQcygnc068llFDgUlUxt73bUd4+wCW SfkA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=bEHO79tw; arc=pass (i=1 spf=pass spfdomain=9elements.com dkim=pass dkdomain=9elements.com dmarc=pass fromdomain=9elements.com); spf=pass (google.com: domain of linux-kernel+bounces-40074-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40074-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=9elements.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id f22-20020a170906049600b00a318bf915b0si505388eja.639.2024.01.26.03.55.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 03:55:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40074-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=bEHO79tw; arc=pass (i=1 spf=pass spfdomain=9elements.com dkim=pass dkdomain=9elements.com dmarc=pass fromdomain=9elements.com); spf=pass (google.com: domain of linux-kernel+bounces-40074-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40074-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=9elements.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 615331F24F5E for ; Fri, 26 Jan 2024 11:55:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1793E1B271; Fri, 26 Jan 2024 11:55:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=9elements.com header.i=@9elements.com header.b="bEHO79tw" Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.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 8FAD61AAAE for ; Fri, 26 Jan 2024 11:55:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706270121; cv=none; b=r//oKAd9ARNlmf0d1T7bUhaCo0QijT0r5v/hgG7MjQVPiHA4SnD6HIjUIvt6C/xxQ+cgDrgJNlordfaiaWg0Op9+uP9MHZ8bvqBdj+BfbZ32b7uQ8FrmVGIxvesMocARANTgXQ7TmRWYrIUNiXAJsGeKKpE2uljNJIb8xQp918k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706270121; c=relaxed/simple; bh=KvDW3oimirzaLZ+3LyQ7tjVmuNkF2WsoEwGt2Ec9I+U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NMKqlAPT93k0K2oQNA6hR8uQNH1mpxHMR9h0KGGEMQn1I8m/r+qsWnGwgW+MTT22TGs9lzFx0E82+yFJrGrHhvQwT6z1PrzGSp+aZjrZE4+wYKlem8Lb+UlO+CRO4MO2v5DCukxBWI1OPFGNvQMpNA88eq330LfNX9btFGfaXHs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=9elements.com; spf=pass smtp.mailfrom=9elements.com; dkim=pass (2048-bit key) header.d=9elements.com header.i=@9elements.com header.b=bEHO79tw; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=9elements.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=9elements.com Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-40ed252edd7so10731955e9.0 for ; Fri, 26 Jan 2024 03:55:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1706270118; x=1706874918; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=5YD1avWXiDmKVPhJNDv4Z+Ew3Vz4aGu7X+vQARwJOeU=; b=bEHO79tw3TzVQ2l67Em3pJ1i2WQahpxukP6KAly1UgAx260fqefLl3M98Da/7ioDNF XWKoB1dzLEVQX8XhRR5Y1ynSUPBqF0+v0ONgwFhf5e1mrEQfFRRSkcjiKxCyacQ0DsS5 PrYP5/pnX2ElLzFAruz0byazQKEU29EEM9PlNDPGTkf+g1zhUlrfiOtR0jVeDZLDyyOW eHLNSNikLwUS2qLA9SflP7LcPdoDTqB4gL4jvLB2CAUwC6yyzZUP8rYR3jNNSmebcC1j ZOlCGl9OO+199o2VGsLo0F/6X1ktu5HxJpeME+CPpZJsXIhFAiYzu62Coln5Az+pxbQi uSzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706270118; x=1706874918; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5YD1avWXiDmKVPhJNDv4Z+Ew3Vz4aGu7X+vQARwJOeU=; b=PuSL56VHhQlg0eeSKJEtaEY7nNVIRoPGDp5sZdgFeuCq9Ldlomzv4qAQpo3YpEKj1L mWlEuX1pRm7RcHUJdHmKSvp5zBGP8fmu6CEon3qeoCKEz4oPoNO5Rjy0MkOq7eL5PTCR fQG7TzmQI4Ru7lSkY1+hJ8fjk2nVujsN7KSGOfVZxHwEYp9aQPCckNhJl6i6YQw9P5Ox BBGszYHnKiytSpXk4/go9LlwWUm/BKJHG1Rtew+RmIkL9t7BfR0YpsgGbVS1wb5UTOfU I0IbG36heS2I8g8pXs+CCq7CUOKcqjD0LE6UtjxpNLVbxKfkFXbMz6EGPChidkXIAFc2 SRiA== X-Gm-Message-State: AOJu0Yzd6s5z+1Meo0e/f/i2wrpbmEGYHLLENZCl4JwCfgJnjCgB0UyX UrCke5QjawL6H8o+vcujhHZwCbo/HTgqvsW3YcG+WWXLCirBcW5njSo3x7puZaM= X-Received: by 2002:a05:600c:3548:b0:40e:d5c7:8355 with SMTP id i8-20020a05600c354800b0040ed5c78355mr466668wmq.131.1706270117801; Fri, 26 Jan 2024 03:55:17 -0800 (PST) Received: from stroh80.sec.9e.network (ip-078-094-000-051.um19.pools.vodafone-ip.de. [78.94.0.51]) by smtp.gmail.com with ESMTPSA id f11-20020a05600c154b00b0040ed434ef66sm3387424wmg.25.2024.01.26.03.55.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 03:55:17 -0800 (PST) From: Naresh Solanki To: Peter Rosin , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: mazziesaccount@gmail.com, Naresh Solanki , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: iio: afe: voltage-divider: Add io-channel-cells Date: Fri, 26 Jan 2024 17:25:08 +0530 Message-ID: <20240126115509.1459425-1-naresh.solanki@9elements.com> X-Mailer: git-send-email 2.42.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add #io-channel-cells expected by driver. i.e., below is the message seen in kernel log: OF: /iio-hwmon: could not get #io-channel-cells for /voltage_divider1 TEST=Run below command & make sure there is no error: make DT_CHECKER_FLAGS=-m dt_binding_check -j1 Signed-off-by: Naresh Solanki --- Documentation/devicetree/bindings/iio/afe/voltage-divider.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/afe/voltage-divider.yaml b/Documentation/devicetree/bindings/iio/afe/voltage-divider.yaml index dddf97b50549..b4b5489ad98e 100644 --- a/Documentation/devicetree/bindings/iio/afe/voltage-divider.yaml +++ b/Documentation/devicetree/bindings/iio/afe/voltage-divider.yaml @@ -39,6 +39,9 @@ properties: description: | Channel node of a voltage io-channel. + '#io-channel-cells': + const: 1 + output-ohms: description: Resistance Rout over which the output voltage is measured. See full-ohms. base-commit: ecb1b8288dc7ccbdcb3b9df005fa1c0e0c0388a7 -- 2.42.0