Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp343283rdh; Tue, 19 Dec 2023 00:00:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IG+1muP0WfxHZzdY21zhqdwxN4fVuPsokKAnO/geuX1dYcNArBZf0arcofgnTit92PU33jZ X-Received: by 2002:a05:620a:640c:b0:77e:fba4:3a11 with SMTP id pz12-20020a05620a640c00b0077efba43a11mr21874322qkn.103.1702972848443; Tue, 19 Dec 2023 00:00:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702972848; cv=none; d=google.com; s=arc-20160816; b=irQx/KBxnIWjGjEVCrg0vRtYUUL2yLyiJi15r861pjcGoknZ33mChb6xBdZR4LPgEw /lsXlxAtfUOX8lpa5jrhV9XC45LI4P7QkN4NVMqjHEXDwxkJcPHh4ynji9/U+4WUuAVp eFkUgo0oRMTtUNm70ckCGMgwBgtvw2oAHD3+547JSMC1QRhwCe1sJuxm/g/Ee+00Jvq0 QM9Qhl3PN8gyaYrxX6TBtEfIidhhOtlxL1C5liQ7Pefxk9DF/3lXuQaGMRhAwmFk4vqV BQ1Uqn/7383Q1ygiEXqh80A+yS9RTs0zVDgy9uYYqDB/ScwD2kXOeiEbc7lzcJ++6twh MT6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=CVhHV60PigEjCnDK8L7hqXTWRo72YmQILb8Sn08yTPk=; fh=DErJ1bgnmdNgbEKK+YsIzhz1CXuKGnMs6oNNW3fG8Ac=; b=R5XfRt3e9Her8XKekfKGjNyRX3DbUdXqqnf2Qox0ozYrSQdjAYkkvUm2125g5d95Xr /PFj/Oy9Rktq2o578pfSGNAMnssDzsd0lYINz1ezbpUdCbtOT7+vxEljHv1I03OoXI2M o9rdUUcQZwJspWA+evTM1MD+TpQG1i8ygWqLhKqqfLOu3kdyHloxwBIOa5xaBnSqfatw SND6P2+89rZjwBNHqoNVD4vXnCnaI+MscrikIeGr0CkcCFo2FUio8fhHsjMAxo8B302D sZzIM21xgddz/3s1A13zC1+oNsaijrGKiFnqQ7rIyHf7VU5XAmm2ciHltWLnOFQXghwr B0rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Wk3uN6J6; spf=pass (google.com: domain of linux-kernel+bounces-4849-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4849-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id g6-20020a05620a40c600b0077dc67bca0csi28517532qko.343.2023.12.19.00.00.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 00:00:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4849-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Wk3uN6J6; spf=pass (google.com: domain of linux-kernel+bounces-4849-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4849-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 004231C23865 for ; Tue, 19 Dec 2023 08:00:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A84FADDCF; Tue, 19 Dec 2023 07:59:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Wk3uN6J6" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) (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 1DBD918626 for ; Tue, 19 Dec 2023 07:59:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-5522ba3f94aso4952973a12.1 for ; Mon, 18 Dec 2023 23:59:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702972753; x=1703577553; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=CVhHV60PigEjCnDK8L7hqXTWRo72YmQILb8Sn08yTPk=; b=Wk3uN6J6wBxD06aO7eOegyTQy7YJgCSAtfCT5gci0QlOoiYIlVQJxU9NrJTIh26ijZ jEHX/XCOj1LIsehKG322wx4yKKks8QzBXVeK+lGT99zESt/91pTeePNBbxn9AwSyMVO7 pZ90CntstUc3qt7xadK99aLa6//HFIkmIikmdOMZZ8jwiIDNKZtga/BgTJZMGDlvm6tk JW6jx98i0AJ+zNg53tpFe7ak05x+uGmABFV9N46RH6nnTVj6CwxZhRVAmu8a8xGegKNZ G0SE1JOZqg9y7MAMsiIlXhrA7pLg4hbOTaFIuNI2ExRuaXm2Niw5/Q0wuB2NDVEI6t4T dIIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702972753; x=1703577553; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CVhHV60PigEjCnDK8L7hqXTWRo72YmQILb8Sn08yTPk=; b=F3JCo4reK9dSaACzFC2Luf1XkTJW3GnjPzQXaT10xJj+5thcsS6Jm47KtbCNpfg5Dr JxCVX6Uwap6uwAmxhgKzRlHUSEx4hzg/LOIgs2q7NwAh+y7tUp9ST18a+qaHh6Omm14S ggAFm/euMmVtzpeQKllWjlKBA5Ahb40Q7i5EBmns6cus2ZJoo0xV45c78yUPiz3rhPXA s8SZIAdniM1fi+VNIPyyp+rY4yDZMqgdUKfb26jy26RP5xJAbMVRpXkztqT8vkjiE8PL HPSkXL741oNR8V7P3bZPdb/wRkFzCDcqNDc1PYotihTgdwXZT6mhhaI/z9Mfu8vqr4IA VKfg== X-Gm-Message-State: AOJu0YweRtrk+9TGoWhSHWhGPa2sgZaD0bLidRXRCEqYYS5UqcI05BKm 4vFs2Qj0yFjPNqTU2Q79por/qA== X-Received: by 2002:a17:907:bb88:b0:a23:329c:342d with SMTP id xo8-20020a170907bb8800b00a23329c342dmr844507ejc.106.1702972753462; Mon, 18 Dec 2023 23:59:13 -0800 (PST) Received: from [192.168.1.20] ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id ot17-20020a170906ccd100b00a235b01886dsm1950149ejb.10.2023.12.18.23.59.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Dec 2023 23:59:12 -0800 (PST) Message-ID: Date: Tue, 19 Dec 2023 08:59:11 +0100 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 v3 1/2] dt-bindings: iio: dac: add MCP4821 Content-Language: en-US To: Anshul Dalal , linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, Jonathan Cameron , devicetree@vger.kernel.org Cc: Conor Dooley , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , linux-kernel-mentees@lists.linuxfoundation.org, Shuah Khan , Conor Dooley References: <20231218164735.787199-1-anshulusr@gmail.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vcmc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vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20231218164735.787199-1-anshulusr@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 18/12/2023 17:47, Anshul Dalal wrote: > Adds support for MCP48xx series of DACs. > > Datasheet: https://ww1.microchip.com/downloads/en/DeviceDoc/22244B.pdf #MCP48x1 > Datasheet: https://ww1.microchip.com/downloads/en/DeviceDoc/20002249B.pdf #MCP48x2 > Reviewed-by: Conor Dooley Drop, you added properties after review! Adding properties after the review invalidates given review. Especially if you add wrong properties. > Signed-off-by: Anshul Dalal > > --- > > Changes for v3: > - Added gpios for ldac and shutdown pins > - Added spi-cpha and spi-cpol for the SPI mode 0 and 3 > > Changes for v2: > - Changed order in device table to numerical > - Made vdd_supply required > - Added 'Reviewed-by: Conor Dooley' > > Previous versions: > v2: https://lore.kernel.org/lkml/20231217180836.584828-1-anshulusr@gmail.com/ > v1: https://lore.kernel.org/lkml/20231117073040.685860-1-anshulusr@gmail.com/ > --- > + > + reg: > + maxItems: 1 > + > + vdd-supply: true > + > + ldac-gpios: > + description: | > + Active Low LDAC (Latch DAC Input) pin used to update the DAC output. > + maxItems: 1 > + > + shdn-gpios: Open gpio-consumer-common.yaml and look at entries there. Best regards, Krzysztof