From patchwork Tue Jan 30 23:37:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Draszik?= X-Patchwork-Id: 194395 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1563649dyb; Tue, 30 Jan 2024 15:38:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IFn2AgMNtaswtmSrV+sJf8hBm6fZZbWDi1fJZe/RAQQN8ra3P0AtJZt5GJBCTw7KIm9xDTY X-Received: by 2002:ae9:e903:0:b0:783:1887:80e6 with SMTP id x3-20020ae9e903000000b00783188780e6mr3073447qkf.35.1706657882778; Tue, 30 Jan 2024 15:38:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706657882; cv=pass; d=google.com; s=arc-20160816; b=zv2IiBI9QIl9ux9ywGlV/MLg9f36n1/vJxt8w/uy+mE1374QcT7PRuzqWCwoc8BDQV CF2pZ9aAwK9/oE3WHclLTIH0mweCkrM36gIDZAQW6/FYy5SCC+s73nYkbkhoTCkBBiSz D5jy/glWBkBhGoC72TWVPwcejKCkxFzOwaZivSG9vmE2Nm1P3dNLbhA27O5UtcYiabAG ddH82u4VFjrGleiMyJuD6EIeSvgGpOzShqVMWlJYEv+65xFUQTqqAVjbPBHSMzI/zd1j ozbvtZn50Ds/88XCVa+GcTUq+hdFfJmmmiE/ToacS+bmcdXKt9S/SeafOfhHvBibdG+p Jtcg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=gsxL/I99xpEvCIDVwY097FiG8G++5DelyKefubwrp9s=; fh=smw/I0EjMgrgN52jU2W4DOONtSdA9gcVXn6lfjhHgdg=; b=qM8Eb73pf9ePgfRROY6mVoiTkgg6/52jmQdEIrghEt/ENtk3HTyPnblKGYTgw0myMO ziG093ZPFo+PTZiEK++GUwJFnRJvRhEBFdmeQay309qCxrrzCU/HpFshN7j8JCFI7Y2t ljkJT5R/lBUtg0mKCUdpgAk8ZDUUhQDJ7eeM0TJXDQOoYEiYn6o8wSRC6el/GI/h+HHY IqD9puSG/tRROxP3zupPM9JbFEkw99tyG0zPw6mvZGDLwbQ1VHqRfFYdXiAaFZsB8j0D TpyBm2VdpuX+uCrbt1uxcJevpo3YIiyjGJ5XbN6jwyrF22c106Yc62wF36c63rjh8UJT XMqQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tMZlGmcD; 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-45488-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45488-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id q10-20020a05620a0d8a00b0078335f7a17esi12008736qkl.581.2024.01.30.15.38.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 15:38:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45488-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tMZlGmcD; 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-45488-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45488-ouuuleilei=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 8FBF71C225E7 for ; Tue, 30 Jan 2024 23:38:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1E7927D41D; Tue, 30 Jan 2024 23:37:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="tMZlGmcD" Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (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 8E88E79957 for ; Tue, 30 Jan 2024 23:37:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706657856; cv=none; b=sRuQgHRkiVcGOMRbF7PRohAekmwHnYikLCHp5gz2M6EdltECPgfRAc7EfRcqmf+Opmzb1r26PX/yuog8pRaR6700/DMhFAbZBBbOfEgjS4YVrskGmwfqKaBlOjUNOhU0o7jpaumP8tvCPPnmhXi92Mg4ukEjVXkKgYgZjqWiEJw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706657856; c=relaxed/simple; bh=1s19bgggjYqjahoc37BYPQjaNkY0EJv/JXA/THdndYc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=Ux1sw4/vTPyP1Rdwh70guGlbE9P7lpGlyTN1tyKdAhTQBgsx1pxVAXikUeSaLRLpmlPjWvzFSzdgCkBiTr8fm0iB8Exv2DoRdzx9wiUUkoBU5BLV2IalVEcKiDun/mXhjwifdDV9K25Ueg6q1YvhZK8EYnrG0gMPV8IMlry6YTs= 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=tMZlGmcD; arc=none smtp.client-ip=209.85.218.41 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-f41.google.com with SMTP id a640c23a62f3a-a34c5ca2537so513022866b.0 for ; Tue, 30 Jan 2024 15:37:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706657853; x=1707262653; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=gsxL/I99xpEvCIDVwY097FiG8G++5DelyKefubwrp9s=; b=tMZlGmcDEvVipqDGLA8Baj+4Fx+MHVV7OYXcTinPrBr/k0MX9ZWMwPRQOwehx67pn/ jHA2pv7mcXWWYc31xN309oWRKS1wcpYRR24OpFmzyVWM0PqXGb3FVxoXLaPX8dU7uGzR vyElFZCUZLo+odsJ7sSjvPFMDb3sBYVt4UuVwm21VrE1EToXIXXQeBmGI9OtfHMhYAPr 5/8v0cBhNhKxqsm6hXjkwvfCjaDI2opyBdpk88EkmjS9Ug61BlriY79RBsnOOA6JOg79 Qw3RWNfPla1+PvTA4cxrvY1gJqMc91fqYkdEWomKNEjAa1OTbtO47zHQB23dn+EwBOAb 8eWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706657853; x=1707262653; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gsxL/I99xpEvCIDVwY097FiG8G++5DelyKefubwrp9s=; b=eHyLOQl+oJ03hRwBhpEmc5Yo8rPiQKrpo7tgUw+G0VrEx+5qde93vm3KJB82aNmW9W Zp49/3EUc+D9gd34wNT5cKiSrQzvBFI2xcHlnC4oc0HNp02Tp6oXRfVDnNg8vniuhqoU SrhaBAhNMlK+fI2//cdiAGQyrtEnX/YEneu8lyO5syPzNqehvWUk68h2S8lVXHX1F0Cf OcYysorOcNSOxedl0pT9A7Kv8zcqX8yj5YXtapHtKlGR4eYGOBc7yBK2KSuuB7sx7xNh NJXa2TDVjV06Uv/CAp8rvvTduVl4SJ9/xuP0o6CgBhwI/FIJ++yM0dY11lqeK+TFx5bg 1tCQ== X-Gm-Message-State: AOJu0YySglwAlchY8s4poo/MgXjGuKAM/QEN0fSMZHDUGZpfwZasL20H QTZP80afIs2rfQNaTDw4eHnOrZxTemw/UzEcF6xjbqZbMLpzNoHl0uOEzbyJaYc= X-Received: by 2002:a17:907:10db:b0:a31:8a51:67df with SMTP id rv27-20020a17090710db00b00a318a5167dfmr7027211ejb.9.1706657852290; Tue, 30 Jan 2024 15:37:32 -0800 (PST) Received: from puffmais.c.googlers.com.com (94.189.141.34.bc.googleusercontent.com. [34.141.189.94]) by smtp.gmail.com with ESMTPSA id hw18-20020a170907a0d200b00a3600d7c2fbsm1676507ejc.176.2024.01.30.15.37.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 15:37:31 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= To: peter.griffin@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@android.com, tudor.ambarus@linaro.org, willmcvicker@google.com, semen.protsenko@linaro.org, alim.akhtar@samsung.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, =?utf-8?q?Andr=C3=A9_Draszik?= Subject: [PATCH] arm64: dts: exynos: gs101: add stable i2c aliases for gs101-oriole Date: Tue, 30 Jan 2024 23:37:00 +0000 Message-ID: <20240130233700.2287442-1-andre.draszik@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789560496180940150 X-GMAIL-MSGID: 1789560496180940150 Now that we have more than i2c interface, add aliases to ensure deterministic bus number assignment. So as to keep compatibility with existing Pixel userspace builds, use the same bus numbers for hsi2c_8 and hsi2c_12 as the downstream drivers with the intention to eventually add all the earlier busses as well. Suggested-by: Will McVicker Signed-off-by: André Draszik Tested-by: Will McVicker --- Note, this patch should only be applied after series "[PATCH v3 0/7] gs101 oriole: peripheral block 1 (peric1) and i2c12 support" https://lore.kernel.org/all/20240129174703.1175426-1-andre.draszik@linaro.org/ --- arch/arm64/boot/dts/exynos/google/gs101-oriole.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts index 6ccade2c8cb4..23314ed78c96 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts +++ b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts @@ -18,6 +18,8 @@ / { compatible = "google,gs101-oriole", "google,gs101"; aliases { + i2c7 = &hsi2c_8; + i2c8 = &hsi2c_12; serial0 = &serial_0; };