Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp303179rdb; Mon, 22 Jan 2024 04:57:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IGXthLN+/jWlnQB+7WQWaUQ5+gvyZ7LgZzDzVbHanhUl2w7om2oW6SMLk/bZcTf29Ldw5+4 X-Received: by 2002:a05:6870:8a24:b0:213:f89a:ad37 with SMTP id p36-20020a0568708a2400b00213f89aad37mr4111484oaq.76.1705928238827; Mon, 22 Jan 2024 04:57:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705928238; cv=pass; d=google.com; s=arc-20160816; b=pAiYWyPsgdKRNtfAKw67KK1ybI/Mf36ldNFPlV6ghKveKL/J85E17PFAdxcDR5F7dL AKRRsuCM9wuSFXHUi9FKmmZ7FtZ3sn61B3dXQRI/A3Hlv28D29ra8EJULh6YK3dIBeab Dat+fH9Rq3rykieNqtHrfss1h/aIppM4bc81Ca4WWZ3z6mCu0YR2i4lBjzDsuE3JT1Aw hn4iZEKb2npoxYezG/78s8pYIQIPR03/rX4NoiRmkkGuO8hMatubJ7SrEXgixnXZ8Qd6 bI/Wnzx9a6g4XJw+3sGHKtHPhFYlhQHNWqTGS/cf/i00OONvGb7FBcfJSagWRaFagqrq tA7A== ARC-Message-Signature: i=2; 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=ekfPLQELwtuiCCO7YX+l1adjQj4DFXg4TFgO74oq338=; fh=SzmR7b3dgQKyHbXl5NdfpjGtaErc1Zw1BKNKbo2qzfY=; b=SWGol1H7HOO7liQt8nH3AoejKeSbUdLcIjWewmOPrkAe+j3rQSAndhSAFyDh2m6d0y 8IS5uS5svirVb5IOda+88vYnpLAew6WL9QyIhjmdDJvqDb/e3MPywCCRcAifMp6QOX4j JD5Gu4Bq/pALt0R68fTfHmcH8CvSymZg/zJp0qfrhaKjEjt9AbP8k7imjAvVC268rkIN MK9qeaQNwuzG5LGlEIzvx9yFjZvrp8XyTj5ie370hnM5QRql38Eq25K5gxgPcRw9pv5j WaUsp0K+CVmrrzTne4tW4TkcpP/VbylNh2kzgzkzq9arbM9vbab7GLmIaA3s/unxjF15 bDTQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UzzbiyTr; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-33040-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33040-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id x30-20020a63485e000000b005b95ccd1b4dsi7950255pgk.82.2024.01.22.04.57.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 04:57:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-33040-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UzzbiyTr; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-33040-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33040-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id EE94529724D for ; Mon, 22 Jan 2024 12:45:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 26CBC3CF4C; Mon, 22 Jan 2024 12:40:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="UzzbiyTr" Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (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 C92463A8F9 for ; Mon, 22 Jan 2024 12:40:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705927236; cv=none; b=MDaZuo7TK6hUPCGeEy8PEIamFG7WmOOPJsIEYFo4OC+/K+e6aovaNTFAtrLsXE5gWgKm06D/86GDPE/2HL4BXy7dNhNQgqCrBOQh5VFr9ggP+OJUX9lIi12j7giXBNvKRcPBAVeUg4GKggHc+rAV9VC5jok+s4gJedAdSe1jjWI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705927236; c=relaxed/simple; bh=cgGflAX7Jk/DKD8c1/qHFTxGSFNzXzHgf4fiCny/284=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=DBEgEh1D3oMhU/W1ne/0mLZxmftQ6Q9gAOsXUevJxGWwb1nNVEkBw+VKytdZFtYLQ01opA7hoOkWhYXTaV5tYKWIY08FKe+eDH3uMmfgYaxQGx8kTLCycuzUcdi4f5H/7LFVw5oyhKqzWFYXoVmXlmRSjmpj9QyMsZvDZDkQPBY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=UzzbiyTr; arc=none smtp.client-ip=209.85.167.50 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-lf1-f50.google.com with SMTP id 2adb3069b0e04-50f11e3ba3aso4282653e87.1 for ; Mon, 22 Jan 2024 04:40:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705927232; x=1706532032; 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=ekfPLQELwtuiCCO7YX+l1adjQj4DFXg4TFgO74oq338=; b=UzzbiyTrlyYo3/bdAAOOCb/vO3OSBTrUR3r80QrRhCuBRGhc1bq2WN85g7Ofy6IgF1 svOAZfLTNBwnqj1+rOLz4P7o1XUtlYKtSRzO3NVF5KUUuFUEOpzxoOsJy+Y8SmePXLHH WzMqtAKERgd08T5OJg8kKIjZEWhYzw4wXMrq8vcX00nGa6i94JPkdXuUj0lylinf9JAn rKT/wSc0vwa1zE2dh1hiN/0ZNvR+UI8r8khQdDsvwTV2Xx+9qv3f6cfwAxRps+bkiJ30 nmzXwO2pyvf+lyEyfrT86O2dvKVVRqJH3zgGOUhRSpKwHq50HKy9M1kAop+DGdHiAkVq UnHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705927232; x=1706532032; 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=ekfPLQELwtuiCCO7YX+l1adjQj4DFXg4TFgO74oq338=; b=r3ao56CGoMbv6wz1kH/5Aazmbx4fpzpCZeb84vUDGgtPZ3wvRmY25HZxFsevZBn3li 1qT2NfwyhGMV04ve8Zkxi513Q3njhSyaJZpEhoDUHyWiGgPXWezDTpHQtCgQHf4+ZPtP /ZgDCW66Y0Cl0+I8Fwv2hG/iQbuyzEwAxHawtxAUW0chc/eqLIxJucsDyyGcZL64ooIe aJ82vbfp0DUJL+SjNzMSmG05/vQMZEp6iOHtOobadh0h7UfurWtl4Xgq91voxy3JG/xr V87zhwaX2EJdoiO7S32/0VTexK6O5ZUcypSmT3qPPpdvyxjnzJW3SAycGQFroJFwNHDF 7IgQ== X-Gm-Message-State: AOJu0YwYYBM7Ox/9kZNoI+nKj43y4H1qFVyhf78rF0AduyO8csxNv8G/ 7UavQgjcWYVP5eq0G9S9DyGrXJov655ISOSk4N/mD6wKXsXp/TSRhKDBuRpLPv0= X-Received: by 2002:a05:6512:31c3:b0:50e:7c08:1a55 with SMTP id j3-20020a05651231c300b0050e7c081a55mr2005478lfe.18.1705927231862; Mon, 22 Jan 2024 04:40:31 -0800 (PST) Received: from [192.168.1.20] ([178.197.215.66]) by smtp.gmail.com with ESMTPSA id a18-20020a195f52000000b0050e70ebbaa4sm2037137lfj.186.2024.01.22.04.40.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Jan 2024 04:40:31 -0800 (PST) Message-ID: <2e34faa9-a0ca-49f6-a268-1c01c31b041c@linaro.org> Date: Mon, 22 Jan 2024 13:40:28 +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 1/2] dt-bindings: gpio: add adg1414 Content-Language: en-US To: Kim Seer Paller , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley References: <20240121103505.26475-1-kimseer.paller@analog.com> <20240121103505.26475-2-kimseer.paller@analog.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+wsGUBBMBCgA+FiEE m9B+DgxR+NWWd7dUG5NDfTtBYpsFAmI+BxMCGwMFCRRfreEFCwkIBwIGFQoJCAsCBBYCAwEC HgECF4AACgkQG5NDfTtBYptgbhAAjAGunRoOTduBeC7V6GGOQMYIT5n3OuDSzG1oZyM4kyvO Xeodv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analog.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 21/01/2024 11:35, Kim Seer Paller wrote: > The ADG1414 is a 9.5 Ω RON ±15 V/+12 V/±5 V iCMOS Serially-Controlled > Octal SPST Switches > > Signed-off-by: Kim Seer Paller > --- > .../bindings/gpio/gpio-adg1414.yaml | 66 +++++++++++++++++++ > MAINTAINERS | 6 ++ > 2 files changed, 72 insertions(+) > create mode 100644 Documentation/devicetree/bindings/gpio/gpio-adg1414.yaml > > diff --git a/Documentation/devicetree/bindings/gpio/gpio-adg1414.yaml b/Documentation/devicetree/bindings/gpio/gpio-adg1414.yaml > new file mode 100644 > index 000000000..24a51e79f > --- /dev/null > +++ b/Documentation/devicetree/bindings/gpio/gpio-adg1414.yaml Filename like compatible. > @@ -0,0 +1,66 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/gpio/gpio-adg1414.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: ADG1414 SPST Switch Driver "Driver" as Linux driver or some hardware driver? > + > +maintainers: > + - Kim Seer Paller > + > +description: > + The ADG1414 is a 9.5 Ω RON ±15 V/+12 V/±5 V iCMOS serially-controlled > + octal SPST switches. > + > +properties: > + compatible: > + enum: > + - adi,adg1414 > + > + reg: > + maxItems: 1 > + > + gpio-controller: true > + > + '#gpio-cells': > + const: 2 > + > + spi-cpha: true > + > + reset-gpios: > + description: GPIO specifier that resets the device. Drop description, it's obvious. You could instead say something useful, like name of pin. > + maxItems: 1 > + > + '#daisy-chained-devices': > + description: The number of daisy-chained devices. > + default: 1 > + minimum: 1 > + maximum: 4 This needs to be added to dtschema or at least its type should be here. > + > +required: > + - compatible > + - reg > + - spi-cpha > + > +allOf: > + - $ref: /schemas/spi/spi-peripheral-props.yaml# > + > +unevaluatedProperties: false > + Best regards, Krzysztof