Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1151702pxu; Thu, 8 Oct 2020 04:50:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBN4STYBr5D995ZDl/wyt6jDdbUoeGzN1p7Uw/8ByHngC4RRxshiCEHu5uYXZrGK77ZvnF X-Received: by 2002:aa7:c1da:: with SMTP id d26mr8332103edp.135.1602157859204; Thu, 08 Oct 2020 04:50:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602157859; cv=none; d=google.com; s=arc-20160816; b=NBaBfUSdWav+F2ToHgXslbMmr0DVtLrGujb4KG9sZzRmEf8sT5qActHGr3YkneOQiK 7VnXvUkNjrv/MQ3GLsXJjxPlocCeI9qSPTGBOhy0g0RPNeqX1+Cdv7vWJljshghZrxs9 8uJHcSOwfuZgv/xABYJM/WGV6Z5VE1xt50t7Erw8M7Q27jHgpKy8ah53DYGCg9KQJ3Jr yVGbHs7uQLGvJvFCsIaGqPDFgEy7yeMWObv0vEtmT+U83o5GVgcrrqVgnelgk9vfxqIg bI94Hzif2IXPZBpkbgxHllmNGzDvkCHkGlGN2l9J1OhACwn/oVz6Aq/f3or3exlEL1Zh GWig== 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=21oQ75JE5XwVPKHNqPU6RzI4lViOQrmwirX2BSJwmPA=; b=iqpfbrxjUenGGaYtXRxBH95w4Bh/MxEI+3O7ULlJqtNaPpmn3zB3yGMeZ0OrQehSAg sMh+oNfIlZ1gyYmi+tK1LoN39g0UirOEKS82IC7Sc8JQv4+HwgyjE+HNTqjxBAJwzVOp RNbT0n/kJbCb2AtkSzJorCdrgGJnLQC1DaTgDrd0ClFfZMWISQx+JvBdnyZrFyTMGBAV kvmZCmACPiwRjuGwlVSd47MTSUIN9RGouid3rhlx0uv+qQX0dUA5N/CWyg/2XkH1e9Wj NUASCP6KkddJxUiPcBvajanFYvfYG11IRTrkzclj/KhifG7hwPFp6PtqLLsdPE29ratK KBhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=HYAPIO0g; 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 w17si3723124ejk.629.2020.10.08.04.50.36; Thu, 08 Oct 2020 04:50:59 -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=HYAPIO0g; 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 S1728969AbgJHLGo (ORCPT + 99 others); Thu, 8 Oct 2020 07:06:44 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:48242 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725852AbgJHLGo (ORCPT ); Thu, 8 Oct 2020 07:06:44 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 098B6Zug008842; Thu, 8 Oct 2020 06:06:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1602155196; bh=21oQ75JE5XwVPKHNqPU6RzI4lViOQrmwirX2BSJwmPA=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=HYAPIO0gKevPIf0wlneT15CYFZdAlptqwhvfAoH3DJQ7HCyZeu459WZaWUMM4Hcmg YuSGpyWz84NiX/bruD+EApv0Z2PuhXACHONvB5VpD2cAeddhfjyP5Fo4dDGCi3kt/5 v24s/ajJlAyVv+IV0N4FhXKfascc6O0vqifZxWwI= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 098B6ZPE019620 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 8 Oct 2020 06:06:35 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Thu, 8 Oct 2020 06:06:35 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE102.ent.ti.com (10.64.6.23) 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; Thu, 8 Oct 2020 06:06:35 -0500 Received: from [127.0.0.1] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 098B6XTu009332; Thu, 8 Oct 2020 06:06:34 -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> <0b46dc95-6778-7f01-395a-8d4eaf33b0f7@ti.com> <51978593-fe09-3740-ef90-deac8ef3d2f2@ti.com> <142b9d12-ea65-320f-aef9-583389aabb3e@ti.com> From: Tero Kristo Message-ID: <83e519f3-b8e4-6fe7-2e0b-de7a5484f2b6@ti.com> Date: Thu, 8 Oct 2020 14:06:33 +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: <142b9d12-ea65-320f-aef9-583389aabb3e@ti.com> 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 08/10/2020 12:40, Faiz Abbas wrote: > Tero, > > On 08/10/20 2:49 pm, Tero Kristo wrote: >> On 08/10/2020 11:59, Faiz Abbas wrote: >>> Tero, >>> >>> On 06/10/20 6:40 pm, Tero Kristo wrote: >>>> 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. >>> >>> Without these configs, the regulator drivers keep EPROBE_DEFERing waiting for their gpio drivers >>> to probe and SD card never comes up. This configuration happens before any UHS capabilities are detected. >>> >>> [    1.326654] sdhci-am654 4fb0000.sdhci: _devm_regulator_get id:vmmc ret:-517 >>> [    1.333651] sdhci-am654 4fb0000.sdhci: _devm_regulator_get id:vqmmc ret:-517 >>> [    1.340693] sdhci-am654 4fb0000.sdhci: sdhci_am654_probe ret:-517 >>> [    1.489088] sdhci-am654 4fb0000.sdhci: _devm_regulator_get id:vmmc ret:-517 >>> [    1.496067] sdhci-am654 4fb0000.sdhci: _devm_regulator_get id:vqmmc ret:-517 >>> [    1.510392] sdhci-am654 4fb0000.sdhci: sdhci_am654_probe ret:-517 >>> [    1.543210] sdhci-am654 4fb0000.sdhci: _devm_regulator_get id:vmmc ret:-517 >>> [    1.550186] sdhci-am654 4fb0000.sdhci: _devm_regulator_get id:vqmmc ret:-517 >>> [    1.568134] sdhci-am654 4fb0000.sdhci: sdhci_am654_probe ret:-517 >> >> This happens because you have merged/enabled UHS support or? This sounds like a regression as I haven't seen this happen before. >> > > Thats right. The EPROBE_DEFERs will happen if my patches enabling UHS modes here are merged. I need to repost them for v5.11-rc1: > https://lore.kernel.org/linux-arm-kernel/20201001190541.6364-1-faiz_abbas@ti.com/ Ok I think that would be good enough reason to enable these by default as the MMC as boot media won't work anymore without them, and carrying the DTS patches would be just silly. Acked-by: Tero Kristo -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki