Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1011710rdb; Fri, 16 Feb 2024 02:33:40 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW4AcbJxDYp00s4I9JJxk8L4PK1Hq1KLuto4GFZOjMZFFrS47XW9O3y4/v7CsCCivzhNrxIaNqa+wMCpLFus3bBkpnuQPM0mKByrzuGoA== X-Google-Smtp-Source: AGHT+IH+G2tk40rhfrRPel+3XJFJ56kVv6Lnua2BqFmRURXX+TMVcWNzdx8FuZK3PPB/bfm3djw9 X-Received: by 2002:a25:4d45:0:b0:dcc:1f6a:d755 with SMTP id a66-20020a254d45000000b00dcc1f6ad755mr3753514ybb.39.1708079620243; Fri, 16 Feb 2024 02:33:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708079620; cv=pass; d=google.com; s=arc-20160816; b=Xqk7HnO5uSZanKFBl1T1kMmOm9RmXbLewXnoH+pI2xzb4HA3bhK7Hgo0DikE8Ret+6 Ha0JwWYEd+AcThMeNmB+WUhWGLBcwhipnecdT5yMkn0J92fMAS3ymJvchk4ynS0bjkgB LKf5i84SyO2CaMs9zuaQ0qQ+Ci6rxeGT3FP0X3vFnVSxy1ow1PYVlI1/KwgsJrK6iCXt Fq+mqLMaOb4uVQDjvL5y6KiwbLY62CWGPmTPkkx8g4ln2gH7FOpKj+6/yYIV/2vGrKGU qD4taRlVyMqWNEj3HWtUT2G9fqKIksaYj6h/WEEg2COQkdawSMwhCKcNeg8pUpDT+gy5 w2eA== 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=mMB5YhLwV+bPXVhP9q0xmbnU7mdwnTyrNaTcUxNZueM=; fh=pXCiaw5zFdkcI0tA+S4pbAn/mwjC3i4Op9abI0PlNDk=; b=SJ6ax1wTI1pwBUvU3OUk+x8Dx6ycM9VbhBbvtGN46KCHDQ+bda8GYm99urnB7Z1p3V PfCca72jsSOnKcY8VYvftuKG6LGAKeaduEEfwQFnHbMeTFNLgF00wy5DQHnLXhQQMgk+ p0BJ4RoLMizuOBZWew+J2wJJfNqV2EsInHvOgAcHrDTlJkOp6DvLtcJrlp4vEKUaEJYy MrZkb0pke06rrTYWNV/9t/nUgJ/Xxd3HuyvjZ84FZij/OrFw3S4SOrOp1xYXYwWf9ONQ 1FYyZqu++PEI0eTk2KdU7bh3qfGxBzHJWFj/Z+LPmSsGJer+yKglkZxLcMwt3nwjTvR1 pZMg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=riCumzGV; 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-68451-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68451-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 vw21-20020a05620a565500b00785d4e586fdsi3553197qkn.399.2024.02.16.02.33.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 02:33:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68451-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=riCumzGV; 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-68451-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68451-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 EB9401C208CF for ; Fri, 16 Feb 2024 10:33:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3979652F85; Fri, 16 Feb 2024 10:33:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="riCumzGV" Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (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 4D64E51C2E for ; Fri, 16 Feb 2024 10:33:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708079587; cv=none; b=Z8/W58mdY5dBiQGJH//t2U5284d5QtEBcpGTNDQVjjRV32tJBs/maLnUhTTNWAxkj/+kv2Uv7ecMMKtNOV7c/usm6sp3aN5fP8woYZdNG95F3o4mva3jW7owJrmFXQWxDXzXJJ/4CBr7XBBQboJD/o++RIi/7ftH7gtDfSw9h64= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708079587; c=relaxed/simple; bh=v3WMpPSpGKUFaBbKKqTFJuKj9lAE+BLYnJtaKvj+EM0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=LBOTe2JnrHFGoT/o0d+iZuo4tJ8/hvuW/GK48zTG8JVJvw9XFGPiIDnwTpE8Z/e/NU4vrDlU7dYAr8Lr8fUXTgggotZJib4ZtW49VnT/oIY9ME+RcsKzJPnLYT6+OLSecbeZlSykRhJs9EshIeWXqr4khQ3P6+8sFfaPMwYEsEs= 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=riCumzGV; arc=none smtp.client-ip=209.85.218.47 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-ej1-f47.google.com with SMTP id a640c23a62f3a-a30f7c9574eso248482866b.0 for ; Fri, 16 Feb 2024 02:33:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708079583; x=1708684383; 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=mMB5YhLwV+bPXVhP9q0xmbnU7mdwnTyrNaTcUxNZueM=; b=riCumzGVD4IRRqiEQNgou/vYuYQwnHCpOlcd3Y6cPZGb1PXlPE5ltkbsZF323fkrqj QLG5V8kHz5yzMHK3VSw1PpjlRlGsN2hrZAhrofTGV1OiUzHcEBtiIYCQ5MDDDgb5eg59 UxYEYmlx//lf3DTPnDtUbjdrIpJkG1bZh0PWMlM0fvxPpmqyLcvKFRjSOKerhTuruQWO rx9l8Ss32kQn14LuU6iGXL8rQuwI1xquRfXxYYdwy21Gv4+5AtFRZOr+i7vVbh3bB0cy 4YXTYZ1pubcQhSVLFuFDCM285n3jnUdFGiHhy5ehNSXVRRXarsf41/+9WgiQ8edtRvD0 CHYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708079583; x=1708684383; 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=mMB5YhLwV+bPXVhP9q0xmbnU7mdwnTyrNaTcUxNZueM=; b=bP3RrGlebzZSG/UfPSBqtSYy2m/HaZYWpRS2hwTtnmKO05HrbFhaxXKFg8nPqCtkdK 0Pt6J23BA/+MpkWGPh0qpCz9FLFbWPVhi4exID3QzI6FHP5ANgfalEZaFgq324GgbWje wtHn2iZcq9HRUhCZlYGhWMtrOfTgWlTENnm8zFr+D74HvUO5d7O2GqefTJ4ZKvAXnYp3 Px6u4y84XnNumGVERPIOhWVcvrcoyMV4fYBDcwPELF5I4BI6u8GiO2Q3Aq34EiNf278T TqfgFGVp9ATgumf0lBsuTIFuA1AfM7GC5bG8JHujNpohEiFpj+NNk+yjNEnWQhp6V9I+ 86ng== X-Forwarded-Encrypted: i=1; AJvYcCUiWik/WXYOcSYYaK2DLHkwaJ1+SjodI2ZD2rJrLeLxzSVW2OdK6mSomaUzXH1Ju3mK83d8JhFNWVGhrbuE5Tv6AEC9rqnivKHHwa56 X-Gm-Message-State: AOJu0Yz1feBsgbS7wf0qjbbludDLRLpDsbZvNQgJOVRTxuJR8Br+6MrG /OC/G7xvxJMLUVQCRiAlv30nFs110byP0cNn0x3ycmPfzYriP/q36UJVJhgpBx4= X-Received: by 2002:a17:906:b0d9:b0:a3c:f048:c9eb with SMTP id bk25-20020a170906b0d900b00a3cf048c9ebmr3143374ejb.12.1708079583321; Fri, 16 Feb 2024 02:33:03 -0800 (PST) Received: from [192.168.0.22] ([78.10.207.130]) by smtp.gmail.com with ESMTPSA id th8-20020a1709078e0800b00a3d120e311asm1408814ejc.117.2024.02.16.02.33.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Feb 2024 02:33:02 -0800 (PST) Message-ID: <6effca50-29a4-43b9-86eb-310bd4e08e5c@linaro.org> Date: Fri, 16 Feb 2024 11:33:01 +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 02/13] dt-bindings: i2c: nomadik: add mobileye,eyeq5-i2c bindings and example Content-Language: en-US To: =?UTF-8?Q?Th=C3=A9o_Lebrun?= , Rob Herring Cc: Linus Walleij , Andi Shyti , Krzysztof Kozlowski , Conor Dooley , Thomas Bogendoerfer , linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Gregory Clement , Vladimir Kondratiev , Thomas Petazzoni , Tawfik Bayouk References: <20240215-mbly-i2c-v1-0-19a336e91dca@bootlin.com> <20240215-mbly-i2c-v1-2-19a336e91dca@bootlin.com> <20240216022227.GA850600-robh@kernel.org> 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+2RgQDRnmmjCjoQNbFrJvJkFHlPeHae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juXhcwM qf3lzsm02y7Ooq+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 16/02/2024 11:18, Théo Lebrun wrote: > >>> + mobileye,id: >>> + $ref: /schemas/types.yaml#/definitions/uint32 >>> + description: Platform-wide controller ID (integer starting from zero). >> >> instance indexes are a NAK. You can use i2cN aliases if you must. >> >> Why do you need it? To access OLB? If so, add cell args to the OLB >> phandle instead. > > Why we do what we do: I2C controller must write a 2 bit value depending > on the bus speed. All I2C controllers write into the same register. Which register? Your devices do not share IO address space. > Index is used to compute the shift. > > mobileye,olb is a phandle to a syscon. I'll be using i2cN aliases I > guess. > > Thanks, > > -- > Théo Lebrun, Bootlin > Embedded Linux and Kernel engineering > https://bootlin.com Best regards, Krzysztof