From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dl1-f42.google.com (mail-dl1-f42.google.com [74.125.82.42]) (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 BFC63332623 for ; Mon, 9 Mar 2026 05:44:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773035094; cv=none; b=eCxsH+kh1scxB2b7cXAUm0gLNJ7Og9RGU33uUj46AL6gWcoMcARC/bI0cWb2gfdT+EfE+KMCD2pqc4hjq0aabFT7LTUL9vSL8xoyEev9fCNayaB3SWX5WEgGE/x91fG2X+JFzG+IpWw5l72NBwwCz3dlFY1iq5itAkqLAi9s0wI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773035094; c=relaxed/simple; bh=hqi/Df1JPDp/BlPm0GTdyjJF+qjIicQyIWh3azQlrf8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=FLu6UsuddlqucznDvXNzGNzzuPORlG43iKi94EhkuHLDDB6nZOruN2YgSrOUGHd6U9mbtOIIC9pR7K4PRhhF5cD+FelpNWmg1963miXfVjq875Qn+sruffACdHdfjRc/4sBcjuBiKoaTOWYZJjRsjHIaol51TCqOQW2dvM2U+Rs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=PH9kTvFY; arc=none smtp.client-ip=74.125.82.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PH9kTvFY" Received: by mail-dl1-f42.google.com with SMTP id a92af1059eb24-12776bebe9fso4362588c88.1 for ; Sun, 08 Mar 2026 22:44:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773035093; x=1773639893; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=Ug9w3Bfo3Ur8mbdFfczjnMxT2pbrXyiERJeMtAuIh8g=; b=PH9kTvFYazGcAHB330To/OeFzVVVoAetzeAqLqtqgO8FTevOSlJFg0vBVgSis1D2qx ei4tNvhFPmh9rlOXr2szTzSoqAD0b7HIcOIrEvL5+ngd6IVklpLZT6rHLnG7PimKZxJ9 WNgr1m+pUKPVhXczgU5mbe5tNGgj5xXXBCyEvkqnAFWkvr0DnL5lcVxj8bcLuaBKAWQj nuRXFxAHJBYhnJ9oofghicqrvnLlnsy7xl+xR5W6CAGNw7Ab3S8+FdKBlMHTEgwLb98/ MWsGRvDGo8vDBF/Va9cyyNDPmbCaaATQfCaHXHHlieVPDqYlbgqs+bSBorjqAbNtezJr wD2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773035093; x=1773639893; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ug9w3Bfo3Ur8mbdFfczjnMxT2pbrXyiERJeMtAuIh8g=; b=skKvrn4XKktoE0/haP4uXUjf4h/4NdRMpfpZKSRxrOaW88Vs4LUrbwfO9msiqno7st ZVhHkq4jBLidehoXBYHICOSiTpPT9N5TgXp5PUIa2V7SBTHgyYgAX2mmzfAwVNVCbuky wsPlTnxH9td1L03TiDGsKvlmX15qPfHjXGmsLfyaojTvasMTR9Om4Cd87FvTJuxh9W3m PfTYyO2e+I9Lw15LDq7QV+11WFgerrQ2ZPXF1broThjt6RHRoZADd2T13kg4ssOE9p6e S2QXmY1tde3nGTlwMXjLP5FANQUAmCUbXiGYeUW7SvvvnVPXhyfAxYDYAjLjz8f+kSF6 oEpA== X-Forwarded-Encrypted: i=1; AJvYcCVqD4O/aHaqX4cCIfsQc0vtiyvpCx5fF76dw/wQjsHSJTWynaemXIAHkauB0mlOSJQtAu+rgOkJkg8=@vger.kernel.org X-Gm-Message-State: AOJu0YzDc+Uh0m3dfcZ+EWsxXo6IZEpwe5LCRNOU241yL17GKSUVoiK8 dE8fY+ppxiv8Fqg2iDigCSt4RODHCjvjB7cPp7kEsAKQVc97SVHkNcE8 X-Gm-Gg: ATEYQzwqkmaRQm1p+PxmlCrbaK52AQ0pXqBPrcuZC6cDXDMWeTGsbImvH37+2DcO+dn 1nhuZMO3y2XIfP5iqbsqcYzn5UiV2uTEGih1FqcU9T7Q+VFGkYyTKS02NBFm3JXTSLbos7fXL8X OCHU5pzubPVuB6L7sh9TD3wlEzrb4md9qLYSOdaQikAxrWD7xzftOVOfccOSTuaWJzMD5E6gj+n 3TctAYRglVtTo++IgJBoj6R3HVa9/lKxDm7mFXSAEKM8U/LUi4pbLPDvClgtAjPumpKnOrrYiA9 F/+GGD2UWXFWffYWzwAf2SYdZyN4VPM9SpNTykBJB5lftE1Drv3icm4mN6tlwTa962+ZjTbswcs oBTFbM+IAZQi/3+QUEFvjUKebLLkzJMzpas7IEDqtA6g/4YnVTHDK77C3FnJUViMOpT4jvOrlC4 n/EW34GQrLHXcG2cIGWfAUzNhb7+s+nOc= X-Received: by 2002:a05:7022:906:b0:127:5cfd:785 with SMTP id a92af1059eb24-128c2d8f553mr4232707c88.4.1773035092704; Sun, 08 Mar 2026 22:44:52 -0700 (PDT) Received: from google.com ([2601:647:5e00:4acd:af9:a43b:9d9e:841c]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-128c3f43593sm8122381c88.9.2026.03.08.22.44.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Mar 2026 22:44:52 -0700 (PDT) Date: Mon, 9 Mar 2026 05:44:48 +0000 From: Dmitry Torokhov To: Val Packett Cc: Jingyuan Liang , Jiri Kosina , Benjamin Tissoires , Jonathan Corbet , Mark Brown , Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-input@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-trace-kernel@vger.kernel.org, devicetree@vger.kernel.org, hbarnor@chromium.org, Dmitry Antipov , Jarrett Schultz Subject: Re: [PATCH 09/12] dt-bindings: input: Document hid-over-spi DT schema Message-ID: References: <20260303-send-upstream-v1-0-1515ba218f3d@chromium.org> <20260303-send-upstream-v1-9-1515ba218f3d@chromium.org> <1cc6de61-8b56-492e-ab78-e3aa448f58ad@packett.cool> Precedence: bulk X-Mailing-List: linux-spi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1cc6de61-8b56-492e-ab78-e3aa448f58ad@packett.cool> On Sat, Mar 07, 2026 at 04:25:44AM -0300, Val Packett wrote: > > On 3/3/26 3:13 AM, Jingyuan Liang wrote: > > Documentation describes the required and optional properties for > > implementing Device Tree for a Microsoft G6 Touch Digitizer that > > supports HID over SPI Protocol 1.0 specification. > > […] > > +properties: > > + compatible: > > + oneOf: > > + - items: > > + - enum: > > + - microsoft,g6-touch-digitizer > > + - const: hid-over-spi > > + - description: Just "hid-over-spi" alone is allowed, but not recommended. > > […] > > +required: > > + - compatible > > + - interrupts > > + - reset-gpios > > Why is reset required? Is it so implausible on some device implementing the > spec there wouldn't be a reset gpio? No, because it is mandated by the spec: "HID SPI peripheral must provide a dedicated reset line, driven by the HOST, which, when toggled (pulled LOW for at least 10ms, normally HIGH), will have the effect of resetting the device. If a HID SPI peripheral is enumerated via ACPI, the device ASL configuration must expose an ACPI FLDR (_RST) method to control this line." The spec also states that the host must initiate reset during initialization of the device. > > > + - vdd-supply > Linux makes up a dummy regulator if DT doesn't provide one, so can > regulators even be required? There is still a supply line to the chip even if it is not exposed to the OS control. So as far as chip is concerned the supply is required. Thanks. -- Dmitry