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: 13538364 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 80F15C47DDB for ; Tue, 30 Jan 2024 23:37:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=dTw5kRjsmRDBlcSVOr4slaMrL8lPAOHzho+WR+3wET0=; b=YElj7U2Ycb2SEK FHhA1a6XorsFyguAufI/LsGsli7kFxzLGyvw18Lrvyw3sUsy/p+dQ7rTZW+cDmRpO2bCmcVzZxnxB sNfGhsDCNKhyQBC/F3lY4XJgo1vJdef5bkjp5VMsCdM4SqDJWKmc4PpPJclyxnPYXtgxEUyTWfXNg B7yYF7kElYCtGp/gkg88D+53lylEjobLubLYtsJ1xAiAjwpVvJjs9D+15Np7hJSoFxFdEjotBURKJ WNzIWtwzi4o7exX0jOj/kMHo+2a6P9juI0Na5JbfXt/d7UJ37XOeVzE2FBUQu/OZmjr8tgfmGYdfc lOeBVS3tQUpKeHxti19w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUxfd-00000000vRK-2Nzo; Tue, 30 Jan 2024 23:37:37 +0000 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUxfa-00000000vQ5-3Fx5 for linux-arm-kernel@lists.infradead.org; Tue, 30 Jan 2024 23:37:36 +0000 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-a36597a3104so54210666b.2 for ; Tue, 30 Jan 2024 15:37:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706657853; x=1707262653; darn=lists.infradead.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=jBye5xa/+KWWoiwbx1PF/ylELzBXGwFVbN5aQGpoMruFLQXVVNvqaaVHjrX58rvNX0 ALG/w7FvMXqt17dsKy6X7W+7A4mv7mvPb1gyaV09rUNQqHev34MHxhvSdd24JZGSHnzf kPcj88qZkppBtWCTGv6x7/Zkh7bzEXLrVkr4b0YQ7TJE5SPUmtjQisYNbtF5JL5mw5q3 oKXAq5z1bfzpj1htzpetHLooorkQFB5JJfhxaxnh+cACPNYZMv7GFzGjhntNBbU3RAY/ LNYBDT/hOBX51RRWpVrwp59+uRTNbs6MgRFMZOYo1ifrxNx4Vs0tQltfVevfdEFve3Yk 0A0g== 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=FFkS0DHsY1tQz2rZ7uXQIO3bxnSrHzj9fjf8AYHRZKxnW8hNzjGyqPgvY94l6PUq3Y J8BquaSwbbe5dTTITczxbcwVBGgpjLg0q9bR/P4+Ikpoiy8AeKw3I/TP7iENG2qPD6WU vY0UAHWVKJzUWmiywriK172Rt/qxP6D8kNNWykTFfaTZWvvNk3ZaNaaSc1F8T3aYcZOW u4ZfLym2YcD8sBTu5HwJFhFVA2FQcKwxJDbUgPANzFf8r57XLpJxgR2RfQLt/50Fm6Ph UVhhkNTcE3wnneOb3eWi/JBiVJ4P5+fsIXrI83iu9y7UirWYh8ERuTCpNV72mnz89q9/ VWGA== X-Gm-Message-State: AOJu0YyZwhOz52q3dWWhNcZzWOOckIB5eEIB4iamK54J8SGc2DHew4QX GmBpKvtNn92DUVJ29S8iuOMyb3r97xOiY/khSBaEqwkdmRTD0+F9ENigVs0tKfA= X-Google-Smtp-Source: AGHT+IExlGe+3KAgx9wd47PjYqPJmrXUI3Bi+ipxi1Or9XP82qWolc5r13mu2jTYPFQBAHAN37+EiA== 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 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240130_153734_842036_C7644687 X-CRM114-Status: GOOD ( 11.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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; };