Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp146910pxj; Fri, 7 May 2021 05:49:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXIPcXPalakBBMDLVnPtcSQbYN5zdTtfyOhPmosqKZ2yD306t8p8WFxZM7XVNGGyN+ruEN X-Received: by 2002:a62:d409:0:b029:27d:338:1cca with SMTP id a9-20020a62d4090000b029027d03381ccamr10003834pfh.25.1620391771999; Fri, 07 May 2021 05:49:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620391771; cv=none; d=google.com; s=arc-20160816; b=g07FkYOAlVM5ljTT5Do+taqv8eu9WKEMgcTXdeo3U9u6z1KzH5D76AsIBzMhpcMaOx /Y+LYmTtlMxO6UVUbRzIc9cuz8n9IptQcK8DXiMXtcBdMzwIqg6iu4kgSM5UC2hLgjWa XJrG0cp0rPPQOM4XaAYD4g1h3srBVCM2oGlgArGL80yxoDoPwB4Pdj3s+KuphN1CapCb XSF6GhhHFDAFkhRoZQP4zTUsMJO/ZtQD2O3BQzyFoEdgKRL8Q5+EmUTP8KlWBhpfz7DB FhdLSV1+1fKBluktVNzr0EQkiRV05/vvGCe+b5RRyDwwPwYTb9yvyDWWtj47rdzwEmX1 +WdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=h/FUaGR7HWY7/gyJoNHBT+6HuFVv+1wvyA2X02sq3wc=; b=ApOcJrYpdVw2IUtYODBQzJtSQPGsuFsefrU0uo3/BRHQEL8rvvKHgyPOn6CVWuaia/ lRGVSToR/nQ+PYCcgcYV2fH/weN+qXx7eoD+4CCTHgKw9g4SCiU1ptRTxzoN/x5WM+OQ lRN6a8k434GtzSkv7Z80XlE9Pgb8TVrKxMwJxjf5Z6m9yfzaOnB8rOhANoSqp1KzvXNw G/NPuMxllJaw+6Z+ksIjnTEesyKsETuCwQoZmfQdKUkl7gAzjfqNcMDRd3Iy3dXz4kwc 6J+YNadeuq8GjT312osGNX6W64YI0WBcJ0bxkyuLA4b0UPuvWam73l2NqFMJsFeKIv1n ipbg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z184si6959395pgz.69.2021.05.07.05.49.18; Fri, 07 May 2021 05:49:31 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236664AbhEGJ3K (ORCPT + 99 others); Fri, 7 May 2021 05:29:10 -0400 Received: from muru.com ([72.249.23.125]:52674 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236718AbhEGJ3J (ORCPT ); Fri, 7 May 2021 05:29:09 -0400 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id C13A480E0; Fri, 7 May 2021 09:17:49 +0000 (UTC) From: Tony Lindgren To: linux-omap@vger.kernel.org Cc: Dave Gerlach , Faiz Abbas , Greg Kroah-Hartman , Grygorii Strashko , Keerthy , Nishanth Menon , Suman Anna , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Naresh Kamboju Subject: [PATCH] bus: ti-sysc: Fix missing quirk flags for sata Date: Fri, 7 May 2021 12:17:44 +0300 Message-Id: <20210507091744.19753-1-tony@atomide.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Naresh Kamboju reported that Beaglebone-X15 does not detect sata drives any longer after dra7 was flipped to boot with device tree data only. Turns out we are now missing the sata related quirk flags in ti-sysc that we used to have earlier. Fixes: 98feab31ac49 ("ARM: OMAP2+: Drop legacy platform data for dra7 sata") Fixes: 21206c8f2cb5 ("ARM: OMAP2+: Drop legacy platform data for omap5 sata") Link: https://lore.kernel.org/regressions/CA+G9fYtTN6ug3eBAW3wMcDeESUo+ebj7L5HBe5_fj4uqDExFQg@mail.gmail.com/ Reported-by: Naresh Kamboju Tested-by: Naresh Kamboju Signed-off-by: Tony Lindgren --- drivers/bus/ti-sysc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c --- a/drivers/bus/ti-sysc.c +++ b/drivers/bus/ti-sysc.c @@ -1455,6 +1455,8 @@ static const struct sysc_revision_quirk sysc_revision_quirks[] = { SYSC_QUIRK_SWSUP_SIDLE | SYSC_QUIRK_SWSUP_MSTANDBY), SYSC_QUIRK("tptc", 0, 0, -ENODEV, -ENODEV, 0x40007c00, 0xffffffff, SYSC_QUIRK_SWSUP_SIDLE | SYSC_QUIRK_SWSUP_MSTANDBY), + SYSC_QUIRK("sata", 0, 0xfc, 0x1100, -ENODEV, 0x5e412000, 0xffffffff, + SYSC_QUIRK_SWSUP_SIDLE | SYSC_QUIRK_SWSUP_MSTANDBY), SYSC_QUIRK("usb_host_hs", 0, 0, 0x10, 0x14, 0x50700100, 0xffffffff, SYSC_QUIRK_SWSUP_SIDLE | SYSC_QUIRK_SWSUP_MSTANDBY), SYSC_QUIRK("usb_host_hs", 0, 0, 0x10, -ENODEV, 0x50700101, 0xffffffff, -- 2.31.1