From patchwork Wed Dec 5 15:47:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pawe=C5=82_Chmiel?= X-Patchwork-Id: 1008311 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Vqljcg9/"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43937p3gCpz9s9G for ; Thu, 6 Dec 2018 02:49:26 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727242AbeLEPtT (ORCPT ); Wed, 5 Dec 2018 10:49:19 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:39781 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727182AbeLEPsz (ORCPT ); Wed, 5 Dec 2018 10:48:55 -0500 Received: by mail-lf1-f67.google.com with SMTP id n18so15085207lfh.6; Wed, 05 Dec 2018 07:48:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9L2+CVANdZAcHlH3j7zugmIYOp+Qy1cAg2SLh+SXYOo=; b=Vqljcg9/X5XMvKKqk1gZMEUyHr2uWAm8DQhvwQn0AH+dzwVQ1DucFwdLifgMaKXEce 4syv101e+skm0a6Vm2ovzEhQYIQCt8iFSil2FI4mEbCwNWn8wvxe4ZX7sKXWRu9cRtva zpNgKO2zBfQx+Krjc2fySg2URI3x99UQbE/JmWWdHmt7+2PkdQe1geITHUYQrS6xm7rz EBGtw7LqtlUF8uTsixsbvdoEFPO7VIWF5XodXWlQ7TRMCf3gHleB2uenyWAm6wouf7jM tEbqrt39O+oSkNnWc16152kLZFgn+AHEMhvS2KlFKZCK2w1gEOzrnqAamCdpHexHdPVA untg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9L2+CVANdZAcHlH3j7zugmIYOp+Qy1cAg2SLh+SXYOo=; b=bg/NywASOd0c6WvQ5ZazOyz91dDPNJgh1WAgamV+QHZ2HdxtiUNpdAKgnqMbv8VShj H5B0525hk/FwX+KFHP1g7an5dhuxYDJ5A3++b8Tun2Ta61/+NEUIo7NWvooN4BBHSzdc lKhgxPmsiYquYlpVnIRVPhES0FJrjHsKVPVQ/QGbrw2FRfqxyKy6y263UiWivsL1RXAS 41W0lWn7Y9jC1+8MItLRMihSlOSw2Xx7zEi5ZrA7MNtTQ4Mw8Ej7zn0okjQnU/pnidXD pxBNHQ8BPF3Oph3rYVCwRS1J/3JJovcfzUw5iT6yXhQFAzq/lQmVr/WyPCwKxaVxmOoV U32Q== X-Gm-Message-State: AA+aEWYEEQICTWPWWBZvhoUQdZ3WUFlx31c7uxN1CnrLzyicyddQZ+tr gfhL5MXViw6xM8TO84VxItM= X-Google-Smtp-Source: AFSGD/UmkQ6ktc0sR5RmMRLoBJNDU4jkhAi8d2EWCndMUfHsjeSWYaSG724O1pYs+07Thvh7N/43Vg== X-Received: by 2002:a19:a84e:: with SMTP id r75mr15316352lfe.45.1544024932799; Wed, 05 Dec 2018 07:48:52 -0800 (PST) Received: from localhost.localdomain ([2a02:a315:5445:5300:41e8:260c:942a:b736]) by smtp.googlemail.com with ESMTPSA id t18sm3592517lft.93.2018.12.05.07.48.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Dec 2018 07:48:52 -0800 (PST) From: =?utf-8?q?Pawe=C5=82_Chmiel?= To: mchehab@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: hverkuil@xs4all.nl, fischerdouglasc@gmail.com, keescook@chromium.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, =?utf-8?q?Pawe=C5=82_Chmiel?= Subject: [PATCH 2/5] media: dt-bindings: Add binding for si470x radio Date: Wed, 5 Dec 2018 16:47:47 +0100 Message-Id: <20181205154750.17996-3-pawel.mikolaj.chmiel@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181205154750.17996-1-pawel.mikolaj.chmiel@gmail.com> References: <20181205154750.17996-1-pawel.mikolaj.chmiel@gmail.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add device tree bindings for si470x family radio receiver driver. Signed-off-by: Paweł Chmiel --- .../devicetree/bindings/media/si470x.txt | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/si470x.txt diff --git a/Documentation/devicetree/bindings/media/si470x.txt b/Documentation/devicetree/bindings/media/si470x.txt new file mode 100644 index 000000000000..9294fdfd3aae --- /dev/null +++ b/Documentation/devicetree/bindings/media/si470x.txt @@ -0,0 +1,24 @@ +* Silicon Labs FM Radio receiver + +The Silicon Labs Si470x is family of FM radio receivers with receive power scan +supporting 76-108 MHz, programmable through an I2C interface. +Some of them includes an RDS encoder. + +Required Properties: +- compatible: Should contain "silabs,si470x" +- reg: the I2C address of the device + +Optional Properties: +- interrupts : The interrupt number + +Example: + +&i2c2 { + si470x@63 { + compatible = "silabs,si470x"; + reg = <0x63>; + + interrupt-parent = <&gpj2>; + interrupts = <4 IRQ_TYPE_EDGE_FALLING>; + }; +}; From patchwork Wed Dec 5 15:47:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pawe=C5=82_Chmiel?= X-Patchwork-Id: 1008310 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="O69PUZ4g"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43937Z3nsgz9s9G for ; Thu, 6 Dec 2018 02:49:14 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728051AbeLEPtH (ORCPT ); Wed, 5 Dec 2018 10:49:07 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:44988 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727606AbeLEPs7 (ORCPT ); Wed, 5 Dec 2018 10:48:59 -0500 Received: by mail-lj1-f193.google.com with SMTP id k19-v6so18745650lji.11; Wed, 05 Dec 2018 07:48:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ivIcikaxHVAK7mUKBs+IidxAX11DCTBttjZ73Q5l9Y0=; b=O69PUZ4gEz81Z978y6YF0z07HixXdnrjTLNBxLcDTwIOkOLYfoQ+QwX1xwdGdymEdn XpuR+a9Y+UXUR0Kr51odq75tI7kzPQ+Y9ygYK0cInubYZlWZAA1hFfq+9slQEaj/deU1 H9IiBupU5BDw/aPOhXTlQAGfSWOb7gzRodajpxpTJYTJFSLR+0U3Y+oGMby5iSIH3sLT FcjTaKEga3PoRNBMwK1d+2g531tn4y6uW6y97E4ZeGTbABSRzvALGHlkHs6vz1I6FdTY 5OZvUKVp1NFd7YE+IKzvG/5zwP6PgNaGq1kVRwn0rhJBottvkHihVNG/oRNlH9mUY9G4 ySzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ivIcikaxHVAK7mUKBs+IidxAX11DCTBttjZ73Q5l9Y0=; b=Ua4kc+PVUaBwzqmeZK8uAc0BYuYzs91SBDs4Hx8xusDO5i4+yknEzBNCIfM+XXOyXY Mlb3viEDLtGrYcBPwgpW9+nT2WPQuNwAfdg0pN2KFb5Iif6Tc4ml1p6fO0J9Gmyx0ala nvdJW026AvXIRSkWtxlpkE6oc+nqgacayO8NCGVbiuYCM3gpYwS9oFnQF67P6DYz+3C1 hVonotAg75oZufBvA/7i1Bmnqvt3q4ZkqPXry1JhEZoacIlzmQ4bBxvcgsfZ2LKS0AWr /VE1HOeKIDihKhK2Y5akj3J2OIB0Nlk2x3GAPNdkJnx2a3T0XqwcrlxMBandNxpKucgS AN1w== X-Gm-Message-State: AA+aEWbqwRPspNBUVGd0Yy1JOQMR32rD0JJVh2g429yXdI68/Ghx8ac4 bl+qH1VoZiP8/GYMFqm/xFQ= X-Google-Smtp-Source: AFSGD/WGM9LTKHZgWDG//XgKnLvPaK6vCCJF/1q1SDmuxWStclNijb5F5Db/zu+1Z56dBXo5wNw+Eg== X-Received: by 2002:a2e:8045:: with SMTP id p5-v6mr15643880ljg.87.1544024937047; Wed, 05 Dec 2018 07:48:57 -0800 (PST) Received: from localhost.localdomain ([2a02:a315:5445:5300:41e8:260c:942a:b736]) by smtp.googlemail.com with ESMTPSA id t18sm3592517lft.93.2018.12.05.07.48.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Dec 2018 07:48:56 -0800 (PST) From: =?utf-8?q?Pawe=C5=82_Chmiel?= To: mchehab@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: hverkuil@xs4all.nl, fischerdouglasc@gmail.com, keescook@chromium.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, =?utf-8?q?Pawe=C5=82_Chmiel?= Subject: [PATCH 5/5] media: dt-bindings: si470x: Document new reset-gpios property Date: Wed, 5 Dec 2018 16:47:50 +0100 Message-Id: <20181205154750.17996-6-pawel.mikolaj.chmiel@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181205154750.17996-1-pawel.mikolaj.chmiel@gmail.com> References: <20181205154750.17996-1-pawel.mikolaj.chmiel@gmail.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add information about new reset-gpios property to driver documentation Signed-off-by: Paweł Chmiel Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/media/si470x.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/media/si470x.txt b/Documentation/devicetree/bindings/media/si470x.txt index 9294fdfd3aae..a9403558362e 100644 --- a/Documentation/devicetree/bindings/media/si470x.txt +++ b/Documentation/devicetree/bindings/media/si470x.txt @@ -10,6 +10,7 @@ Required Properties: Optional Properties: - interrupts : The interrupt number +- reset-gpios: GPIO specifier for the chips reset line Example: @@ -20,5 +21,6 @@ Example: interrupt-parent = <&gpj2>; interrupts = <4 IRQ_TYPE_EDGE_FALLING>; + reset-gpios = <&gpj2 5 GPIO_ACTIVE_HIGH>; }; };