From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CCB32C433F5 for ; Tue, 5 Apr 2022 12:49:40 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D793383ADC; Tue, 5 Apr 2022 14:49:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="kRRkEa24"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 09D7583B38; Tue, 5 Apr 2022 14:49:35 +0200 (CEST) Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2DFFA83952 for ; Tue, 5 Apr 2022 14:49:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id EC14BCE1D43; Tue, 5 Apr 2022 12:49:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0EDB8C385A1; Tue, 5 Apr 2022 12:49:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649162959; bh=/TKbPo86guUAo2jqDCoWrffZqc5mCxY95vHFtzRpUfc=; h=From:To:Cc:Subject:Date:From; b=kRRkEa24Khm54Gp9+IXsfJ7kUAvCYLVMP6TYJWLONb/vzefLkwoEarYd5RisXaqUX Fy6o/f2wIPtyj+lWb0p7BwkxHql8ic3v+UN06bE7VCVfzMyunR220n92c7y2HEdjyL 62K+ynXTdfoIQ/D+WMM2K807TE1PTyxw/7/nHmKbzeN7pwz7tih+jXzvRG/BfPngob bgOXEsmKHVNjGC4+f2N93I88KfkT6a/+W4pWpH7X3T9PViVyr/GiXXCXKhkxC4bS2y i90V6n9TcefhbXRRJvJ3Cu6dBivv0EMchqQtSxVoEECx3mOWVNrnu2hS3+GUkY24ij i2iY7etEEBCyA== Received: by pali.im (Postfix) id 21BC97B2; Tue, 5 Apr 2022 14:49:16 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Adrian Fiergolski , =?UTF-8?q?Marek=20Beh=C3=BAn?= Cc: Wolfgang Denk , Simon Glass , Stefan Roese , u-boot@lists.denx.de Subject: [PATCH] misc: atsha204a: Add support for atsha204 chip Date: Tue, 5 Apr 2022 14:49:08 +0200 Message-Id: <20220405124908.32019-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean atsha204 chip is predecessor of atsha204a chip. Current U-Boot driver atsha204a-i2c.c can use both atsha204 and atsha204a chips because it does not call specific functions to just one of these chips. So just add compatible string for atsha204. Signed-off-by: Pali Rohár --- drivers/misc/atsha204a-i2c.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/atsha204a-i2c.c b/drivers/misc/atsha204a-i2c.c index 63fe541dade3..8b0055f99893 100644 --- a/drivers/misc/atsha204a-i2c.c +++ b/drivers/misc/atsha204a-i2c.c @@ -399,6 +399,7 @@ static int atsha204a_of_to_plat(struct udevice *dev) } static const struct udevice_id atsha204a_ids[] = { + { .compatible = "atmel,atsha204" }, { .compatible = "atmel,atsha204a" }, { } }; -- 2.20.1