Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755389AbbLQAzj (ORCPT ); Wed, 16 Dec 2015 19:55:39 -0500 Received: from mail-lb0-f171.google.com ([209.85.217.171]:34729 "EHLO mail-lb0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755605AbbLQAzg (ORCPT ); Wed, 16 Dec 2015 19:55:36 -0500 MIME-Version: 1.0 In-Reply-To: <1450219138-5868-1-git-send-email-Suravee.Suthikulpanit@amd.com> References: <1450219138-5868-1-git-send-email-Suravee.Suthikulpanit@amd.com> Date: Wed, 16 Dec 2015 16:55:34 -0800 Message-ID: Subject: Re: [PATCH] i2c: designware: Do not require clock when SSCN and FFCN are provided From: Loc Ho To: Suravee Suthikulpanit Cc: Mika Westerberg , wsa@the-dreams.de, Ken Xue , linux-i2c@vger.kernel.org, linux-acpi@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 802 Lines: 21 Hi, > The current driver uses input clock source frequency to calculate > values for [SS|FS]_[HC|LC] registers. However, when booting ACPI, we do not > currently have a good way to provide the frequency information. > Instead, we can leverage the SSCN and FFCN ACPI methods, which can be used > to directly provide these values. > > So, this patch removes the clock requirement when SSCN and FFCN > are provided. > > Signed-off-by: Suravee Suthikulpanit Tested on X-Gene ACPI boot with updated FW and work just fine. -Loc -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/