Received: by 2002:a05:7412:8d11:b0:fa:4934:9f with SMTP id bj17csp619026rdb; Mon, 15 Jan 2024 08:04:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IFuR90AiiTpBVrLWLMHFvkFe5R2c/CCItoem+IYvVE9BT8bnIM3W6RE0RSMXsZ3JRSnmd6f X-Received: by 2002:aa7:99c4:0:b0:6d9:8ae1:7186 with SMTP id v4-20020aa799c4000000b006d98ae17186mr3045352pfi.68.1705334642112; Mon, 15 Jan 2024 08:04:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705334642; cv=none; d=google.com; s=arc-20160816; b=QKAUWLLGAlJjnkp1Q9UMiUlRx4yo69UMCezkl4jS/YDcHfSMwltx4lMk1un7N2T5Ti uTMdmGLP+g4E5uYKlVNa1rQKfl1LHRJrNw/zxQXZbwRUEl5q2rfxiTpsEW6b5awOIcqJ TBM72rWHZPSbXJBXqUDki8F5DkiwFc44uL7tmmC0HvCkwH9u4NLFcPV/W9ZL/0opUTv8 cINkYMkcRkOcjrmNeFYUMeOhsIL2fG1XwsPg+hzECB/hMagkwc0nzLyOdAQ+HUOD9q0N rtnskkViBBwwuWmhRhPsuTGHXKaVLlOnvRY510nNVxpHBfo0655xMOtkHERSdBUZxdfr N9+g== 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=zK5ZlZIsbkA8bSGYvP65mCyUL8AXb+1aICzPu5IaoPU=; fh=d6LHMwvBf+5zd+imdSyp/TaMwT00wwZL0lmUE70Ixf0=; b=f7NG96VG/D4dgmyg/svzWe9ncP/A4d/ZsfJeFdi5RSKYGqFZzOJB5v18xAXFxPcFOr fyQJUaX+/sZbLtZl7b/STDo5+mbTLIf6iGEPg+sfp6WgJeCZOoypSMPcY4thk6IfKRdW BGFhotItGt8nE1pynqTaEbQ3TZYgKfTFvOAk9bBrfRdJIn+IgzhgvE5K8VlKVdR/OuhW Do91fveWtrEiD/dPAq6def/hE/ohHAjKmyO8DZ+wRM5tz4Ps1H/Vl0TWTRYsBG6ObEMF 5CVVefHeIaP3OtKAfpEYjLvqdSMNKTOTa+uNt7NnTfjAQUI/4HQ9E5HlcyvFGDcqBQQn CvIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dQzxKctH; spf=pass (google.com: domain of linux-kernel+bounces-26212-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26212-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id cb8-20020a056a02070800b005c668a5a906si9515871pgb.282.2024.01.15.08.04.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 08:04:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-26212-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dQzxKctH; spf=pass (google.com: domain of linux-kernel+bounces-26212-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26212-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 9419EB218DD for ; Mon, 15 Jan 2024 16:03:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7741C179A4; Mon, 15 Jan 2024 16:03:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="dQzxKctH" Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.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 D01BA175AE for ; Mon, 15 Jan 2024 16:03:46 +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-lf1-f51.google.com with SMTP id 2adb3069b0e04-50e7c6f0487so10112957e87.3 for ; Mon, 15 Jan 2024 08:03:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705334625; x=1705939425; 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=zK5ZlZIsbkA8bSGYvP65mCyUL8AXb+1aICzPu5IaoPU=; b=dQzxKctHSUSPLhN/x6O8tcKdnrcdYLUHXLt9xYR6zBB/cadTznwLYdHCUyN3LSIT7n t/ONBAlITN6Nf2TVLJ8UoPTT1bhvZBDKz+5AtYJsXf9Wxby3PcUZnf4zJGvZ1CLxWgoc 4mgwyhNdWSv+YS00trq62Lzq7Am877Nmys/P34nI/XXC2d6nmoB+ZdAaw0d2I05bnvpe EoOygc35WqmPhYIqHtBLC1Hul9H6tlWpTGnydg7/vNKiUNee/iK2z70Qy1xfIsl1WQ4q ZbVd7bqD3H3moJE/BG7MRP2oCbGpa0N1kDCOon1Ly0A++TpOq4Ac6b9IgakUB8ib5HDe LvvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705334625; x=1705939425; 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=zK5ZlZIsbkA8bSGYvP65mCyUL8AXb+1aICzPu5IaoPU=; b=v0OJYUB0mZ07UqBQBZLCWF66xiY7fEz2U1NWKjDZno8Uyt/CX8kWF0XpOsAgEWv9ji uLuUfzMC5D/66y0bcyTyEWeoZZCmLBV5i3+6wmnT1+mKOEjUcM/f+dVA6ab/lZ6U8WCw 4N6f42CyabEIP6erA+f1xhVVCRbzgAF6+XRF/W+sKXX1oeNj7AWVyY1NOesDNMUa/kqK f+QC/wyj88RjspyZ7+f3MDgy1v+KjgCz/a2+b3UZvjGytO9Ru0uLUysbPWI80WMXs9Ma R/GGqjsl6uc9L6KfOt4M0SQTtEYmJ+xxQozAqjPxNftAfKWL0dXUWR45ApIT5kD+kCvn sEHw== X-Gm-Message-State: AOJu0Yw81f+hUgovDOhUZzIgJSDx9c9G7xltMr5LmUk9zmqwWZXOcwbL 721/Aow9ucNhy9rwH15nkJdAbGkhjX7ooQ== X-Received: by 2002:ac2:5feb:0:b0:50e:dcb9:8b03 with SMTP id s11-20020ac25feb000000b0050edcb98b03mr1516463lfg.196.1705334624867; Mon, 15 Jan 2024 08:03:44 -0800 (PST) Received: from [192.168.1.20] ([178.197.215.66]) by smtp.gmail.com with ESMTPSA id vs7-20020a170907a58700b00a2caa85c0c1sm4520714ejc.30.2024.01.15.08.03.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 15 Jan 2024 08:03:44 -0800 (PST) Message-ID: <435f502c-1e1b-4d40-8dcc-34487905d69c@linaro.org> Date: Mon, 15 Jan 2024 17:03:42 +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 2/3] ASoC: dt-bindings: xmos,xvf3500: add bindings for XMOS XVF3500 Content-Language: en-US To: Javier Carrasco , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Cc: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org References: <20240115-feature-xvf3500_driver-v1-0-ed9cfb48bb85@wolfvision.net> <20240115-feature-xvf3500_driver-v1-2-ed9cfb48bb85@wolfvision.net> <333c2986-c7c2-4a46-90cf-b59ae206e55a@linaro.org> <96abddcc-fa65-4f27-84fe-2281fe0fcf1c@wolfvision.net> <644f7f02-405d-47fb-bc72-4d54e897255f@linaro.org> <5db4b898-93d5-446f-bfed-b57847f9967a@wolfvision.net> 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+48gy12FA5GduRLhQ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hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <5db4b898-93d5-446f-bfed-b57847f9967a@wolfvision.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 15/01/2024 16:59, Javier Carrasco wrote: >>> The voice data and any other information can be retrieved directly via >>> USB from userspace. Once in normal operation, the device acts as a >>> regular "onboard" USB device and the driver does not need to do any >>> further management. >> >> So is this an USB device? If yes, then shouldn't be just auto-discovered >> and you add here some bindings for other device? This looks like coding >> power sequence not in USB node, but in some other, new node. >> >> Best regards, >> Krzysztof >> > It is an USB device that requires two power supplies and a reset to > boot. Afterwards it is auto-discovered and functions normally as a > regular USB device. In that sense it works like the onboard USB HUBs: > > https://github.com/torvalds/linux/blob/master/drivers/usb/misc/onboard_usb_hub.c > > The onboard USB HUB driver is of course more complex because it has to > support other features, but the idea of enabling the power supplies and > toggling the reset signal is essentially the same. > Yeah, about that... so this is not really correct device representation for DT. There is no such device as XVF3500 outside of USB bus. There is XVF3500 but on USB bus and this should be there. In the past we allowed such root-level devices just because we did not have other way to handle them. Now we have. Best regards, Krzysztof