Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6515167rdb; Fri, 15 Dec 2023 00:07:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IGpryHgrFWmzjdQ59317VOe+W67daiZwnWSbrRQVaNWFbpsThCgoYuQ6am+WXuNZklI1Fwl X-Received: by 2002:a05:6358:249b:b0:16f:f2e5:a76a with SMTP id m27-20020a056358249b00b0016ff2e5a76amr16744035rwc.16.1702627679475; Fri, 15 Dec 2023 00:07:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702627679; cv=none; d=google.com; s=arc-20160816; b=zJm6n+3VvdQpYk/teBEYKoS+2NLaXV0tfWBX4F8hGzetE6/5sn5gKwk3WjuiWgeHla wdso7yz4+5GqJ/RqZeK4E1UhA611ojuibFWj2seBATGTfvquy5QnXSPccSd5Gr8RM5qJ /OtVJ1qh5wtEtpxJ8YX9vtNKIJNbX9Mvsz94UJC/eN2BxRwx6tljD8DiXxjB0Zq7yyZW Sf8f/HRpXYgynBbbk603EiPMW8Zd+0TY5EgFuekY0FhpzH3l4V+GyTpM6vwIPk/8f00v sWvBFYiogMo1ZFcmIsMGP5gNIaL2uhu5HwqdvsVLTfCXC8M9hcP5P2Wvn2wJI2eMI4cd hScg== 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=IxD/VahC2ClQ2iwWPMIUIAj7e4n1LQ8i/xcl4ceScZo=; fh=4083z7ABvKvDuZJJzOuPvPAF5pf/SDHw8WtIMxQq69s=; b=LQjfBKih7PLwQ4SVB1PQMCPa7qTRtHFTHNfrEtENHaM/cosKam2v0UYC9kiButs/gR ruYbzsYpIMr7SmKAKdYX8fpvCQ6LVFb6QualPRQ76HkaE+NPALiXJY55DpDVD7w78tgh w0jXGVXt4Zi8bHYI9VQg91MbVVbWZEb4js6jGpZdboBL9kO9ezwRLK1wYGZ7gM4JeJwA 0MiLOQFpUFGO35V2X+Egrb5zaPboZ4eRQWvWItyFPkNjZR2c9HPyGqYYg4FVnngv2dw7 C+/ODYfYI/cLcAAJ+wBSHATZf59va7TbCGUVnhE+iDz0AitylTXD0aV/o/3BwHPp3uJ1 TBYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IkuL8gdH; spf=pass (google.com: domain of linux-kernel+bounces-584-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-584-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. [147.75.48.161]) by mx.google.com with ESMTPS id c11-20020aa78c0b000000b006cd8567235bsi12278319pfd.237.2023.12.15.00.07.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 00:07:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-584-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IkuL8gdH; spf=pass (google.com: domain of linux-kernel+bounces-584-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-584-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 EA6D9B21A06 for ; Fri, 15 Dec 2023 08:07:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9ADCA11717; Fri, 15 Dec 2023 08:07:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="IkuL8gdH" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.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 867C6134A2 for ; Fri, 15 Dec 2023 08:07:41 +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-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-54c846da5e9so295829a12.3 for ; Fri, 15 Dec 2023 00:07:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702627660; x=1703232460; 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=IxD/VahC2ClQ2iwWPMIUIAj7e4n1LQ8i/xcl4ceScZo=; b=IkuL8gdHsOo1ykReLEththA0/6QdJYv2FQ3Vh0EpOYL2CJbiqIe7xIFHVa5CgtVkjo yl8ha9Kf+XLzj/7lcPR0ezFH8XfobYwyboPL0UthyW0ITd+dgJXa9BRukjVeZCOLI0SB hS9e7rQ8oGPQh0NcyZQQo9G6dv/OjSLD5kO+KbFG3ZxWnJeBNBZISS6ICFYeftiBB/np yNMUv2vgW5cNPXTBvHwVbY5i4CQv5/ux5667GS8h9z6Q7UR3U3jfeZQChgaE1Le989Kl AdS+/MrU8gviCRvhV+TQU9CsGZSwsrov/8TXbkL26S4ECLD+5uQb/yZ2/8a20U17Uan4 K5Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702627660; x=1703232460; 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=IxD/VahC2ClQ2iwWPMIUIAj7e4n1LQ8i/xcl4ceScZo=; b=OYDnVmVpdxEpNcLMo36lUx1ahWVyk0KnMMtSGrSiD2+nx9Xs3rAbbLbh+SA9PXVYLc WMyh58UAHWjmtnOt7WPflWHcC3jt8wfA9btLL9XwlUUVPKtQ04yqMSJ3PCyyhCWMu8mk AqZ9S4oaWboHXfcKZXQVjJXejwuvFyH6T0x3SNxAiaTBM/CRBLy1FXXuLH0+mhcIEjmx dzah/1jn25LwWd5QgxVHMPj1tE5Q8rooP0dQAGw49Brec5kcZoXM0EdbkYLMnvF+o/hf n2soh+mWBSCeWd1lbTpA+OR5QjH0zsMTFwdOukyhxzG0DbTtSqd5v/p/pXVI7UB4UB/n wuGQ== X-Gm-Message-State: AOJu0Yyc/sgCClyt/fPX00DkzbdaiksEJ6WO92yjYFhrYy/GqNfgYZcO p7WVrcmf094gboKZWbipQP7aZA== X-Received: by 2002:a50:d50b:0:b0:552:72cf:1cf6 with SMTP id u11-20020a50d50b000000b0055272cf1cf6mr1157693edi.27.1702627659874; Fri, 15 Dec 2023 00:07:39 -0800 (PST) Received: from [192.168.1.20] ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id s28-20020a50ab1c000000b0054c6b50df3asm7881111edc.92.2023.12.15.00.07.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 Dec 2023 00:07:39 -0800 (PST) Message-ID: Date: Fri, 15 Dec 2023 09:07:36 +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 11/13] arm64: dts: exynos: gs101: enable eeprom on gs101-oriole Content-Language: en-US To: Sam Protsenko , Tudor Ambarus , krzysztof.kozlowski+dt@linaro.org Cc: peter.griffin@linaro.org, robh+dt@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, conor+dt@kernel.org, andi.shyti@kernel.org, alim.akhtar@samsung.com, gregkh@linuxfoundation.org, jirislaby@kernel.org, catalin.marinas@arm.com, will@kernel.org, s.nawrocki@samsung.com, tomasz.figa@gmail.com, cw00.choi@samsung.com, arnd@arndb.de, andre.draszik@linaro.org, saravanak@google.com, willmcvicker@google.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, linux-serial@vger.kernel.org References: <20231214105243.3707730-1-tudor.ambarus@linaro.org> <20231214105243.3707730-12-tudor.ambarus@linaro.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+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy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Gs/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 14/12/2023 16:55, Sam Protsenko wrote: > On Thu, Dec 14, 2023 at 4:53 AM Tudor Ambarus wrote: >> >> Enable the eeprom found on the battery connector. >> >> Signed-off-by: Tudor Ambarus >> --- >> .../boot/dts/exynos/google/gs101-oriole.dts | 18 ++++++++++++++++++ >> 1 file changed, 18 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts >> index 4a71f752200d..11b299d21c5d 100644 >> --- a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts >> +++ b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts >> @@ -63,6 +63,19 @@ &ext_200m { >> clock-frequency = <200000000>; >> }; >> >> +&hsi2c_8 { >> + pinctrl-names = "default"; >> + pinctrl-0 = <&hsi2c8_bus>; >> + #address-cells = <1>; >> + #size-cells = <0>; > > Not sure if those 4 above properties belong in board's dts or in SoC's > dtsi. Krzysztof, what do you think? The cells should be in DTSI, because you cannot have an enabled i2c bus without nodes in normal cases. The not-normal case is incomplete description, which does not happen here. The pinctrls I guess as well in DTSI, because you do not customize the pins in the DTS. IOW, if the pinctrl nodes are coming from shared pinctrl.DTSI, then pinctrl-0/names stay in DTSI as well. Best regards, Krzysztof