Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp276131pxu; Tue, 6 Oct 2020 06:15:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQIzycstU7PAxVRLOFLDWqYNyG8BBBPeBZKve6WSg88GM7CxfX+vCH+r9pP7NlI3ceqOWB X-Received: by 2002:a17:906:4b10:: with SMTP id y16mr5283579eju.395.1601990117848; Tue, 06 Oct 2020 06:15:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601990117; cv=none; d=google.com; s=arc-20160816; b=PPeVq7cHwQCRySUuFCW73tl+rmrDA5fy+PgDFhUFUcJd2slbYUNaA8JKz45RXBfl4T g5B4MBZdiG3SkVmlrWIJoym3h2l1uRpPZqQXoITfOhLqbbRiEyA8tMqRM+L9osBq5C6J VrvRGMmg4FOVsUOXOnKikzNVMM1eWkIMOiHAyJq9SMIQnoNttLrjdzCyjNH2K+DgZsJL rW0Zj03qwlYeL0+JUoxYHleBXA5dTSs4kh/l3ieFEPTCDIyrmyvSHeuwhJSC/f4XtBMd mcG/6fZzaixbBB7rggqtLd425sJ0LyTCSCCKNVD8HmWX98ksY9UPGtv2S4hFDUOP/RvL H+rQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=wXYej7kHKz/S7upJVmm0fCftqCmHyaYzVlDlMTvs1Mc=; b=kF1rPE4NdJ0iS3wxQnLzzdsT/C59JTcCFIMzNtBP2NDVe2o54y/ebFMa3yE7IUM3jO QFDfFTUBcgaDIxQtaAxzy3UuhrQsis4a5UuiSuQCXSq1wdG8hUEmAdXn2zkHrPIOGObU IbyqC7CYrN7q7mR9MIqjJ+GqQ6jiBGhnGs+Y1wCeH3fQfg7zUt5/W0/V+Puip+GSNiI6 jhdt3RLV5lVbwq1rc8iklJVV3dlGDmh/QOORBiL/n0zQ+e3P3d9809KR5TLNXz55bLFw KFWZ1bJKXm7/QBPhs2HaCexkH++7Iqhz8VXYEmtKSi1bFtlZHXoRv4Ndg99srUr2VrYR OxgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=azraLYS2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b12si2432913edv.217.2020.10.06.06.14.52; Tue, 06 Oct 2020 06:15:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=azraLYS2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726105AbgJFNK6 (ORCPT + 99 others); Tue, 6 Oct 2020 09:10:58 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:37330 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725902AbgJFNK6 (ORCPT ); Tue, 6 Oct 2020 09:10:58 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 096DAqjP067210; Tue, 6 Oct 2020 08:10:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1601989852; bh=wXYej7kHKz/S7upJVmm0fCftqCmHyaYzVlDlMTvs1Mc=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=azraLYS2AZaJwnVgtxF/BL2MfkCgBc0+OOrGQwHUsde8qV7vdMzV/KAeFqMDQHPCT TysCDaze8mZOlTzJDVzCKF9VM691GyGCrBc1l65J5NjjIlBrn6W3st48skCQArOExT bNL0iKlGXPFmDG1F/OSdFBzfHSvQrB/ddId1y7qA= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 096DAq0I010328 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 6 Oct 2020 08:10:52 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Tue, 6 Oct 2020 08:10:52 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Tue, 6 Oct 2020 08:10:52 -0500 Received: from [127.0.0.1] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 096DAn1b112932; Tue, 6 Oct 2020 08:10:50 -0500 Subject: Re: [PATCH 0/2] Enable GPIO and I2C configs for TI's J721e platform To: Faiz Abbas , , CC: , , References: <20201002164535.9920-1-faiz_abbas@ti.com> <68cadd9b-63b1-caaf-080c-e2f346f4a908@ti.com> From: Tero Kristo Message-ID: Date: Tue, 6 Oct 2020 16:10:48 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/10/2020 16:03, Faiz Abbas wrote: > Hi Tero, > > On 06/10/20 5:21 pm, Tero Kristo wrote: >> On 02/10/2020 19:45, Faiz Abbas wrote: >>> The following patches enable configs in the arm64 defconfig to support >>> GPIO and I2C support on TI's J721e platform. >>> >>> Faiz Abbas (2): >>>    arm64: defconfig: Enable OMAP I2C driver >>>    arm64: defconfig: Enable DAVINCI_GPIO driver >>> >>>   arch/arm64/configs/defconfig | 2 ++ >>>   1 file changed, 2 insertions(+) >>> >> >> Why are you enabling these? >> >> Are they required for booting the board? >> >> If not, they shall not be enabled, as it just clutters the arm64 defconfig unnecessarily. >> > > They are required because the SD card regulators need gpio over i2c expander and also > soc gpio support to come up in UHS modes. Is that needed for boot support? If it is only needed with UHS cards, that does not seem important enough for me. We can already boot the board via other means. > > But in general isn't any feature we add supposed to be enabled in the arm64 defconfig? That is debatable, as it just increases the kernel size / build time for everybody. Personally I would merge only things that are absolutely necessary, for everything else we can just do local config modifications. -Tero -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki