Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5814812rdb; Wed, 13 Dec 2023 23:25:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IFXFxRF+2DGT8CN7lp66YbIOG8gAzEsBUt8VqsT0sifxWWFVAGpnY+WCU8O/z0ZAnE/Ye7d X-Received: by 2002:a0d:f883:0:b0:5d7:1941:356d with SMTP id i125-20020a0df883000000b005d71941356dmr6722169ywf.84.1702538706578; Wed, 13 Dec 2023 23:25:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702538706; cv=none; d=google.com; s=arc-20160816; b=lTLD/L3nH81IsnhlwisqD9uIIg9IHx3dZz46M3qjJih8h44B8jPjiWEgdSeaeRBadH 6EYPUGd6T7ZQ2PnNnql5QCKhqg5jlzWnwSDsAmDEWHv3WZUMVmHP/bQw0PTiEydDlnRg pvQRIeFYO8AFyvmHgqSYUfeM65yy+JR+NIN1qZ2dI0UpeS2zjWSe2OI9PIQEV2q0Zp8D WU6GyatJBaJSLJvVpALYnylxbo/CDcCTeyumRwcLQawY0GPMDX4JNOuP9ibIURpDx/lT x4SHsVwuMnix6mAPbeBWNb9VYKuiC6+kCy1JtEMYMN2jaJE4r96tNzTZVVM+6TFM3SJm g+6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=FC44dyY+Ke7P64YuM+T2OSFN4w0vxiPwWw2ccDn9I8w=; fh=d78ycr4qsNGIr//cIJyXpssxzp/YSu906AQIY3BUidQ=; b=yy8G1V6L+hLX6lwtwNIj0ygJODsWBmiIC2z022nEKULRCS9wh3SZi+y5yoSgsX868j hqf9pZo5eYHaVGM8KLDviKArDcVuW3xP7sTNu9KTR+eMFSRQIpffG6ZxPCHceYaihLbY lX8z6UIf6cfIWQKo5/k0cqhBdYwnyh8d4nZJW6dRM5mp0NZJIlUnzBFBTgLXpWD+wvhb gQpMvKT83mlQIZWJs4Z2Hnf5vIdixiqtbqJEAc7CTbTwE4odg0+5h+oiqNDZtjimSFCI 8lsnT1F+MOmW/WqD6EzLi7yxlGvdsKWU/BGVgLVFZ2yOylWmEFQ/eS/4n5RqFmuxxXO0 Z/EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wyypiCbF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id bj10-20020a170902850a00b001d3535e36d0si2043361plb.263.2023.12.13.23.25.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 23:25:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wyypiCbF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 04C0B82DFD3C; Wed, 13 Dec 2023 23:25:04 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443280AbjLNHYu (ORCPT + 99 others); Thu, 14 Dec 2023 02:24:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234377AbjLNHYt (ORCPT ); Thu, 14 Dec 2023 02:24:49 -0500 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C337B9 for ; Wed, 13 Dec 2023 23:24:55 -0800 (PST) Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-336447f240cso499790f8f.3 for ; Wed, 13 Dec 2023 23:24:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702538693; x=1703143493; 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=FC44dyY+Ke7P64YuM+T2OSFN4w0vxiPwWw2ccDn9I8w=; b=wyypiCbFPAxb2b3/HaXe6PBHQrvxiqLwGTEhicOIdOO8XzceLRC80aD2CBf+m5S24b ULadti9AVW9jM1u4hMJg2Q1fX2h+eS31IpYecTqmPuaaVGJTi8DdgOLJfEB5BCIEx1fb wuYEDBavbeTE3buvAgfk1sWr4XyEhpEM0BVcufmwPRwkM7l+i546YIvwMOCO/7y6lo0H 8EZ6O27dyK1I/CG2htlDFlDYNN8sliK38q+DaVU4GNs7txu/llO1s+05zUUcp4lDFJWS lgucqSr8RMzUHpiLCFA5wBn8Zo+Ccce7RJvFe5ulFGll4gDFITydIijZ85B/iTtzPOxp TC9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702538693; x=1703143493; 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=FC44dyY+Ke7P64YuM+T2OSFN4w0vxiPwWw2ccDn9I8w=; b=b2eWqG/Uba/O8AZaJmXBh/ywraCV0ztI1iXvKURuGlIXvRiQYD9ULdoHYUcesHEtbF Yv29TEd7bmy/GFN78HPvuY/ZTLVPlo/rXtYwu6oEtwFMDMU8f3AyQSpAFsdrb/WoSjRo F5R+kwejw9/7V0grvJ4l8NbkmgS3OvF3bPpRE0Yc2Mq64RQF/1g6qOVAFHQIR8rNoJ2O BJek7A8zq8aAc3vgmIQi+o0UXBFqnFM7D3wtdLyZk/xfn2HtHVepAc6dqrtwZosj7QnX 993ABlmXyxbjYZ5EMkJueMm0+ZyNWkNUZuhf3yFogxJlhfpc63kC3457jF8jkn+XYa+d OJEg== X-Gm-Message-State: AOJu0Yy8IL3mjNYP+DNvH2HeT7LH3+683Y5MPKWDah4UYNIJ6Lp3G6WV 9az7iQqoEVI/p1/aylkDjFPsJg== X-Received: by 2002:a05:600c:4507:b0:40c:2b2b:6429 with SMTP id t7-20020a05600c450700b0040c2b2b6429mr4612221wmo.67.1702538693326; Wed, 13 Dec 2023 23:24:53 -0800 (PST) Received: from [192.168.1.20] ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id h2-20020a05600c350200b0040c44b4a282sm15575290wmq.43.2023.12.13.23.24.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Dec 2023 23:24:52 -0800 (PST) Message-ID: <1c5ace65-2fd8-4503-b22f-e0f564d1c83f@linaro.org> Date: Thu, 14 Dec 2023 08:24:50 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 8/8] ARM: dts: aspeed: System1: PS, sensor and more Content-Language: en-US To: Ninad Palsule , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, peterhuewe@gmx.de, jarkko@kernel.org, jgg@ziepe.ca, keescook@chromium.org, tony.luck@intel.com, gpiccoli@igalia.com, johannes.holland@infineon.com, linux@roeck-us.net, broonie@kernel.org Cc: patrick.rudolph@9elements.com, vincent@vtremblay.dev, peteryin.openbmc@gmail.com, lakshmiy@us.ibm.com, bhelgaas@google.com, naresh.solanki@9elements.com, alexander.stein@ew.tq-group.com, festevam@denx.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org, linux-hardening@vger.kernel.org, geissonator@yahoo.com References: <20231212164004.1683589-1-ninad@linux.ibm.com> <20231212164004.1683589-9-ninad@linux.ibm.com> <5b98538a-8ffe-42ec-b020-514dcfcebba3@linaro.org> <44abff4a-0a8e-499b-8b98-a4a1680cb431@linux.ibm.com> <427fa99c-764c-4d6a-b9f1-cd9089710d5e@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+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex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GXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 13 Dec 2023 23:25:04 -0800 (PST) On 13/12/2023 20:49, Ninad Palsule wrote: > Hello Krzysztof, > > On 12/13/23 13:37, Krzysztof Kozlowski wrote: >> On 13/12/2023 20:02, Ninad Palsule wrote: >>> Hello Krzysztof, >>> >>> On 12/12/23 14:26, Krzysztof Kozlowski wrote: >>>> On 12/12/2023 17:40, Ninad Palsule wrote: >>>>> This drop adds following devices in the device tree. >>>>> - EEPROM/VPD >>>>> - Power supplies >>>>> - Humidity, pressure and temperature sensors. >>>>> - Trusted platform module(TPM) chip >>>>> >>>>> Tested: >>>>> This board is tested using the simics simulator. >>>>> >>>>> Signed-off-by: Ninad Palsule >>>>> --- >>>> Don't mix DTS with drivers. DTS and drivers go via different subsystems >>>> and cannot have dependencies, so why DTS is patch #6, then driver #7 and >>>> now again DTS #7? >>> There is a dependency on driver code as patch #8 uses the compatibility >>> string added in driver patch #7.  I have now moved driver patch at the >>> start. Is that ok? OR you are suggesting something else? >> First, there is no dependency. Second, except confusing order anyway DTS >> will go via separate trees. Third, again, there is no dependency. If >> there is, your patchset is broken and this needs to be fixed. Although I >> don't understand how new hardware can depend on driver... it's really odd. > > Thanks for the quick response. > > This board uses the nuvoton TPM device. The tpm devices uses > "nuvoton,npct75x" driver hence we added it in the device tree. If the > driver doesn't have this compatibility string then it won't load. So if > someone tries to use this board then tpm won't work unless the ... and if there is no board it also fails to load. > compatibility string is added in the driver. That is the dependency I am > talking about. This is not a dependency! It's unrelated. Best regards, Krzysztof